summaryrefslogtreecommitdiff
path: root/user/kwave
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 14:40:45 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 14:40:45 -0500
commit67a69b4fd021aed498b0589d31f5654b57e8e8a0 (patch)
treee87112b8fc7663593b834a98ea96fa03241a367d /user/kwave
parentd398872e0b7d9958a8b0b1798cdbc19cd45ea8df (diff)
downloadpackages-67a69b4fd021aed498b0589d31f5654b57e8e8a0.tar.gz
packages-67a69b4fd021aed498b0589d31f5654b57e8e8a0.tar.bz2
packages-67a69b4fd021aed498b0589d31f5654b57e8e8a0.tar.xz
packages-67a69b4fd021aed498b0589d31f5654b57e8e8a0.zip
user/kwave: new package
Diffstat (limited to 'user/kwave')
-rw-r--r--user/kwave/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/user/kwave/APKBUILD b/user/kwave/APKBUILD
new file mode 100644
index 000000000..30fdf344d
--- /dev/null
+++ b/user/kwave/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kwave
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Sound editor built for KDE"
+url="http://kwave.sourceforge.net/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtmultimedia-dev
+ karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcrash-dev
+ kcoreaddons-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev
+ kio-dev kservice-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev
+ audiofile-dev libsamplerate-dev alsa-lib-dev pulseaudio-dev flac-dev
+ id3lib-dev libmad-dev opus-dev libvorbis-dev fftw-dev librsvg-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/kwave-$pkgver.tar.xz"
+
+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" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="84d6f72cb9e71a347d7e7e52660c317976634faeb9dd022a1eb3145301574ce61ac6f263f81de7913f9b443e8b5e0c80d0b22405f9f5a6218b1b67db2abc1692 kwave-17.12.2.tar.xz"