From b8322aaddc0dc6b249457dd19ab7fb246b92c997 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sat, 11 Jan 2014 03:27:04 +0000 Subject: Sat Jan 11 03:21:10 UTC 2014 --- community/zynaddsubfx/PKGBUILD | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'community/zynaddsubfx') diff --git a/community/zynaddsubfx/PKGBUILD b/community/zynaddsubfx/PKGBUILD index b5ce8787a..9f5dcdcfb 100644 --- a/community/zynaddsubfx/PKGBUILD +++ b/community/zynaddsubfx/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72810 2012-06-22 13:58:49Z spupykin $ +# $Id: PKGBUILD 103709 2014-01-10 12:47:51Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: SpepS # Contributor: Ionut Biru @@ -6,7 +6,7 @@ pkgname=zynaddsubfx pkgver=2.4.3 -pkgrel=1 +pkgrel=2 pkgdesc="Opensource software synthesizer capable of making a countless number of instruments." arch=('i686' 'x86_64') url="http://zynaddsubfx.sourceforge.net" @@ -15,28 +15,26 @@ depends=('fltk' 'libgl' 'fftw' 'lash' 'mxml') makedepends=('cmake' 'pkgconfig' 'mesa' 'setconf' 'gendesk') options=('!emptydirs') source=("http://switch.dl.sourceforge.net/sourceforge/$pkgname/ZynAddSubFX-$pkgver.tar.bz2" - "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" "$pkgname.svg") md5sums=('2e8994cc54e5f1a64b77dfac3baf0d9a' - 'eb95d339ff5deac8c6b54965f04a8c60' - '49464a33ab9c4250520eda0df7705663' '6f7e9c3ce3947088a10c99c46a65431f') build() { cd "$srcdir" - gendesk + gendesk $startdir/PKGBUILD 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" sed -i '1,1i#include ' src/Nio/NulEngine.cpp [ -d build ] || mkdir build && cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DOutputModule=jack -DGuiModule=fltk .. + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DDefaultOutput=jack \ + -DDefaultInput=jack \ + -DGuiModule=fltk \ + .. make # build external programs -- cgit v1.2.3-54-g00ecf