aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Demelier <markand@malikania.fr>2020-04-11 15:47:31 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-20 18:44:39 +0000
commit36489f3a1cdf241520fb41bdbda494516813cae7 (patch)
tree169281e5fb0e4067850802574f59f68a1626baef
parentd177e0275a6d09a97f16fa0e5b1071f79c2bea38 (diff)
downloadaports-36489f3a1cdf241520fb41bdbda494516813cae7.tar.gz
aports-36489f3a1cdf241520fb41bdbda494516813cae7.tar.bz2
aports-36489f3a1cdf241520fb41bdbda494516813cae7.tar.xz
testing/adwaita-qt: new aport
https://github.com/FedoraQt/adwaita-qt style to bend Qt applications to look like they belong into GNOME Shell
-rw-r--r--testing/adwaita-qt/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/adwaita-qt/APKBUILD b/testing/adwaita-qt/APKBUILD
new file mode 100644
index 0000000000..f216ac89f2
--- /dev/null
+++ b/testing/adwaita-qt/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=adwaita-qt
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="style to bend Qt applications to look like they belong into GNOME Shell"
+url="https://github.com/FedoraQt/adwaita-qt"
+arch="all"
+license="GPL-2.0-only AND LGPL-2.1-only"
+makedepends="cmake qt5-qtbase-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/FedoraQt/adwaita-qt/archive/$pkgver.tar.gz"
+options="!check" # No tests
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ -DUSE_QT4=Off \
+ $CMAKE_CROSSOPTS .
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="6d11fc8eecc94da4f2e3798ee5147258f277032b23a82d5bf8d3414943ac89c5ebd056d519338959c72a8a45d1638ab8cfeac01b3f3fd1118b4c89eb0c8b5608 adwaita-qt-1.1.1.tar.gz"