# # Chakra Packages for Chakra, part of chakra-project.org # # Maintainer: Giuseppe CalĂ  # pkgname=lmms pkgver=0.4.11 pkgrel=1 pkgdesc='The Linux MultiMedia Studio.' url='http://lmms.sourceforge.net' arch=('i686' 'x86_64') license=('GPL') depends=('glib2' 'qt' 'sdl_sound' 'jack' 'libsamplerate' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'shared-mime-info') optdepends=('wine: VST support (experimental)' 'fftw: SpectrumAnalyzer plugin' ) makedepends=('cmake' 'ladspa' 'libxft' 'freetype2') install=lmms.install source=(http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2) md5sums=('b72c3a87a43e7653bf83d13f35c5d963') build() { cd ${srcdir}/${pkgname}-${pkgver} sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake cmake . -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR="${pkgdir}" install }