summaryrefslogtreecommitdiff
path: root/user/libkscreen/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-15 19:27:33 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-15 19:27:33 +0000
commita2d985169117dae8a1c62ae50144cfb1efcd12fb (patch)
treeca8198f7f9f616fd8318fee5e8816bd01b3e2fa8 /user/libkscreen/APKBUILD
parent9a847dae6f11e56f23526f6fe56c9169f22ee035 (diff)
downloadpackages-a2d985169117dae8a1c62ae50144cfb1efcd12fb.tar.gz
packages-a2d985169117dae8a1c62ae50144cfb1efcd12fb.tar.bz2
packages-a2d985169117dae8a1c62ae50144cfb1efcd12fb.tar.xz
packages-a2d985169117dae8a1c62ae50144cfb1efcd12fb.zip
user/libkscreen: fly, my bird, be free of Wayland (as a req'd dep)
Diffstat (limited to 'user/libkscreen/APKBUILD')
-rw-r--r--user/libkscreen/APKBUILD18
1 files changed, 16 insertions, 2 deletions
diff --git a/user/libkscreen/APKBUILD b/user/libkscreen/APKBUILD
index f5d322a6f..c241f9e62 100644
--- a/user/libkscreen/APKBUILD
+++ b/user/libkscreen/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libkscreen
pkgver=5.12.7
-pkgrel=0
+pkgrel=1
pkgdesc="KDE Plasma screen management software"
url="https://www.kde.org/"
arch="all"
@@ -12,7 +12,7 @@ depends=""
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev cmake extra-cmake-modules qt5-qtx11extras-dev
kwayland-dev"
-subpackages="$pkgname-dev"
+subpackages="kscreen-doctor:doctor $pkgname-dev $pkgname-wayland"
source="https://download.kde.org/stable/plasma/$pkgver/libkscreen-$pkgver.tar.xz"
build() {
@@ -41,4 +41,18 @@ package() {
make DESTDIR="$pkgdir" install
}
+doctor() {
+ pkgdesc="KDE Plasma screen debugging and management tool"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+wayland() {
+ pkgdesc="$pkgdesc (Wayland support)"
+ install_if="$pkgname=$pkgver-r$pkgrel wayland"
+ mkdir -p "$subpkgdir"/usr/lib/qt5/plugins/kf5/kscreen
+ mv "$pkgdir"/usr/lib/qt5/plugins/kf5/kscreen/KSC_KWayland.so \
+ "$subpkgdir"/usr/lib/qt5/plugins/kf5/kscreen/
+}
+
sha512sums="fb24d0f4f79468d4246e912f4b7e814df398911cdbd475e18263e89502ecca35c9e4974b7f0af92afa8cba3081056f8f27b0f051eb287c682dd37b35568b3c5c libkscreen-5.12.7.tar.xz"