diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/lmms | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/lmms')
-rw-r--r-- | community/lmms/PKGBUILD | 45 | ||||
-rw-r--r-- | community/lmms/lmms.install | 11 | ||||
-rw-r--r-- | community/lmms/zynaddsubfx_unlink.patch | 10 |
3 files changed, 66 insertions, 0 deletions
diff --git a/community/lmms/PKGBUILD b/community/lmms/PKGBUILD new file mode 100644 index 000000000..b9a6a79dc --- /dev/null +++ b/community/lmms/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 92797 2013-06-15 10:20:30Z lfleischer $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw> +# Contributor: Mateusz Herych <heniekk@gmail.com> +# Contributor: Storyteller <spiralsorrow@hotmail.com> + +pkgname=lmms +pkgver=0.4.15 +pkgrel=1 +pkgdesc='The Linux MultiMedia Studio.' +arch=('i686' 'x86_64') +url='http://lmms.sourceforge.net/' +license=('GPL') +depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'qt4' 'sdl_sound' + 'libsamplerate' 'shared-mime-info') +optdepends=('wine: VST support (experimental)' + 'fftw: SpectrumAnalyzer plugin' + 'stk: STK instruments plugins' + 'pulseaudio: PulseAudio output') +makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'fftw' 'stk') +[[ $CARCH = i686 ]] && makedepends+=('wine') +provides=('lmms-extras') +conflicts=('lmms-extras') +options=('!libtool' '!makeflags') +install=lmms.install +source=("http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2" + zynaddsubfx_unlink.patch) +md5sums=('0c754480ded76b7c081a99d7a884549c' + 'd2ea78ac0cf2979505f140c6845617cf') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake + + patch -Np1 -i ../zynaddsubfx_unlink.patch + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -USE=vst + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install +} diff --git a/community/lmms/lmms.install b/community/lmms/lmms.install new file mode 100644 index 000000000..11549cb5c --- /dev/null +++ b/community/lmms/lmms.install @@ -0,0 +1,11 @@ +post_install() { + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/lmms/zynaddsubfx_unlink.patch b/community/lmms/zynaddsubfx_unlink.patch new file mode 100644 index 000000000..6b2521f55 --- /dev/null +++ b/community/lmms/zynaddsubfx_unlink.patch @@ -0,0 +1,10 @@ +--- lmms-0.4.13_orig/plugins/zynaddsubfx/LocalZynAddSubFx.cpp 2012-04-08 13:01:25.951925761 +0200 ++++ lmms-0.4.13_test/plugins/zynaddsubfx/LocalZynAddSubFx.cpp 2012-04-08 13:08:32.841905201 +0200 +@@ -23,6 +23,7 @@ + */ + + #include <lmmsconfig.h> ++#include <unistd.h> + + #include "LocalZynAddSubFx.h" + |