updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / lmms-vst / PKGBUILD
blob324a2b49bf529d4b43be4eb6b611b387ebd54e27
1 # $Id: PKGBUILD 40769 2011-02-26 18:40:13Z mherych $
2 # Maintainer: mar77i <mysatyre at gmail dot com>
3 # Maintainer: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
4 # Maintainer: Mateusz Herych <heniekk@gmail.com>
5 # Contributor: Storyteller <spiralsorrow@hotmail.com>
7 pkgname=lmms-vst
8 _pkgbasename="${pkgname%-vst}"
9 pkgver=0.4.12
10 pkgrel=2
11 pkgdesc="The Linux MultiMedia Studio, with VeSTige support enabled"
12 arch=('i686' 'x86_64')
13 url="http://lmms.sourceforge.net/"
14 license=('GPL')
15 depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'qt' 'sdl_sound' 'libsamplerate' 'shared-mime-info' 'wine')
16 optdepends=('fftw: SpectrumAnalyzer plugin'
17             'stk: STK instruments plugins')
18 makedepends=('cmake' 'ladspa' 'libxft' 'freetype2')
19 provides=('lmms-extras' 'lmms')
20 conflicts=('lmms-extras' 'lmms')
21 options=('!libtool' '!makeflags')
22 install=lmms.install
23 source=("http://downloads.sourceforge.net/sourceforge/lmms/${_pkgbasename}-${pkgver}.tar.bz2")
24 md5sums=('0642aba9b6b71d2ed41b44cfde4004f6')
26 build() {
27   cd "$srcdir/$_pkgbasename-$pkgver"
28   sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
29   cmake . -DCMAKE_INSTALL_PREFIX=/usr -USE=vst
30   make
33 package() {
34   cd "$srcdir/$_pkgbasename-$pkgver"
35   make DESTDIR="${pkgdir}" install