wok-next rev 21560

updated cmus (2.7.1 -> 2.8.0)
author Hans-G?nter Theisgen
date Mon Jun 22 14:31:56 2020 +0100 (2020-06-22)
parents a923f715f955
children 3653337101e3
files cmus/receipt
line diff
     1.1 --- a/cmus/receipt	Mon Jun 22 14:24:24 2020 +0100
     1.2 +++ b/cmus/receipt	Mon Jun 22 14:31:56 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cmus"
     1.7 -VERSION="2.7.1"
     1.8 +VERSION="2.8.0"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Small, fast and powerful console music player"
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -11,32 +11,36 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="https://github.com/cmus/cmus/archive/v$VERSION.tar.gz"
    1.15  
    1.16 -BUILD_DEPENDS="ncurses-dev libcddb-dev libcdio-paranoia-dev flac-dev \
    1.17 -libmad-dev libmodplug-dev libvorbis-dev opusfile-dev wavpack-dev faad2-dev \
    1.18 -ffmpeg-dev libcue-dev pulseaudio-dev alsa-lib-dev jack-dev libsamplerate-dev \
    1.19 -libao-dev"
    1.20 +BUILD_DEPENDS="alsa-lib-dev faad2-dev ffmpeg-dev flac-dev jack-dev
    1.21 +	libao-dev libcddb-dev libcdio-paranoia-dev libcue-dev libmad-dev
    1.22 +	libmodplug-dev libsamplerate-dev libvorbis-dev ncurses-dev
    1.23 +	opusfile-dev pulseaudio-dev wavpack-dev"
    1.24  SPLIT="$PACKAGE-plugins $PACKAGE"
    1.25  
    1.26 -compile_rules() {
    1.27 +compile_rules()
    1.28 +{
    1.29  	# can't use $CONFIGURE_ARGS
    1.30 -	./configure \
    1.31 +	./configure		\
    1.32  		prefix=/usr &&
    1.33  	make &&
    1.34  	make install
    1.35  }
    1.36  
    1.37 -genpkg_rules() {
    1.38 +genpkg_rules()
    1.39 +{
    1.40  	case $PACKAGE in
    1.41  		*-plugins)
    1.42  			# cue.so in the main package because bin/cmus depends on libcue too
    1.43  			copy aac.so cdio.so modplug.so wavpack.so ao.so jack.so oss.so \
    1.44  			pulse.so
    1.45 +
    1.46  			CAT="multimedia|extra plugins"
    1.47  			DEPENDS="cmus faad2 jack libao libcddb libcdio libcdio-paranoia \
    1.48 -			libmodplug libsamplerate pulseaudio wavpack"
    1.49 +				libmodplug libsamplerate pulseaudio wavpack"
    1.50  			;;
    1.51  		*)
    1.52  			copy @std @rm
    1.53 +
    1.54  			DEPENDS="alsa-lib flac libcue libmad libvorbis ncurses opusfile"
    1.55  			;;
    1.56  	esac