desktop/kwave/PKGBUILD
2015-05-25 23:13:51 +00:00

33 lines
931 B
Bash

pkgname=kwave
pkgver=0.9.0
pkgrel=1
pkgdesc="A sound editor for KDE"
arch=('x86_64')
url="http://kwave.sourceforge.net/"
license=('GPL')
depends=('audiofile>=0.3.0' 'flac' 'fftw' 'kdelibs' 'libvorbis' 'id3lib' 'libsamplerate' 'libmad' 'opus>=1.0')
makedepends=('cmake' 'kdesdk-poxml' 'gettext' 'imagemagick' 'automoc4' 'docbook-xsl' 'librsvg')
categories=('multimedia')
screenshot=('http://kde-apps.org/CONTENT/content-pre1/11781-1.png')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-1.tar.bz2)
md5sums=('e37a365d3655b48cb46e9336bf422e74')
build() {
cd "${srcdir}"
mkdir -p build && cd build
cmake "../${pkgname}-${pkgver}" -DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_PULSEAUDIO=OFF \
-DWITH_PHONON=OFF \
-DWITH_MP3=ON
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}