From d50b5058468635334cf475b663be29b88d22e6b1 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 13 May 2012 22:30:33 +0200 Subject: zynaddsubfx 2.4.2-1 ajout port --- zynaddsubfx/Pkgfile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 zynaddsubfx/Pkgfile (limited to 'zynaddsubfx/Pkgfile') diff --git a/zynaddsubfx/Pkgfile b/zynaddsubfx/Pkgfile new file mode 100644 index 0000000..78aa4a8 --- /dev/null +++ b/zynaddsubfx/Pkgfile @@ -0,0 +1,44 @@ +# Description: Synthétiseur opensource capable de créer un nombre d'instruments infini. +# URL: http://zynaddsubfx.sourceforge.net +# Maintainer: piernov +# Packager: piernov +# Depends on: fftw, mxml, jack2, fltk1 +# Run on: fftw,mxml,jack2,fltk1 + +name=zynaddsubfx +version=2.4.2 +release=1 +source=(http://downloads.sourceforge.net/$name/ZynAddSubFX-$version.tar.bz2 + zynaddsubfx.svg + zynaddsubfx.desktop + spliter.desktop + controller.desktop) + +build() { + cd ZynAddSubFX-$version + + sed -i -e 's|Fl_Box.h|Fl_Box.H|g' ExternalPrograms/Controller/ControllerUI.fl + + mkdir build && cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ + -DOutputModule=jack \ + -DGuiModule=fltk + make + make DESTDIR=$PKG install + + cd ../ExternalPrograms/Spliter + make + install -Dm755 spliter $PKG/usr/bin/spliter + + cd ../Controller + make + install -Dm755 controller $PKG/usr/bin/controller + cd ../.. + + install -d $PKG/usr/share/{applications,$name} + cp -a banks $PKG/usr/share/$name + cp -a examples $PKG/usr/share/$name + + install -m 644 $SRC/*.desktop $PKG/usr/share/applications/ + install -Dm644 $SRC/$name.svg $PKG/usr/share/icons/hicolor/scalable/apps/$name.svg +} -- cgit v1.2.3-70-g09d2