PKGBUILDs/community/lmms/PKGBUILD
2009-10-09 21:15:33 -05:00

31 lines
1 KiB
Bash

# $Id: PKGBUILD 1298 2009-08-15 00:30:48Z mherych $
# Maintainer: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Storyteller <spiralsorrow@hotmail.com>
pkgname=lmms
pkgver=0.4.5
pkgrel=1
pkgdesc="The Linux MultiMedia Studio"
arch=('i686' 'x86_64')
options=('!libtool')
url="http://lmms.sourceforge.net/"
license=('GPL')
depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'qt' 'sdl_sound' 'jack-audio-connection-kit' 'libsamplerate')
optdepends=('wine: VST support (experimental)'
'fftw: SpectrumAnalyzer plugin' )
makedepends=('cmake' 'ladspa' 'libxft' 'freetype2')
provides=('lmms-extras')
conflicts=('lmms-extras')
source=(http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2)
md5sums=('6d58d73b44baddadc4f0ac6464fbd530')
build() {
patch -p1 < ../lib64-fix.patch
cd ${startdir}/src/${pkgname}-${pkgver}
sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make -j1 || return 1
make DESTDIR=$startdir/pkg install
}