diff options
Diffstat (limited to 'community/lmms/PKGBUILD')
-rw-r--r-- | community/lmms/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/lmms/PKGBUILD b/community/lmms/PKGBUILD new file mode 100644 index 000000000..b9a6a79dc --- /dev/null +++ b/community/lmms/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 92797 2013-06-15 10:20:30Z lfleischer $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw> +# Contributor: Mateusz Herych <heniekk@gmail.com> +# Contributor: Storyteller <spiralsorrow@hotmail.com> + +pkgname=lmms +pkgver=0.4.15 +pkgrel=1 +pkgdesc='The Linux MultiMedia Studio.' +arch=('i686' 'x86_64') +url='http://lmms.sourceforge.net/' +license=('GPL') +depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'qt4' '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" + zynaddsubfx_unlink.patch) +md5sums=('0c754480ded76b7c081a99d7a884549c' + 'd2ea78ac0cf2979505f140c6845617cf') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake + + patch -Np1 -i ../zynaddsubfx_unlink.patch + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -USE=vst + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install +} |