wok-next diff fluidsynth/receipt @ rev 20976

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents fb478984fbc8
children d5aab818505e
line diff
     1.1 --- a/fluidsynth/receipt	Fri Aug 04 16:04:04 2017 +0300
     1.2 +++ b/fluidsynth/receipt	Tue Sep 25 17:35:51 2018 +0300
     1.3 @@ -1,32 +1,41 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="fluidsynth"
     1.8 -VERSION="1.1.3"
     1.9 +VERSION="1.1.8"
    1.10  CATEGORY="multimedia"
    1.11 +SHORT_DESC="A real-time software synthesizer based on the SoundFont 2 specifications"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="LGPL2"
    1.14 -SHORT_DESC="A real-time software synthesizer based on the SoundFont 2 specifications."
    1.15  WEB_SITE="http://www.fluidsynth.org/"
    1.16 -DEPENDS="glib jack ladspa"
    1.17 -BUILD_DEPENDS="glib-dev jack-dev ladspa-dev pkg-config"
    1.18 +
    1.19  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.21 -TAGS="synthesizer audio multimedia"
    1.22 +WGET_URL="https://github.com/FluidSynth/fluidsynth/archive/v$VERSION.tar.gz"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 +BUILD_DEPENDS="cmake ladspa-dev glib-dev libsndfile-dev pulseaudio-dev \
    1.26 +alsa-lib-dev jack-dev dbus-dev readline-dev"
    1.27 +SPLIT="fluidsynth-dev"
    1.28  
    1.29  compile_rules() {
    1.30 -  cd $src
    1.31 -  ./configure --prefix=/usr --enable-ladspa $CONFIGURE_ARGS &&
    1.32 -  make &&
    1.33 -  make DESTDIR=$DESTDIR install
    1.34 +	mkdir build
    1.35 +	cd    build
    1.36 +	cmake \
    1.37 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.38 +		-Denable-ladspa=1 \
    1.39 +		.. &&
    1.40 +	make &&
    1.41 +	make install
    1.42  }
    1.43 -	
    1.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 -genpkg_rules()
    1.46 -{
    1.47 -	mkdir -p $fs/usr/lib 
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/usr/lib/*so* $fs/usr/lib/
    1.50 -	
    1.51 +
    1.52 +genpkg_rules() {
    1.53 +	case $PACKAGE in
    1.54 +		fluidsynth)
    1.55 +			copy @std
    1.56 +			DEPENDS="alsa-lib pulseaudio dbus glib jack libsndfile ncurses \
    1.57 +			readline   ladspa"
    1.58 +			TAGS="synthesizer audio multimedia"
    1.59 +			;;
    1.60 +		*-dev)
    1.61 +			copy @dev
    1.62 +			;;
    1.63 +	esac
    1.64  }