diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-02 20:30:24 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-19 21:18:38 -0300 |
commit | d91da57e2182da96c10e04fd625f1a8104ac1e88 (patch) | |
tree | 23d83131a139ceaf7d85139957f8ab1ed5b0da30 /testing/plasma-desktop | |
parent | 4c4e5b63d26cb37a2e29eb3d79ba3e5852fab6f7 (diff) | |
download | aports-d91da57e2182da96c10e04fd625f1a8104ac1e88.tar.bz2 aports-d91da57e2182da96c10e04fd625f1a8104ac1e88.tar.xz |
testing/plasma-desktop: new aport
Diffstat (limited to 'testing/plasma-desktop')
-rw-r--r-- | testing/plasma-desktop/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/plasma-desktop/APKBUILD b/testing/plasma-desktop/APKBUILD new file mode 100644 index 0000000000..d97e0c70dd --- /dev/null +++ b/testing/plasma-desktop/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=plasma-desktop +pkgver=5.16.1 +pkgrel=0 +pkgdesc="KDE Plasma Desktop" +arch="all" +url='https://www.kde.org/workspaces/plasmadesktop/' +license="GPL-2.0-only AND LGPL-2.1-only" +depends="kirigami2 plasma-workspace" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev qt5-qtsvg-dev kauth-dev plasma-framework-dev ki18n-dev kcmutils-dev knewstuff-dev kdelibs4support-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 plasma-workspace-dev kwin-dev kitemmodels-dev kemoticons-dev baloo-dev fontconfig-dev eudev-dev xf86-input-libinput-dev xf86-input-evdev-dev libxkbfile-dev libxcursor-dev libxi-dev" +makedepends="$depends_dev extra-cmake-modules kdoctools-dev" +checkdepends="xvfb-run iso-codes" +source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang knetattach" +options="!check" # Requires running dbus + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make install + + rm "$pkgdir"/usr/bin/knetattach + rm "$pkgdir"/usr/share/applications/org.kde.knetattach.desktop +} + +knetattach() { + pkgdesc="Wizard which makes it easier to integrate network resources with the Plasma Desktop" + depends="kdelibs4support" + + cd "$builddir"/knetattach + DESTDIR="$subpkgdir" make install +} +sha512sums="543e0c28c73a776e93089610603bd8a37e2b0295e9abf9476f62f841cc98c48edb94e34d92dabd596c88c75e7629b3d09b4ba1fe818a5a99fdd949c3b022f56d plasma-desktop-5.16.1.tar.xz" |