summaryrefslogtreecommitdiff
path: root/community/zynaddsubfx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/zynaddsubfx/PKGBUILD')
-rw-r--r--community/zynaddsubfx/PKGBUILD33
1 files changed, 18 insertions, 15 deletions
diff --git a/community/zynaddsubfx/PKGBUILD b/community/zynaddsubfx/PKGBUILD
index a1488fcd8..5469f3265 100644
--- a/community/zynaddsubfx/PKGBUILD
+++ b/community/zynaddsubfx/PKGBUILD
@@ -1,36 +1,39 @@
-# $Id: PKGBUILD 66272 2012-02-23 07:06:41Z spupykin $
+# $Id: PKGBUILD 69533 2012-04-17 22:54:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: SpepS <dreamspepser at yahoo dot it>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: DonVla <donvla@users.sourceforge.net>
pkgname=zynaddsubfx
-pkgver=2.4.1
-pkgrel=7
-pkgdesc="An opensource software synthesizer capable of making a countless number of instruments."
+pkgver=2.4.2
+pkgrel=1
+pkgdesc="Opensource software synthesizer capable of making a countless number of instruments."
arch=('i686' 'x86_64')
url="http://zynaddsubfx.sourceforge.net"
license=('GPL')
depends=('fltk' 'libgl' 'fftw' 'lash' 'mxml')
-makedepends=('cmake' 'pkgconfig' 'mesa')
+makedepends=('cmake' 'pkgconfig' 'mesa' 'setconf' 'gendesk')
options=('!emptydirs')
source=("http://switch.dl.sourceforge.net/sourceforge/$pkgname/ZynAddSubFX-$pkgver.tar.bz2"
- "$pkgname.desktop"
- "$pkgname.svg"
"http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk.patch"
- "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk13.patch")
-md5sums=('59eb69ce24d6f8c605f8ba43958d0526'
- '5da6735ee59fdfa21f171fdc4d6c80cb'
- '6f7e9c3ce3947088a10c99c46a65431f'
+ "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk13.patch"
+ "$pkgname.svg")
+md5sums=('4e1f15fd872f5cc649fc2217676e248e'
'eb95d339ff5deac8c6b54965f04a8c60'
- '49464a33ab9c4250520eda0df7705663')
+ '49464a33ab9c4250520eda0df7705663'
+ '6f7e9c3ce3947088a10c99c46a65431f')
build() {
- cd "$srcdir/ZynAddSubFX-$pkgver"
+ cd "$srcdir"
+ gendesk
+ setconf "$pkgname.desktop" Icon "$pkgname.svg"
+
+ cd "ZynAddSubFX-$pkgver"
# patches
- patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk.patch"
- patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk13.patch"
+# patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk.patch"
+# patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk13.patch"
+ sed -i '1,1i#include <unistd.h>' src/Nio/NulEngine.cpp
[ -d build ] || mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DOutputModule=jack -DGuiModule=fltk ..