desktop/lmms/PKGBUILD

38 lines
1.1 KiB
Bash
Raw Normal View History

2014-03-27 22:29:41 +08:00
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
# Maintainer abveritas@chakra-project.org
2011-04-05 10:39:35 +08:00
pkgname=lmms
2015-01-09 07:20:21 +08:00
pkgver=1.1.0
2011-04-05 10:39:35 +08:00
pkgrel=1
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'
'libvorbis' 'libxft' 'libxinerama' 'shared-mime-info')
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' )
2014-03-27 22:29:41 +08:00
makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'fftw' 'fltk')
categories=('multimedia')
2011-09-07 22:52:23 +08:00
install="lmms.install"
2015-01-09 07:20:21 +08:00
source=("https://github.com/LMMS/${pkgname}/archive/v${pkgver}.tar.gz"
'zynaddsubfx_unlink.patch')
md5sums=('170ce0615063e9a171f1980972cca262'
'd2ea78ac0cf2979505f140c6845617cf')
2011-04-05 10:39:35 +08:00
build() {
2011-09-07 22:52:23 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2014-03-27 22:29:41 +08:00
patch -p1 -i ${srcdir}/zynaddsubfx_unlink.patch
2011-09-07 22:52:23 +08:00
2011-07-17 01:29:18 +08:00
sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
2015-01-09 07:20:21 +08:00
cmake . -DCMAKE_INSTALL_PREFIX=/usr -USE=vst
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
}