wok-next annotate fluidsynth/receipt @ rev 20351

nss_ldap: add glibc-2.16.patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 18 22:23:47 2017 +0100 (2017-11-18)
parents fb478984fbc8
children d5aab818505e
rev   line source
al@20235 1 # SliTaz package receipt v2.
jozee@6827 2
jozee@6827 3 PACKAGE="fluidsynth"
al@20235 4 VERSION="1.1.8"
jozee@6827 5 CATEGORY="multimedia"
al@20235 6 SHORT_DESC="A real-time software synthesizer based on the SoundFont 2 specifications"
jozee@6827 7 MAINTAINER="jozee@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
jozee@6827 9 WEB_SITE="http://www.fluidsynth.org/"
al@20235 10
jozee@6827 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20235 12 WGET_URL="https://github.com/FluidSynth/fluidsynth/archive/v$VERSION.tar.gz"
jozee@6827 13
al@20235 14 BUILD_DEPENDS="cmake ladspa-dev glib-dev libsndfile-dev pulseaudio-dev \
al@20235 15 alsa-lib-dev jack-dev dbus-dev readline-dev"
al@20235 16 SPLIT="fluidsynth-dev"
jozee@6827 17
jozee@6827 18 compile_rules() {
al@20235 19 mkdir build
al@20235 20 cd build
al@20235 21 cmake \
al@20235 22 -DCMAKE_INSTALL_PREFIX=/usr \
al@20235 23 -Denable-ladspa=1 \
al@20235 24 .. &&
al@20235 25 make &&
al@20235 26 make install
jozee@6827 27 }
al@20235 28
al@20235 29 genpkg_rules() {
al@20235 30 case $PACKAGE in
al@20235 31 fluidsynth)
al@20235 32 copy @std
al@20235 33 DEPENDS="alsa-lib pulseaudio dbus glib jack libsndfile ncurses \
al@20235 34 readline ladspa"
al@20235 35 TAGS="synthesizer audio multimedia"
al@20235 36 ;;
al@20235 37 *-dev)
al@20235 38 copy @dev
al@20235 39 ;;
al@20235 40 esac
jozee@6827 41 }