updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / kwave / PKGBUILD
blobcc069a3ac55fab6b4ec57a43ad06c73a73466d1a
1 # Maintainer: Nicky726 (Nicky726 <at> gmail <dot> com)
2 # Contributor: Panagiotis Papadopoulos (pano_90 <at> gmx <dot> net)
4 pkgname=kwave
5 pkgver=0.8.7
6 pkgrel=1
7 pkgdesc="A sound editor for KDE"
8 arch=('i686' 'x86_64')
9 url="http://kwave.sourceforge.net/"
10 license=('GPL')
11 depends=('audiofile>=0.3.0' 'flac' 'fftw' 'kdelibs' 'libvorbis' 'libsamplerate')
12 makedepends=('cmake' 'gettext' 'imagemagick' 'kdesdk-poxml' 'automoc4')
13 options=('!libtool')
14 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-1.tar.bz2)
15 sha1sums=('3a4a784aafa1ca9c61460cdd57bd11bdc98ec896')
17 build() {
18   cd "${srcdir}"
19   mkdir build
20   cd build
22   cmake "../${pkgname}-${pkgver}" -DCMAKE_INSTALL_PREFIX=/usr \
23   -DLIB_INSTALL_DIR=/usr/lib \
24   -DCMAKE_BUILD_TYPE=Release \
25   -DWITH_PULSEAUDIO=OFF \
26   -DWITH_PHONON=OFF \
27   -DWITH_MP3=OFF 
28   #disable Phonon support, since it currently does not work, and only makes Kwave crash 
29   #disable MP3 support, since it doesn't compile although dependency id3lib is installed
30   make
33 package() {
34   cd "${srcdir}/build"
35   make DESTDIR="${pkgdir}" install
38 # vim:set ts=2 sw=2 et: