summaryrefslogtreecommitdiff
path: root/community/lmms
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-18 02:17:27 -0800
committerroot <root@rshg054.dnsready.net>2012-11-18 02:17:27 -0800
commitab63d8d49f68847a68c2ba0014bf0d3338cb3df6 (patch)
tree7f0d9cf1b60a9b65a36c3f58ab2164c62cb378f1 /community/lmms
parent071ecd58a9b69020ec170e7f89009a603e885371 (diff)
Sun Nov 18 02:15:18 PST 2012
Diffstat (limited to 'community/lmms')
-rw-r--r--community/lmms/PKGBUILD18
-rw-r--r--community/lmms/zynaddsubfx_unlink.patch10
2 files changed, 20 insertions, 8 deletions
diff --git a/community/lmms/PKGBUILD b/community/lmms/PKGBUILD
index c7ebc3ab3..4d514aa6c 100644
--- a/community/lmms/PKGBUILD
+++ b/community/lmms/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 66380 2012-02-24 11:46:22Z lfleischer $
+# $Id: PKGBUILD 80173 2012-11-17 12:51:55Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Contributor: Mateusz Herych <heniekk@gmail.com>
@@ -6,7 +6,7 @@
pkgname=lmms
pkgver=0.4.13
-pkgrel=1
+pkgrel=2
pkgdesc='The Linux MultiMedia Studio.'
arch=('i686' 'x86_64')
url='http://lmms.sourceforge.net/'
@@ -17,21 +17,24 @@ 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')
+makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'fftw' 'stk' 'wine')
provides=('lmms-extras')
conflicts=('lmms-extras')
options=('!libtool' '!makeflags')
install=lmms.install
-source=("http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('80db0dc5263041d443f474220410991f')
+source=("http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2"
+ zynaddsubfx_unlink.patch)
+md5sums=('80db0dc5263041d443f474220410991f'
+ 'd2ea78ac0cf2979505f140c6845617cf')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
- cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ patch -Np1 -i ../zynaddsubfx_unlink.patch
+
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -USE=vst
make
}
@@ -39,4 +42,3 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
}
-
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"
+