wok-next diff pulseaudio/receipt @ rev 21198

updated pulseaudio (10.0 -> 12.2)
author Hans-G?nter Theisgen
date Fri Nov 29 17:34:14 2019 +0100 (2019-11-29)
parents 5669e8b3be70
children bc2b795b38a8
line diff
     1.1 --- a/pulseaudio/receipt	Sat Dec 22 04:52:35 2018 +0200
     1.2 +++ b/pulseaudio/receipt	Fri Nov 29 17:34:14 2019 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="pulseaudio"
     1.7 -VERSION="10.0"
     1.8 +VERSION="12.2"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="A sound system for POSIX OSes"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -12,20 +12,26 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WGET_URL="https://www.freedesktop.org/software/pulseaudio/releases/$TARBALL"
    1.15  
    1.16 -BUILD_DEPENDS="intltool libtool libxcb-dev libice-dev libsm-dev \
    1.17 -libxtst-dev libcap-dev check-dev libsndfile-dev alsa-lib-dev gtk3-dev \
    1.18 -dbus-dev eudev-dev openssl-dev speexdsp-dev"
    1.19 +BUILD_DEPENDS="alsa-lib-dev check-dev dbus-dev eudev-dev gcc83 gtk3-dev 
    1.20 +	intltool libcap-dev libice-dev libsm-dev libsndfile-dev libtool 
    1.21 +	libxcb-dev libxtst-dev openssl-dev speexdsp-dev"
    1.22  SPLIT="$PACKAGE-alsa $PACKAGE-cli $PACKAGE-esound $PACKAGE-glib $PACKAGE-http \
    1.23 -$PACKAGE-native $PACKAGE-rtp $PACKAGE-simple $PACKAGE $PACKAGE-dev"
    1.24 +	$PACKAGE-native $PACKAGE-rtp $PACKAGE-simple $PACKAGE $PACKAGE-dev"
    1.25  
    1.26 -compile_rules() {
    1.27 -	./configure \
    1.28 -		--disable-bluez4 \
    1.29 -		--disable-bluez5 \
    1.30 -		--disable-rpath \
    1.31 -		\
    1.32 -		--disable-oss-output \
    1.33 -		--disable-oss-wrapper \
    1.34 +compile_rules()
    1.35 +{
    1.36 +	./bootstrap.sh &&
    1.37 +	./configure				\
    1.38 +		CC=gcc-83			\
    1.39 +		CXX=g++-83			\
    1.40 +		--disable-bluez4		\
    1.41 +		--disable-bluez5		\
    1.42 +		--disable-rpath			\
    1.43 +		--disable-systemd-daemon	\
    1.44 +		--disable-systemd-login		\
    1.45 +		--disable-systemd-journal	\
    1.46 +		--disable-oss-output		\
    1.47 +		--disable-oss-wrapper		\
    1.48  		$CONFIGURE_ARGS &&
    1.49  	fix libtool &&
    1.50  	make &&
    1.51 @@ -35,38 +41,39 @@
    1.52  	sed -i '/load-module module-console-kit/ s|^|#|' $install/etc/pulse/default.pa
    1.53  }
    1.54  
    1.55 -genpkg_rules() {
    1.56 +genpkg_rules()
    1.57 +{
    1.58  	case $PACKAGE in
    1.59 -		*-alsa)
    1.60 +		(*-alsa)
    1.61  			copy libalsa-util.so module-alsa-sink.so module-alsa-source.so \
    1.62  			module-alsa-card.so alsa-mixer/
    1.63  			CAT="multimedia|ALSA support"
    1.64  			DEPENDS="alsa-lib dbus eudev pulseaudio"
    1.65  			;;
    1.66 -		*-cli)
    1.67 +		(*-cli)
    1.68  			copy libcli.so module-cli.so libprotocol-cli.so \
    1.69  			module-cli-protocol-tcp.so module-cli-protocol-unix.so
    1.70  			CAT="multimedia|CLI support"
    1.71  			DEPENDS="pulseaudio"
    1.72  			;;
    1.73 -		*-esound)
    1.74 +		(*-esound)
    1.75  			copy libprotocol-esound.so module-esound-protocol-tcp.so \
    1.76  			module-esound-protocol-unix.so
    1.77  			CAT="multimedia|EsounD protocol support"
    1.78  			DEPENDS="pulseaudio"
    1.79  			;;
    1.80 -		*-glib)
    1.81 +		(*-glib)
    1.82  			copy libpulse-mainloop-glib.so*
    1.83  			CAT="multimedia|Glib bindings"
    1.84  			DEPENDS="glib pulseaudio"
    1.85  			;;
    1.86 -		*-http)
    1.87 +		(*-http)
    1.88  			copy libprotocol-http.so module-http-protocol-tcp.so \
    1.89  			module-http-protocol-unix.so module-rygel-media-server.so
    1.90  			CAT="multimedia|HTTP protocol support"
    1.91  			DEPENDS="dbus pulseaudio"
    1.92  			;;
    1.93 -		*-native)
    1.94 +		(*-native)
    1.95  			copy libprotocol-native.so module-native-protocol-tcp.so \
    1.96  			module-native-protocol-fd.so module-native-protocol-unix.so \
    1.97  			module-x11-publish.so module-stream-restore.so \
    1.98 @@ -74,26 +81,26 @@
    1.99  			CAT="multimedia|native protocol support"
   1.100  			DEPENDS="dbus pulseaudio libxcb"
   1.101  			;;
   1.102 -		*-rtp)
   1.103 +		(*-rtp)
   1.104  			copy librtp.so module-rtp-recv.so module-rtp-send.so libraop.so \
   1.105  			module-raop-sink.so
   1.106  			CAT="multimedia|RTP protocol support"
   1.107  			DEPENDS="openssl pulseaudio"
   1.108  			;;
   1.109 -		*-simple)
   1.110 +		(*-simple)
   1.111  			copy libprotocol-simple.so module-simple-protocol-tcp.so \
   1.112  			module-simple-protocol-unix.so
   1.113  			CAT="multimedia|simple protocol support"
   1.114  			DEPENDS="pulseaudio"
   1.115  			;;
   1.116 -		pulseaudio)
   1.117 +		(pulseaudio)
   1.118  			copy @std @rm
   1.119  			CAT="multimedia|main part"
   1.120  			DEPENDS="dbus eudev libcap libltdl libsndfile speexdsp \
   1.121  			libice libsm libx11 libxtst libxcb"
   1.122  			SUGGESTED="consolekit2"
   1.123  			;;
   1.124 -		*-dev)
   1.125 +		(*-dev)
   1.126  			copy @dev
   1.127  			DEPENDS="${SPLIT/$PACKAGE/} glib-dev"
   1.128  			;;