summaryrefslogtreecommitdiff
path: root/user/plasma-workspace/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/plasma-workspace/APKBUILD')
-rw-r--r--user/plasma-workspace/APKBUILD65
1 files changed, 65 insertions, 0 deletions
diff --git a/user/plasma-workspace/APKBUILD b/user/plasma-workspace/APKBUILD
new file mode 100644
index 000000000..b23b8749b
--- /dev/null
+++ b/user/plasma-workspace/APKBUILD
@@ -0,0 +1,65 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=plasma-workspace
+pkgver=5.8.7
+pkgrel=6
+pkgdesc="KDE Plasma 5 workspace"
+url="https://www.kde.org/plasma-desktop"
+arch="all"
+license="LGPL-2.1"
+options="!check" # Test requires X11 accelration.
+# startkde shell script calls
+depends="kinit qdbus qtpaths xmessage xprop xset xsetroot"
+# font installation stuff
+depends="$depends mkfontdir"
+# QML deps
+depends="$depends qt5-qtgraphicaleffects qt5-qtquickcontrols solid"
+# other runtime deps / plugins
+depends="$depends libdbusmenu-qt kcmutils kde-cli-tools kded kdesu kio-extras
+ ksysguard kwin milou plasma-integration pulseaudio-utils iso-codes xrdb"
+depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtscript-dev kwallet-dev
+ plasma-framework-dev krunner-dev knotifyconfig-dev knewstuff-dev
+ kcmutils-dev kdeclarative-dev ktextwidgets-dev kdelibs4support-dev
+ kcrash-dev kglobalaccel-dev kdbusaddons-dev kitemmodels-dev kdesu-dev
+ kidletime-dev kwayland-dev kjsembed-dev kxmlrpcclient-dev kholidays-dev
+ libksysguard-dev kpackage-dev baloo-dev kwin-dev libdbusmenu-qt-dev
+ ktexteditor-dev"
+makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.kde.org/Attic/plasma/$pkgver/plasma-workspace-$pkgver.tar.xz
+ plasma-workspace-5.8-cmake-update.patch
+ plasma-workspace-5.8.7-disable-broken-test.patch
+ plasma-workspace-5.8-honour-uint.patch"
+builddir="$srcdir/plasma-workspace-$pkgver"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ba35a050384e0bf410097027bfb70ca7594cd5352fd6470228d537f4e876ec72ec26bac3be9a6750f306b1d2937ff53c267c2246f191c93a13972a0cf33b4faf plasma-workspace-5.8.7.tar.xz
+3d7cfb1c7c54bcbca47c5c01497c776d54d1e2327bc0a3777cfaf001f44ec7c1863f15ab0586c00db6d7194f759b91d0a86e47ae99e7fa23782dd7deda264e47 plasma-workspace-5.8-cmake-update.patch
+2151dab30716e0b2b6a9146fd6262f4f134884961bebe9cf9baee269f35b1b3955ed07dcee2602b5adc2fc93aa15d37cb72d6983f026a2b504feb451d944d965 plasma-workspace-5.8.7-disable-broken-test.patch
+48b4c448a4e964e61f25fa751fbc67f6cfce0e792139a124a70fa5c07f8b1b1a1c51fd5652679a3c46ac997c2dda3df476e8c8ebfdc6a08ece4f2e79282d81a3 plasma-workspace-5.8-honour-uint.patch"