diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-01 00:04:08 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-01 00:04:08 -0500 |
commit | 0ba59becbbd3a8cafa59106292e04f1538724eda (patch) | |
tree | 638ba10e8a6ff9a55025b0ee1d4c82c0f9cad39c /user/plasma-framework | |
parent | 92db971082f8041430dd12ffc30b8c59d34ed5da (diff) | |
download | packages-0ba59becbbd3a8cafa59106292e04f1538724eda.tar.gz packages-0ba59becbbd3a8cafa59106292e04f1538724eda.tar.bz2 packages-0ba59becbbd3a8cafa59106292e04f1538724eda.tar.xz packages-0ba59becbbd3a8cafa59106292e04f1538724eda.zip |
user/plasma-framework: new package
Diffstat (limited to 'user/plasma-framework')
-rw-r--r-- | user/plasma-framework/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/user/plasma-framework/APKBUILD b/user/plasma-framework/APKBUILD new file mode 100644 index 000000000..ae7b43fff --- /dev/null +++ b/user/plasma-framework/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=plasma-framework +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Frameworks for the KDE Plasma 5 desktop environment" +url="https://www.kde.org/" +arch="all" +license="GPL-2.0 LGPL-2.1" +options="!check" # Requires accelerated X11 *and* system DBus running. +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev kactivities-dev + karchive-dev kconfigwidgets-dev kdbusaddons-dev kdeclarative-dev kio-dev + kconfig-dev kglobalaccel-dev kguiaddons-dev kiconthemes-dev ki18n-dev + kservice-dev kwindowsystem-dev knotifications-dev kpackage-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev + kdoctools-dev libx11-dev libxcb-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/plasma-framework-$pkgver.tar.xz" +builddir="$srcdir/plasma-framework-$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="5daec7431e70b6a94001608992b8930445d3b936830980fb9a6bbe501cb0f660cb9d192089c2401d1699c92448d4d9043ec12a42f0dd517fcd505127cb58e37b plasma-framework-5.38.0.tar.xz" |