blob: 61d7cd67114f7f36871a8132859cf56bba043827 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=knotifyconfig
pkgver=5.39.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 doxygen
graphviz qt5-qttools-dev"
checkdepends="kconfigwidgets-dev knotifications-dev kwidgetsaddons-dev
kxmlgui-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $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" \
-DBUILD_QCH:BOOL=ON \
${CMAKE_CROSSOPTS}
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="25ef22f1e8a8b82eaee27a7de530addad2c6d7028b46eeb3f8b61a4daa9ad3b37457837f5e62ed8d0c3a6cefc92ca6ee71043c3bae56c6b671146f37a4553745 knotifyconfig-5.39.0.tar.xz"
|