desktop/kwave/PKGBUILD
2015-03-09 13:11:54 +00:00

40 lines
1.1 KiB
Bash

#
# Apps Packages for Chakra, part of chakraos.org
#
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
# Contributer: abveritas@chakra-project.org
pkgname=kwave
pkgver=0.8.99
pkgrel=3
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}-2.tar.bz2)
md5sums=('d84533d572899e10bfd158b05b46acfb')
build() {
cd "${srcdir}"
mkdir 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
}