wok diff pulseaudio/receipt @ rev 21989

fasm: build fasmarm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 15 18:06:41 2019 +0200 (2019-10-15)
parents b7c11d7da2cc
children 8497f0e1eea5
line diff
     1.1 --- a/pulseaudio/receipt	Thu Mar 28 17:43:17 2019 -0400
     1.2 +++ b/pulseaudio/receipt	Tue Oct 15 18:06:41 2019 +0200
     1.3 @@ -1,43 +1,46 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pulseaudio"
     1.7 -VERSION="8.0"
     1.8 +VERSION="12.2"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="A sound system for POSIX OSes"
    1.11 +SHORT_DESC="A sound system for POSIX OSes."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL2.1 GPL2 MIT"
    1.14  WEB_SITE="https://www.freedesktop.org/wiki/Software/PulseAudio/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WGET_URL="http://freedesktop.org/software/pulseaudio/releases/$TARBALL"
    1.18 +WGET_URL="http://freedesktop.org/software/$PACKAGE/releases/$TARBALL"
    1.19 +
    1.20 +DEPENDS="attr dbus flac gcc83-lib-base gdbm jack-audio-connection-kit \
    1.21 +	libcap libjson-c libsamplerate libsndfile libltdl libvorbis \
    1.22 +	speex"
    1.23 +BUILD_DEPENDS="alsa-lib-dev autoconf automake dbus-dev file flac-dev \
    1.24 +	gcc83 intltool jack-audio-connection-kit-dev libcap-dev \
    1.25 +	libjson-c-dev libsamplerate-dev libsndfile-dev libtool libvorbis-dev \
    1.26 +	m4 pkg-config speex-dev udev-dev util-linux-uuid-dev"
    1.27 +SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
    1.28  CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \
    1.29 -/etc/pulse/default.pa"
    1.30 -
    1.31 -DEPENDS="libcap libjson-c libsndfile flac libvorbis dbus gdbm libcap attr \
    1.32 -speex libsamplerate libltdl jack-audio-connection-kit"
    1.33 -BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
    1.34 -libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-uuid-dev \
    1.35 -dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev file \
    1.36 -jack-audio-connection-kit-dev"
    1.37 -SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
    1.38 +	/etc/pulse/default.pa"
    1.39  
    1.40  # Rules to configure and make the package.
    1.41  compile_rules()
    1.42  {
    1.43  	grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
    1.44  	./bootstrap.sh
    1.45 -	./configure \
    1.46 -		--sysconfdir=/etc \
    1.47 -		--localstatedir=/var \
    1.48 -		--disable-bluez4 \
    1.49 -		--disable-systemd-daemon \
    1.50 -		--disable-systemd-login \
    1.51 -		--disable-systemd-journal \
    1.52 -		--disable-oss-output \
    1.53 -		--disable-oss-wrapper \
    1.54 -		--disable-esound \
    1.55 -		--disable-rpath \
    1.56 -		--with-udev-rules-dir=/etc/udev/rules.d \
    1.57 +	./configure					\
    1.58 +		CC=gcc-83				\
    1.59 +		CXX=g++-83				\
    1.60 +		--sysconfdir=/etc			\
    1.61 +		--localstatedir=/var			\
    1.62 +		--disable-bluez4			\
    1.63 +		--disable-systemd-daemon		\
    1.64 +		--disable-systemd-login			\
    1.65 +		--disable-systemd-journal		\
    1.66 +		--disable-oss-output			\
    1.67 +		--disable-oss-wrapper			\
    1.68 +		--disable-esound			\
    1.69 +		--disable-rpath				\
    1.70 +		--with-udev-rules-dir=/etc/udev/rules.d	\
    1.71  		$CONFIGURE_ARGS &&
    1.72  	make &&
    1.73  	make -j1 install
    1.74 @@ -46,7 +49,8 @@
    1.75  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.76  genpkg_rules()
    1.77  {
    1.78 -	cook_copy_folders bin
    1.79 -	cook_copy_files *.pa *.conf *.rules *.desktop *.so*
    1.80 +	cook_copy_folders	bin
    1.81 +	cook_copy_files		*.pa *.conf *.rules *.desktop *.so*
    1.82 +
    1.83  	find $fs -name '*console-kit*' -delete
    1.84  }