summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-15 07:14:23 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-15 07:14:23 +0000
commit3db84ed27712fbd13ff105c509caf3aa81587862 (patch)
tree068100d0a62e347bf9c07a169c1486b03314ba06
parent4e53c51f591cbd62817c797c10d240c008182ab3 (diff)
downloadpackages-3db84ed27712fbd13ff105c509caf3aa81587862.tar.gz
packages-3db84ed27712fbd13ff105c509caf3aa81587862.tar.bz2
packages-3db84ed27712fbd13ff105c509caf3aa81587862.tar.xz
packages-3db84ed27712fbd13ff105c509caf3aa81587862.zip
user/qt5-qtwayland: new experimental package
-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"