From 3b01bb6faffa46517c1602c6b0cd61a63702bf59 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Fri, 16 Mar 2018 03:10:52 +0530 Subject: [PATCH] Add kwayland-integration to plasma-mobile dep (#1338) * Add kwayland-integration packaging * Make postmarketos-ui-plasma-mobile depend on kwayland-integration --- kde/kwayland-integration/APKBUILD | 30 +++++++++++++++++++++ main/postmarketos-ui-plasma-mobile/APKBUILD | 4 +-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 kde/kwayland-integration/APKBUILD diff --git a/kde/kwayland-integration/APKBUILD b/kde/kwayland-integration/APKBUILD new file mode 100644 index 000000000..ce8139e53 --- /dev/null +++ b/kde/kwayland-integration/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Bhushan Shah +# Maintainer: Bhushan Shah +pkgname=kwayland-integration +pkgver=5.12.3 +pkgrel=0 +pkgdesc="KWayland integration" +url="https://www.kde.org/workspaces/plasmadesktop/" +arch="all" +license="GPL-2.0" +depends="kwayland kglobalaccel kidletime" +makedepends="cmake extra-cmake-modules kwayland-dev kwindowsystem-dev kidletime-dev" +source="https://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz" +options="!check" # there are no tests + +build() { + cd "$builddir" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE_INSTALL_LIBEXECDIR=lib + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="f276747b7a3e26382756266687a99f89bd5585f4abd7cf09ad645f6fe98ed6e437ee58060f88486e061488ee443e8146c9f4125f21e64e2cb113a2e21937bfc1 kwayland-integration-5.12.3.tar.xz" diff --git a/main/postmarketos-ui-plasma-mobile/APKBUILD b/main/postmarketos-ui-plasma-mobile/APKBUILD index d98f03e8c..b0e8d8265 100644 --- a/main/postmarketos-ui-plasma-mobile/APKBUILD +++ b/main/postmarketos-ui-plasma-mobile/APKBUILD @@ -1,6 +1,6 @@ pkgname=postmarketos-ui-plasma-mobile pkgver=1 -pkgrel=10 +pkgrel=11 pkgdesc="(Wayland) Mobile variant of KDE Plasma, optimized for touchscreen (aarch64, x86_64 or hardware acceleration required!)" url="https://wiki.postmarketos.org/wiki/Plasma_Mobile" arch="noarch" @@ -9,7 +9,7 @@ license="GPL3+" depends="plasma-phone-components dbus dbus-x11 qmltermwidget plasma-settings breeze-icons postmarketos-demos kscreen qt5-qtvirtualkeyboard plasma-camera elisa pulseaudio pulseaudio-utils consolekit2 powerdevil - polkit-kde-agent" + polkit-kde-agent kwayland-integration" makedepends="" install="$pkgname.post-install" subpackages=""