wok diff pulseaudio/receipt @ rev 19980

Up kriss_feed (8.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 15 08:14:05 2017 +0200 (2017-06-15)
parents 8ed808e48732
children 65b8664ee183
line diff
     1.1 --- a/pulseaudio/receipt	Mon Mar 23 00:00:29 2015 -0400
     1.2 +++ b/pulseaudio/receipt	Thu Jun 15 08:14:05 2017 +0200
     1.3 @@ -1,40 +1,48 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pulseaudio"
     1.7 -VERSION="5.0"
     1.8 +VERSION="8.0"
     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 -WEB_SITE="http://www.pulseaudio.org/"
    1.18 -WGET_URL="http://www.freedesktop.org/software/pulseaudio/releases/$TARBALL"
    1.19 +WGET_URL="http://freedesktop.org/software/pulseaudio/releases/$TARBALL"
    1.20  
    1.21  DEPENDS="libcap libjson-c libsndfile flac libvorbis dbus gdbm libcap attr \
    1.22  speex libsamplerate"
    1.23  BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
    1.24  libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-uuid-dev \
    1.25  dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev"
    1.26 +SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31  	./bootstrap.sh
    1.32 -	./configure --prefix=/usr \
    1.33 +	./configure \
    1.34  		--sysconfdir=/etc \
    1.35 +		--localstatedir=/var \
    1.36 +		--disable-bluez4 \
    1.37 +		--disable-systemd-daemon \
    1.38 +		--disable-systemd-login \
    1.39 +		--disable-systemd-journal \
    1.40 +		--disable-oss-output \
    1.41 +		--disable-oss-wrapper \
    1.42 +		--disable-esound \
    1.43 +		--disable-rpath \
    1.44 +		--with-udev-rules-dir=/etc/udev/rules.d \
    1.45  		$CONFIGURE_ARGS &&
    1.46  	make &&
    1.47 -	make -j 1 DESTDIR=$DESTDIR install
    1.48 +	make -j1 install
    1.49  }
    1.50  
    1.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.52  genpkg_rules()
    1.53  {
    1.54 -	mkdir -p $fs/usr/lib/pulseaudio
    1.55 -	cp -a $install/etc $fs
    1.56 -	cp -a $install/usr/bin $fs/usr
    1.57 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.58 -	cp -a $install/usr/lib/pulseaudio/*.so* $fs/usr/lib/pulseaudio
    1.59 -	cp -a $install/usr/lib/pulse-$VERSION $fs/usr/lib
    1.60 -	rm -fr $fs/etc/dbus-1
    1.61 +	cook_copy_folders bin
    1.62 +	cook_copy_files *.pa *.conf *.rules *.desktop *.so*
    1.63 +	find $fs -name '*console-kit*' -delete
    1.64  }