aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-10-26 09:10:12 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-10-26 12:32:18 +0000
commit651d8de9f17f6dd458a37a1e0fb73018eb618b9c (patch)
tree809a75f52d35b6d492c3a8c52935058f25aae280
parentd9a1d0328643badb196045a911a13925f5fd79c0 (diff)
downloadaports-651d8de9f17f6dd458a37a1e0fb73018eb618b9c.tar.gz
aports-651d8de9f17f6dd458a37a1e0fb73018eb618b9c.tar.bz2
aports-651d8de9f17f6dd458a37a1e0fb73018eb618b9c.tar.xz
community/qt5-qtwayland: install if Qt and a Wayland session is installed
-rw-r--r--community/qt5-qtwayland/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/community/qt5-qtwayland/APKBUILD b/community/qt5-qtwayland/APKBUILD
index 2cd26a4439..dd0c8c0462 100644
--- a/community/qt5-qtwayland/APKBUILD
+++ b/community/qt5-qtwayland/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtwayland
pkgver=5.15.1
-pkgrel=0
+pkgrel=1
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://www.qt.io/developers/"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
@@ -10,6 +10,11 @@ pkgdesc="Provides APIs for Wayland"
depends_dev="qt5-qtquickcontrols2-dev libxkbcommon-dev libxcomposite-dev wayland-dev"
makedepends="$depends_dev qt5-qtbase-dev qt5-qtdeclarative-dev vulkan-headers"
subpackages="$pkgname-dev $pkgname-doc"
+
+# Make sure this package is installed when a Qt application is installed and a
+# Wayland session is available on the system
+install_if="wayland-libs-client qt5-qtbase"
+
builddir="$srcdir/qtwayland-everywhere-src-$pkgver"
case $pkgver in