From 23be93da8501c1efafa2d3a72667e99b849977bd Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 29 Sep 2017 22:59:25 -0500 Subject: user/knotifyconfig: new package --- user/knotifyconfig/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 user/knotifyconfig/APKBUILD (limited to 'user/knotifyconfig/APKBUILD') diff --git a/user/knotifyconfig/APKBUILD b/user/knotifyconfig/APKBUILD new file mode 100644 index 000000000..f76bb30fb --- /dev/null +++ b/user/knotifyconfig/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=knotifyconfig +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for configuring notifications" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # No test suite, despite mentioning testing deps... +depends="" +depends_dev="qt5-qtbase-dev kcompletion-dev kconfig-dev ki18n-dev kio-dev + phonon-dev" +makedepends="$depends_dev cmake extra-cmake-modules gettext-dev python3" +checkdepends="kconfigwidgets-dev knotifications-dev kwidgetsaddons-dev + kxmlgui-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/knotifyconfig-$pkgver.tar.xz" +builddir="$srcdir/knotifyconfig-$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 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="11218be988cd21982e0cffcb268996f2c0cf5ae93da860f29fe286522f78c66eb2abca88dd4cd679fd0ff6fc6c0712d3c1bfaa0d5055954e9dee8df7289af182 knotifyconfig-5.38.0.tar.xz" -- cgit v1.2.3-70-g09d2