desktop/lmms/PKGBUILD

39 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
2014-03-27 22:29:41 +08:00
pkgver=1.0.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)'
'fftw: SpectrumAnalyzer plugin' )
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"
2014-03-27 22:29:41 +08:00
source=("http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}-src.tar.bz2"
'zynaddsubfx_unlink.patch')
md5sums=('72260dd6e29bf018875fd751c1d43465'
'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
cmake . -DCMAKE_INSTALL_PREFIX=/usr
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
}
2011-09-07 22:52:23 +08:00
# vim:set ts=2 sw=2 et: