blob: c99700ad723cf82e47c7f95d97fbc7ae0edfb999 (
plain) (
tree)
|
|
# 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/${pkgver%.*}/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"
|