diff options
author | piernov <piernov@piernov.org> | 2012-05-13 22:30:33 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-05-13 22:30:33 +0200 |
commit | d50b5058468635334cf475b663be29b88d22e6b1 (patch) | |
tree | 32d65955832c59c57136ccde878b66f4c259f53c /zynaddsubfx/Pkgfile | |
parent | 18bf8e9052e39aab1b9c4dda1657ddfaf4793a7d (diff) | |
download | nutyx-multimedia-d50b5058468635334cf475b663be29b88d22e6b1.tar.gz nutyx-multimedia-d50b5058468635334cf475b663be29b88d22e6b1.tar.bz2 nutyx-multimedia-d50b5058468635334cf475b663be29b88d22e6b1.tar.xz nutyx-multimedia-d50b5058468635334cf475b663be29b88d22e6b1.zip |
zynaddsubfx 2.4.2-1 ajout port
Diffstat (limited to 'zynaddsubfx/Pkgfile')
-rw-r--r-- | zynaddsubfx/Pkgfile | 44 |
1 files changed, 44 insertions, 0 deletions
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 <piernov@piernov.org> +# Packager: piernov <piernov@piernov.org> +# 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 +} |