From a2d985169117dae8a1c62ae50144cfb1efcd12fb Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 15 Mar 2019 19:27:33 +0000 Subject: user/libkscreen: fly, my bird, be free of Wayland (as a req'd dep) --- user/libkscreen/APKBUILD | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'user/libkscreen') 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 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" -- cgit v1.2.3-70-g09d2