desktop/lmms/PKGBUILD

41 lines
1.1 KiB
Bash
Raw Normal View History

2011-04-05 10:39:35 +08:00
pkgname=lmms
2015-04-20 06:33:33 +08:00
pkgver=1.1.3
2016-05-06 04:01:14 +08:00
pkgrel=2
2011-04-05 10:39:35 +08:00
pkgdesc='The Linux MultiMedia Studio.'
url='http://lmms.sourceforge.net'
2014-03-27 22:29:41 +08:00
arch=('x86_64')
2011-04-05 10:39:35 +08:00
license=('GPL')
2014-03-27 22:29:41 +08:00
depends=('glib2' 'qt' 'sdl_sound' 'jack' 'libsamplerate' 'fluidsynth' 'libpng'
2015-04-20 06:33:33 +08:00
'libvorbis' 'libxft' 'libxinerama' 'shared-mime-info' 'fltk')
2011-04-05 10:39:35 +08:00
optdepends=('wine: VST support (experimental)'
2015-01-09 07:20:21 +08:00
'fftw: SpectrumAnalyzer plugin'
'pulseaudio: PulseAudio output' )
2015-04-20 06:33:33 +08:00
makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'stk' 'fftw' 'gcc-multilib')
categories=('multimedia')
2011-09-07 22:52:23 +08:00
install="lmms.install"
2016-05-06 04:01:14 +08:00
source=("https://github.com/LMMS/${pkgname}/archive/v${pkgver}.tar.gz"
"make-werrror-optional.patch")
md5sums=('88d9e66d240b711c37315e3c9da644a1'
'2c6e51b665c34fa61dc8b23e129404a9')
2011-04-05 10:39:35 +08:00
2016-05-06 04:01:14 +08:00
prepare() {
2011-09-07 22:52:23 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2011-07-17 01:29:18 +08:00
sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
2016-05-06 04:01:14 +08:00
patch -Np1 -i ../make-werrror-optional.patch
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2015-04-20 06:33:33 +08:00
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWANT_VST_NOWINE=ON
2011-07-17 01:29:18 +08:00
make
}
2011-04-05 10:39:35 +08:00
2011-07-17 01:29:18 +08:00
package() {
2011-09-07 22:52:23 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2011-07-17 01:29:18 +08:00
make DESTDIR="${pkgdir}" install
2011-04-05 10:39:35 +08:00
}