diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-02-19 09:32:48 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-19 11:28:08 -0300 |
commit | af10114db7c05fba1e7f5400af5065658f9bd265 (patch) | |
tree | 58c5fe4857d505c50d03fec335cb23249daeee4a /community/knotifications/APKBUILD | |
parent | 63eedf94e8b0d685059de240f8ae141d74ab5f81 (diff) | |
download | aports-af10114db7c05fba1e7f5400af5065658f9bd265.tar.bz2 aports-af10114db7c05fba1e7f5400af5065658f9bd265.tar.xz |
community/knotifications: enable notification sounds
Diffstat (limited to 'community/knotifications/APKBUILD')
-rw-r--r-- | community/knotifications/APKBUILD | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/community/knotifications/APKBUILD b/community/knotifications/APKBUILD index 2cc56ad15a..ccad102871 100644 --- a/community/knotifications/APKBUILD +++ b/community/knotifications/APKBUILD @@ -2,31 +2,24 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=knotifications pkgver=5.67.0 -pkgrel=0 +pkgrel=1 pkgdesc="Abstraction for system notifications" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://community.kde.org/Frameworks" license="LGPL-2.1-only OR LGPL-3.0-only" -depends_dev="qt5-qtbase-dev qt5-qtspeech-dev qt5-qtx11extras-dev kconfig-dev kcoreaddons-dev kwindowsystem-dev phonon-dev" +depends_dev="qt5-qtbase-dev qt5-qtspeech-dev qt5-qtx11extras-dev kconfig-dev kcoreaddons-dev kwindowsystem-dev phonon-dev libcanberra-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/knotifications-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" # Fails due to requiring running dbus-daemon -prepare() { - default_prepare - - mkdir "$builddir"/build -} - build() { - cd "$builddir"/build - cmake "$builddir" \ + cmake -B "$builddir"/build \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON - make + make -C build } check() { @@ -35,7 +28,6 @@ check() { } package() { - cd "$builddir"/build - DESTDIR="$pkgdir" make install + DESTDIR="$pkgdir" make -C build install } sha512sums="3ee74f84d8157142e943b348d12601ada8c5741026098abddd1433379753352b7f775d2382f02f7b1d8c8ef3387a3a23a3eecc80826718b5ff07946d5925e300 knotifications-5.67.0.tar.xz" |