wok-next rev 19742

Up alsaplayer and alsa-lib to v2.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jun 05 19:31:24 2017 +0000 (2017-06-05)
parents 9278a60d6895
children 7387df590f12
files alsa-lib-dev/receipt alsa-lib/receipt alsaplayer-dev/receipt alsaplayer-scopes/receipt alsaplayer/receipt
line diff
     1.1 --- a/alsa-lib-dev/receipt	Mon Jun 05 16:48:55 2017 +0300
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,27 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="alsa-lib-dev"
     1.7 -VERSION="1.0.27.2"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Alsa sound libraries devel files."
    1.10 -MAINTAINER="pankso@slitaz.org"
    1.11 -LICENSE="LGPL2.1"
    1.12 -WANTED="alsa-lib"
    1.13 -WEB_SITE="http://www.alsa-project.org/"
    1.14 -HOST_ARCH="i486 arm"
    1.15 -
    1.16 -DEPENDS="alsa-lib"
    1.17 -
    1.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 -genpkg_rules()
    1.20 -{
    1.21 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.22 -	cp -a $install/usr/include $fs/usr
    1.23 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.25 -	cp -a $install/usr/share/aclocal $fs/usr/share
    1.26 -	# Copy all and then remove shared libs.
    1.27 -	cp -a $install/usr/lib/alsa-lib $fs/usr/lib
    1.28 -	rm $fs/usr/lib/alsa-lib/smixer/*.so*
    1.29 -}
    1.30 -
     2.1 --- a/alsa-lib/receipt	Mon Jun 05 16:48:55 2017 +0300
     2.2 +++ b/alsa-lib/receipt	Mon Jun 05 19:31:24 2017 +0000
     2.3 @@ -1,4 +1,4 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="alsa-lib"
     2.8  VERSION="1.0.27.2"
     2.9 @@ -11,7 +11,7 @@
    2.10  WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
    2.11  HOST_ARCH="i486 arm"
    2.12  
    2.13 -DEPENDS="linux"
    2.14 +SPLIT="alsa-lib-dev"
    2.15  
    2.16  # Rules to configure and make the package.
    2.17  compile_rules()
    2.18 @@ -25,13 +25,15 @@
    2.19  genpkg_rules()
    2.20  {
    2.21  	# Enable software mixing for multiple audio streams
    2.22 -	mkdir -p $fs/etc
    2.23 -	cp $stuff/asound.conf $fs/etc
    2.24 -	mkdir -p $fs/usr/lib $fs/usr/share
    2.25 -	cp -a $install/usr/bin $fs/usr
    2.26 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.27 -	cp -a $install/usr/lib/alsa-lib $fs/usr/lib
    2.28 -	cp -a $install/usr/share/alsa $fs/usr/share
    2.29 -	rm $fs/usr/lib/alsa-lib/smixer/*.*a
    2.30 +	case $PACKAGE in
    2.31 +		alsa-lib)
    2.32 +			copy @std
    2.33 +			mkdir -p $fs/etc
    2.34 +			cp $stuff/asound.conf $fs/etc
    2.35 +			DEPENDS="linux"
    2.36 +			;;
    2.37 +		alsa-lib-dev)
    2.38 +			copy @dev ;;
    2.39 +	esac
    2.40  }
    2.41  
     3.1 --- a/alsaplayer-dev/receipt	Mon Jun 05 16:48:55 2017 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,24 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="alsaplayer-dev"
     3.7 -VERSION="0.99.81"
     3.8 -CATEGORY="development"
     3.9 -SHORT_DESC="Alsa GTK+ PCM player devel files."
    3.10 -MAINTAINER="pankso@slitaz.org"
    3.11 -LICENSE="GPL3"
    3.12 -WANTED="alsaplayer"
    3.13 -WEB_SITE="http://www.alsaplayer.org/"
    3.14 -HOST_ARCH="i486 arm"
    3.15 -
    3.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.17 -genpkg_rules()
    3.18 -{
    3.19 -	mkdir -p $fs/usr/lib
    3.20 -	cp -a $install/usr/include $fs/usr
    3.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.23 -	cp -a $install/usr/lib/alsaplayer $fs/usr/lib
    3.24 -	# Remove shared libs.
    3.25 -	rm $fs/usr/lib/alsaplayer/*/*.so
    3.26 -}
    3.27 -
     4.1 --- a/alsaplayer-scopes/receipt	Mon Jun 05 16:48:55 2017 +0300
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,22 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="alsaplayer-scopes"
     4.7 -VERSION="0.99.81"
     4.8 -CATEGORY="multimedia"
     4.9 -SHORT_DESC="Alsa GTK+ PCM player scopes."
    4.10 -MAINTAINER="pankso@slitaz.org"
    4.11 -LICENSE="GPL3"
    4.12 -WANTED="alsaplayer"
    4.13 -WEB_SITE="http://www.alsaplayer.org/"
    4.14 -HOST_ARCH="i486 arm"
    4.15 -
    4.16 -DEPENDS="alsaplayer"
    4.17 -
    4.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.19 -genpkg_rules()
    4.20 -{
    4.21 -	mkdir -p $fs/usr/lib/alsaplayer
    4.22 -	cp -a $install/usr/lib/alsaplayer/scopes2 \
    4.23 -		$fs/usr/lib/alsaplayer
    4.24 -}
    4.25 -
     5.1 --- a/alsaplayer/receipt	Mon Jun 05 16:48:55 2017 +0300
     5.2 +++ b/alsaplayer/receipt	Mon Jun 05 19:31:24 2017 +0000
     5.3 @@ -1,4 +1,4 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="alsaplayer"
     5.8  VERSION="0.99.81"
     5.9 @@ -13,8 +13,9 @@
    5.10  HOST_ARCH="i486 arm"
    5.11  
    5.12  SUGGESTED="alsaplayer-scopes libid3tag flac"
    5.13 -DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
    5.14 +
    5.15  BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
    5.16 +SPLIT="alsaplayer-dev alsaplayer-scopes"
    5.17  
    5.18  # Handle cross compilation.
    5.19  case "$ARCH" in
    5.20 @@ -43,13 +44,21 @@
    5.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.22  genpkg_rules()
    5.23  {
    5.24 -	mkdir -p $fs/usr/lib
    5.25 -
    5.26 -	cp -a $install/usr/bin $fs/usr
    5.27 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.28 -	cp -a $install/usr/lib/alsaplayer $fs/usr/lib
    5.29 -
    5.30 -	# Remove devel files and scopes.
    5.31 -	rm $fs/usr/lib/alsaplayer/*/*.*a
    5.32 -	rm -rf $fs/usr/lib/alsaplayer/scopes2
    5.33 +	case $PACKAGE in
    5.34 +		alsaplayer)
    5.35 +			copy @std
    5.36 +			# Remove devel files and scopes.
    5.37 +			rm $fs/usr/lib/alsaplayer/*/*.*a
    5.38 +			rm -rf $fs/usr/lib/alsaplayer/scopes2
    5.39 +			DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
    5.40 +			;;
    5.41 +		alsaplayer-dev)
    5.42 +			copy @dev
    5.43 +			;;
    5.44 +		alsaplayer-scopes)
    5.45 +			mkdir -p $fs/usr/lib/alsaplayer
    5.46 +			cp -a $install/usr/lib/alsaplayer/scopes2 \
    5.47 +				$fs/usr/lib/alsaplayer
    5.48 +			;;
    5.49 +	esac
    5.50  }