aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-16 17:57:23 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-16 17:57:23 +0100
commit357a1791e9e5f8c6835b5b2523937fd10ff0c0b4 (patch)
treeae541f6c73315fdb21226bfc386c7092ac2bd065
parent84dcaafec335457d44c8317a3e129c967340f3f4 (diff)
downloadaports-357a1791e9e5f8c6835b5b2523937fd10ff0c0b4.tar.bz2
aports-357a1791e9e5f8c6835b5b2523937fd10ff0c0b4.tar.xz
testing/kwave: fix build on s390x
-rw-r--r--testing/kwave/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/testing/kwave/APKBUILD b/testing/kwave/APKBUILD
index 37f89ef7f5..7a68e9fefc 100644
--- a/testing/kwave/APKBUILD
+++ b/testing/kwave/APKBUILD
@@ -9,16 +9,22 @@ 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"
+source="https://download.kde.org/stable/applications/$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 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DWITH_OSS=OFF \
- -DWITH_MP3=OFF
+ -DWITH_MP3=OFF \
+ $doc_opts
make
}