[arch-commits] Commit in adwaita-qt (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Fri May 13 21:50:51 UTC 2022


    Date: Friday, May 13, 2022 @ 21:50:51
  Author: arojas
Revision: 1203019

archrelease: copy trunk to community-x86_64

Added:
  adwaita-qt/repos/
  adwaita-qt/repos/community-x86_64/
  adwaita-qt/repos/community-x86_64/PKGBUILD
    (from rev 1203018, adwaita-qt/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: adwaita-qt/repos/community-x86_64/PKGBUILD (from rev 1203018, adwaita-qt/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2022-05-13 21:50:51 UTC (rev 1203019)
@@ -0,0 +1,46 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
+# Contributor: Victor Homic <aur (at) dothomic (dot) de>
+# Contributor: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
+# Contributor: Aniket Pradhan <aniket17133 (at) iiitd (dot) ac (dot) in>
+# Contributor: Martin Briza <m (at) rtinbriza (dot) cz>
+
+pkgbase=adwaita-qt
+pkgname=(adwaita-qt5 adwaita-qt6)
+pkgver=1.4.1
+pkgrel=3
+pkgdesc='A style to bend Qt applications to look like they belong into GNOME Shell'
+arch=(x86_64)
+url='https://github.com/FedoraQt/adwaita-qt'
+license=(GPL)
+makedepends=(cmake qt5-x11extras qt6-base)
+source=(https://github.com/FedoraQt/adwaita-qt/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('834f2caaf031306b63b31ad6fec489482feda35e9aa260f205cbb976cde97b1d')
+
+build() {
+  cmake -B build-qt5 -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUSE_QT6=OFF
+  cmake --build build-qt5
+
+  cmake -B build-qt6 -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUSE_QT6=ON
+  cmake --build build-qt6
+}
+
+package_adwaita-qt5() {
+  pkgdesc='A style to bend Qt5 applications to look like they belong into GNOME Shell'
+  depends=(qt5-x11extras)
+  replaces=(adwaita-qt)
+
+  DESTDIR="$pkgdir" cmake --install build-qt5
+}
+
+package_adwaita-qt6() {
+  pkgdesc='A style to bend Qt6 applications to look like they belong into GNOME Shell'
+  depends=(qt6-base)
+
+  DESTDIR="$pkgdir" cmake --install build-qt6
+}
+



More information about the arch-commits mailing list