# $Id: PKGBUILD 55251 2011-09-07 11:43:20Z schiv $ # Maintainer: Shinlun Hsieh # Maintainer: Mateusz Herych # Contributor: Storyteller pkgname=lmms pkgver=0.4.12 pkgrel=1 pkgdesc="The Linux MultiMedia Studio" arch=('i686' 'x86_64' 'mips64el') url="http://lmms.sourceforge.net/" license=('GPL') depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'qt' 'sdl_sound' 'libsamplerate' 'shared-mime-info') optdepends=('wine: VST support (experimental)' 'fftw: SpectrumAnalyzer plugin' 'stk: STK instruments plugins' 'pulseaudio: PulseAudio output') makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'fftw' 'stk') [ $CARCH = i686 ] && makedepends+=('wine') provides=('lmms-extras') conflicts=('lmms-extras') options=('!libtool' '!makeflags') install=lmms.install source=(http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2) md5sums=('0642aba9b6b71d2ed41b44cfde4004f6') build() { cd ${srcdir}/${pkgname}-${pkgver} sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake cmake . -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR="${pkgdir}" install }