# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwave pkgver=19.08.1 pkgrel=0 arch="all" url="http://kwave.sourceforge.net/" pkgdesc="A sound editor for KDE" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtmultimedia-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev kservice-dev ktextwidgets-dev kxmlgui-dev kwidgetsaddons-dev audiofile-dev libsamplerate-dev alsa-lib-dev pulseaudio-dev flac-dev opus-dev libvorbis-dev fftw-dev imagemagick" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-libs $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DWITH_OSS=OFF \ -DWITH_MP3=OFF make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="e5fce0de859b8a421229e6877b4c7a64672f25be44ddb936b9f39c79a6cb89f4d580960e83c106189ed1c63988406b78c89b0a45b721975ebf7dd44da6c12c23 kwave-19.08.1.tar.xz"