desktop/kwave/PKGBUILD

32 lines
1004 B
Bash
Raw Normal View History

2011-04-16 03:51:28 +08:00
pkgname=kwave
2016-07-01 06:25:30 +08:00
pkgver=0.9.2
pkgrel=1
2011-04-16 03:51:28 +08:00
pkgdesc="A sound editor for KDE"
2013-11-24 19:43:32 +08:00
arch=('x86_64')
2011-04-16 03:51:28 +08:00
url="http://kwave.sourceforge.net/"
license=('GPL')
2016-02-22 20:52:58 +08:00
depends=('audiofile' 'flac' 'fftw' 'plasma-framework' 'libvorbis' 'id3lib' 'libsamplerate' 'libmad' 'opus' 'qt5-multimedia' 'kdoctools' 'kinit' 'qt5-base')
2016-03-10 06:34:45 +08:00
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')
2016-02-22 20:52:58 +08:00
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-1.tar.bz2)
2016-07-01 06:25:30 +08:00
sha1sums=('2dcfe6a2303f9b771f2dfe2d05ba0c878e4576c7')
2011-04-16 03:51:28 +08:00
build() {
2016-03-10 06:34:45 +08:00
cd $pkgname-$pkgver
2015-05-26 07:13:51 +08:00
mkdir -p build && cd build
2016-03-10 06:34:45 +08:00
cmake -DCMAKE_INSTALL_PREFIX=/usr \
2011-04-16 03:51:28 +08:00
-DLIB_INSTALL_DIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
2016-03-10 06:34:45 +08:00
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
2011-04-16 03:51:28 +08:00
-DWITH_PULSEAUDIO=OFF \
-DWITH_PHONON=OFF \
2016-03-10 06:34:45 +08:00
-DWITH_MP3=ON ..
2011-04-16 03:51:28 +08:00
make
}
package() {
2016-03-10 06:34:45 +08:00
cd $pkgname-$pkgver/build
2016-02-22 20:52:58 +08:00
make DESTDIR=$pkgdir install
2011-04-16 03:51:28 +08:00
}