desktop/kwave/PKGBUILD
2016-07-01 00:25:30 +02:00

32 lines
1004 B
Bash

pkgname=kwave
pkgver=0.9.2
pkgrel=1
pkgdesc="A sound editor for KDE"
arch=('x86_64')
url="http://kwave.sourceforge.net/"
license=('GPL')
depends=('audiofile' 'flac' 'fftw' 'plasma-framework' 'libvorbis' 'id3lib' 'libsamplerate' 'libmad' 'opus' 'qt5-multimedia' 'kdoctools' 'kinit' 'qt5-base')
makedepends=('cmake' 'poxml' 'gettext' 'imagemagick' 'automoc4' 'docbook-xsl' 'librsvg' 'extra-cmake-modules' 'kdoctools')
categories=('multimedia')
screenshot=('http://kde-apps.org/CONTENT/content-pre1/11781-1.png')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-1.tar.bz2)
sha1sums=('2dcfe6a2303f9b771f2dfe2d05ba0c878e4576c7')
build() {
cd $pkgname-$pkgver
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DWITH_PULSEAUDIO=OFF \
-DWITH_PHONON=OFF \
-DWITH_MP3=ON ..
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}