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>
8 _pkgbasename="${pkgname%-vst}"
11 pkgdesc="The Linux MultiMedia Studio, with VeSTige support enabled"
12 arch=('i686' 'x86_64')
13 url="http://lmms.sourceforge.net/"
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')
23 source=("http://downloads.sourceforge.net/sourceforge/lmms/${_pkgbasename}-${pkgver}.tar.bz2")
24 md5sums=('0642aba9b6b71d2ed41b44cfde4004f6')
27 cd "$srcdir/$_pkgbasename-$pkgver"
28 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
29 cmake . -DCMAKE_INSTALL_PREFIX=/usr -USE=vst
34 cd "$srcdir/$_pkgbasename-$pkgver"
35 make DESTDIR="${pkgdir}" install