blob: 137473a0de378a623232b2edaed56cd28c9771fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kwave
pkgver=21.12.1
pkgrel=0
# armhf blocked by extra-cmake-modules
# mips64, s390x and riscv64 blocked by polkit -> kio
arch="all !armhf !mips64 !s390x !riscv64"
url="http://kwave.sourceforge.net/"
pkgdesc="A sound editor for KDE"
license="GPL-2.0-or-later"
makedepends="
alsa-lib-dev
audiofile-dev
extra-cmake-modules
fftw-dev
flac-dev
imagemagick
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
kwidgetsaddons-dev
kxmlgui-dev
libsamplerate-dev
libvorbis-dev
opus-dev
pulseaudio-dev
qt5-qtbase-dev
qt5-qtmultimedia-dev
"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/kwave-$pkgver.tar.xz"
subpackages="$pkgname-libs $pkgname-doc $pkgname-lang"
build() {
if [ "$CARCH" = s390x ]; then
doc_opts="-DWITH_DOC=OFF"
else
doc_opts="-DWITH_DOC=ON"
fi
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DWITH_OSS=OFF \
-DWITH_MP3=OFF \
$doc_opts
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
3276c58d82cd04ea56d91af4f16cae0389b970bd97d4d75a54a84c2a0b3d6a6849e02e77891b248942abab9cb4ca3aef21dc5274596a1143573e2b9fcf93980a kwave-21.12.1.tar.xz
"
|