2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=plasma-workspace
|
2018-03-06 22:34:59 +00:00
|
|
|
pkgver=5.12.3
|
2018-05-02 20:56:22 +00:00
|
|
|
pkgrel=2
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc='KDE Plasma Workspace'
|
|
|
|
arch="all"
|
|
|
|
url='https://www.kde.org/workspaces/plasmadesktop/'
|
2017-11-26 17:08:10 +00:00
|
|
|
license="GPL-2.0"
|
|
|
|
depends="kwin iso-codes qt5-qtwayland kactivitymanagerd kinit milou consolekit2"
|
|
|
|
depends_dev="krunner-dev kdesignerplugin-dev kdesignerplugin qt5-qtwayland-dev qt5-qtdeclarative-dev
|
|
|
|
kxmlrpcclient-dev kdelibs4support-dev plasma-framework-dev knotifyconfig-dev
|
|
|
|
kcmutils-dev kdesu-dev kwallet-dev ksysguard kwin-dev kguiaddons-dev
|
2018-05-02 20:50:29 +00:00
|
|
|
kjsembed-dev knewstuff-dev qt5-qtx11extras-dev ktexteditor-dev libksysguard-dev
|
2017-11-26 17:08:10 +00:00
|
|
|
kwallet-dev attica-qt-dev kitemmodels-dev kscreenlocker-dev
|
|
|
|
qt5-qtscript-dev karchive-dev kcrash-dev kpackage-dev kactivities-dev
|
|
|
|
kdeclarative-dev kpty-dev kjs-dev ktextwidgets-dev sonnet-dev kauth-dev
|
|
|
|
kconfigwidgets-dev ki18n-dev kcodecs-dev kwidgetsaddons-dev kservice-dev
|
|
|
|
kxmlgui-dev kwindowsystem-dev kcoreaddons-dev kconfig-dev kemoticons-dev
|
|
|
|
kiconthemes-dev kinit-dev knotifications-dev kio-dev kbookmarks-dev kparts-dev
|
|
|
|
kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev kunitconversion-dev
|
|
|
|
kdbusaddons-dev kidletime-dev kglobalaccel-dev phonon-qt5-dev kwayland-dev
|
|
|
|
baloo-dev prison-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules kdoctools-dev gpsd iso-codes-dev libxtst-dev
|
|
|
|
xcb-util-image-dev libxrender-dev"
|
2018-02-06 23:18:45 +00:00
|
|
|
source="https://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz"
|
2017-11-26 17:08:10 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang"
|
|
|
|
options="!check" # Fails due to requiring running X11
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cmake \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DKDE_INSTALL_LIBEXECDIR=lib
|
2017-08-03 20:14:04 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
|
|
|
|
install -Dm644 plasmawayland.desktop "$pkgdir"/usr/share/wayland-sessions/plasmawayland.desktop
|
|
|
|
}
|
2018-03-06 22:34:59 +00:00
|
|
|
sha512sums="0f00b1e14d5dc5b5763dbfa5aff4de74a2bbf3a44e2932f1916de525c3caf60d0a11e611cb2b0bcc31ff502991595808ff2728772dec787e91974700da234f53 plasma-workspace-5.12.3.tar.xz"
|