summaryrefslogtreecommitdiff
path: root/user/qt5-qtwayland/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/qt5-qtwayland/APKBUILD')
-rw-r--r--user/qt5-qtwayland/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/qt5-qtwayland/APKBUILD b/user/qt5-qtwayland/APKBUILD
new file mode 100644
index 000000000..daea318a5
--- /dev/null
+++ b/user/qt5-qtwayland/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=qt5-qtwayland
+_pkgname=qtwayland-everywhere-src
+pkgver=5.12.6
+pkgrel=0
+pkgdesc="Unstable Qt platform module for experimental Wayland display system"
+url="https://www.qt.io/"
+arch="all"
+options="!check"
+license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0"
+depends=""
+makedepends="libxkbcommon-dev mesa-dev qt5-qtbase-dev wayland-dev"
+subpackages="$pkgname-dev $pkgname-client $pkgname-compositor $pkgname-tools"
+source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ qmake
+ make
+}
+
+package() {
+ make install INSTALL_ROOT="$pkgdir"
+}
+
+client() {
+ pkgdesc="Qt client library for experimental Wayland display system"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libQt5WaylandClient* "$subpkgdir"/usr/lib/
+}
+
+compositor() {
+ pkgdesc="Unstable Qt compositor library for experimental Wayland display system"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libQt5WaylandCompositor* "$subpkgdir"/usr/lib/
+}
+
+tools() {
+ pkgdesc="Tools for Qt integration with experimental Wayland display system"
+ mkdir -p "$subpkgdir"/usr/lib/qt5
+ mv "$pkgdir"/usr/lib/qt5/bin "$subpkgdir"/usr/lib/qt5/
+}
+
+sha512sums="6d066d2f65f2727b9a1c7e71b973c81f8a8d2e6210c4c998403fcbb9e4cca2543fa11160b573c0646967a3351d33504c9f44ed98b1bb282735bf17e82808a4f4 qtwayland-everywhere-src-5.12.6.tar.xz"