wok-next annotate fluidsynth/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
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"
al@21020 7 MAINTAINER="devel@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@21094 14 COOKOPTS="force-arch" # different .pc
al@21094 15
al@20235 16 BUILD_DEPENDS="cmake ladspa-dev glib-dev libsndfile-dev pulseaudio-dev \
al@20235 17 alsa-lib-dev jack-dev dbus-dev readline-dev"
al@21020 18 SPLIT="$PACKAGE-dev"
jozee@6827 19
jozee@6827 20 compile_rules() {
al@20235 21 mkdir build
al@20235 22 cd build
al@20235 23 cmake \
al@20235 24 -DCMAKE_INSTALL_PREFIX=/usr \
al@20235 25 -Denable-ladspa=1 \
al@20235 26 .. &&
al@20235 27 make &&
al@20235 28 make install
jozee@6827 29 }
al@20235 30
al@20235 31 genpkg_rules() {
al@20235 32 case $PACKAGE in
al@20235 33 fluidsynth)
al@20235 34 copy @std
al@20235 35 DEPENDS="alsa-lib pulseaudio dbus glib jack libsndfile ncurses \
al@20235 36 readline ladspa"
al@20235 37 TAGS="synthesizer audio multimedia"
al@20235 38 ;;
al@20235 39 *-dev)
al@20235 40 copy @dev
al@20235 41 ;;
al@20235 42 esac
jozee@6827 43 }