summaryrefslogtreecommitdiff
path: root/user/knotifyconfig/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-29 22:59:25 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-29 22:59:25 -0500
commit23be93da8501c1efafa2d3a72667e99b849977bd (patch)
tree8067df4b4c0a245e9b8a0eff200003c03d8a1ab1 /user/knotifyconfig/APKBUILD
parent7d33b62933de6f83f56ea77cca4dd37a2771b36a (diff)
downloadpackages-23be93da8501c1efafa2d3a72667e99b849977bd.tar.gz
packages-23be93da8501c1efafa2d3a72667e99b849977bd.tar.bz2
packages-23be93da8501c1efafa2d3a72667e99b849977bd.tar.xz
packages-23be93da8501c1efafa2d3a72667e99b849977bd.zip
user/knotifyconfig: new package
Diffstat (limited to 'user/knotifyconfig/APKBUILD')
-rw-r--r--user/knotifyconfig/APKBUILD43
1 files changed, 43 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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"