summaryrefslogtreecommitdiff
path: root/user/plasma-desktop
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-05 19:24:54 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-05 19:24:54 -0500
commite42bf14d5526a943e21ac8d201b8087f7b4b4486 (patch)
tree08c277a30b72909cd901a52f4cfbf06925e0ec41 /user/plasma-desktop
parentd9a0674ee440e58733dacb4ff0b1f3b30f7e2d3f (diff)
downloadpackages-e42bf14d5526a943e21ac8d201b8087f7b4b4486.tar.gz
packages-e42bf14d5526a943e21ac8d201b8087f7b4b4486.tar.bz2
packages-e42bf14d5526a943e21ac8d201b8087f7b4b4486.tar.xz
packages-e42bf14d5526a943e21ac8d201b8087f7b4b4486.zip
user/plasma-desktop: new package
Diffstat (limited to 'user/plasma-desktop')
-rw-r--r--user/plasma-desktop/APKBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/user/plasma-desktop/APKBUILD b/user/plasma-desktop/APKBUILD
new file mode 100644
index 000000000..934bf813b
--- /dev/null
+++ b/user/plasma-desktop/APKBUILD
@@ -0,0 +1,53 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=plasma-desktop
+pkgver=5.8.7.1
+pkgrel=0
+pkgdesc="Modern, functional, integrated libre desktop environment"
+url="https://www.kde.org/info/plasma-desktop"
+arch="all"
+license="GPL-2.0 LGPL-2.1"
+options="!check" # Test suite fails due to keyboard layouts
+depends=""
+depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev
+ qt5-qtsvg-dev kdelibs4support-dev xf86-input-synaptics-dev
+ kauth-dev plasma-framework-dev kdoctools-dev ki18n-dev
+ kcmutils-dev knewstuff-dev knotifications-dev knotifyconfig-dev
+ attica-dev kwallet-dev krunner-dev kglobalaccel-dev kdeclarative-dev
+ kpeople-dev kdbusaddons-dev kactivities-dev kactivities-stats-dev
+ kconfig-dev kitemmodels-dev plasma-workspace-dev xf86-input-evdev-dev
+ libxkbcommon-dev pulseaudio-dev libcanberra-dev libxkbfile-dev
+ xorg-server-dev"
+makedepends="$depends_dev cmake extra-cmake-modules xkeyboard-config"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://download.kde.org/Attic/plasma/5.8.7/plasma-desktop-$pkgver.tar.xz"
+builddir="$srcdir/$pkgname-5.8.7"
+
+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="da5d7a5e815f4e5895e93788f1634cd624bf385303599d6db9145f185b1429b24614d5c42e55d15b1202d5233b1c52db8bcb7fa6a0317ac1ebaa6b56020f228d plasma-desktop-5.8.7.1.tar.xz"