desktop/lmms/PKGBUILD
2015-04-19 22:33:33 +00:00

32 lines
939 B
Bash

pkgname=lmms
pkgver=1.1.3
pkgrel=1
pkgdesc='The Linux MultiMedia Studio.'
url='http://lmms.sourceforge.net'
arch=('x86_64')
license=('GPL')
depends=('glib2' 'qt' 'sdl_sound' 'jack' 'libsamplerate' 'fluidsynth' 'libpng'
'libvorbis' 'libxft' 'libxinerama' 'shared-mime-info' 'fltk')
optdepends=('wine: VST support (experimental)'
'fftw: SpectrumAnalyzer plugin'
'pulseaudio: PulseAudio output' )
makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'stk' 'fftw' 'gcc-multilib')
categories=('multimedia')
install="lmms.install"
source=("https://github.com/LMMS/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('88d9e66d240b711c37315e3c9da644a1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWANT_VST_NOWINE=ON
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}