wok-current rev 19860

pulseaudio: fix/up 8.0
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 23 15:16:20 2017 +0200 (2017-03-23)
parents f02043146f5b
children eeaaeada151a
files pulseaudio-dev/receipt pulseaudio-locale/receipt pulseaudio-man/receipt pulseaudio-vala/receipt pulseaudio/receipt
line diff
     1.1 --- a/pulseaudio-dev/receipt	Sat Mar 18 15:33:58 2017 +0100
     1.2 +++ b/pulseaudio-dev/receipt	Thu Mar 23 15:16:20 2017 +0200
     1.3 @@ -1,23 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pulseaudio-dev"
     1.7 -VERSION="5.0"
     1.8 +VERSION="8.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="A sound system for POSIX OSes, development files."
    1.11 +SHORT_DESC="A sound system for POSIX OSes (development files)"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL2.1 GPL2 MIT"
    1.14  WEB_SITE="http://www.pulseaudio.org/"
    1.15 +
    1.16  WANTED="pulseaudio"
    1.17 -
    1.18 -DEPENDS="pulseaudio pkg-config"
    1.19 +DEPENDS="pulseaudio"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/lib/pulseaudio
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/pulseaudio/*a $fs/usr/lib/pulseaudio
    1.28 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.29 -	cp -a $install/usr/lib/cmake $fs/usr/lib
    1.30 +	cook_copy_files *.h *.la *.pc *.cmake
    1.31  }
     2.1 --- a/pulseaudio-locale/receipt	Sat Mar 18 15:33:58 2017 +0100
     2.2 +++ b/pulseaudio-locale/receipt	Thu Mar 23 15:16:20 2017 +0200
     2.3 @@ -1,19 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pulseaudio-locale"
     2.7 -VERSION="5.0"
     2.8 +VERSION="8.0"
     2.9  CATEGORY="localization"
    2.10 -SHORT_DESC="A sound system for POSIX OSes, locales."
    2.11 +SHORT_DESC="A sound system for POSIX OSes (locales)"
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="LGPL2.1 GPL2 MIT"
    2.14  WEB_SITE="http://www.pulseaudio.org/"
    2.15 +
    2.16  WANTED="pulseaudio"
    2.17 -
    2.18  DEPENDS="pulseaudio"
    2.19  
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21  genpkg_rules()
    2.22  {
    2.23 -	mkdir -p $fs/usr/share
    2.24 -	cp -a $install/usr/share/locale $fs/usr/share
    2.25 +	cook_copy_folders locale
    2.26  }
     3.1 --- a/pulseaudio-man/receipt	Sat Mar 18 15:33:58 2017 +0100
     3.2 +++ b/pulseaudio-man/receipt	Thu Mar 23 15:16:20 2017 +0200
     3.3 @@ -1,19 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="pulseaudio-man"
     3.7 -VERSION="5.0"
     3.8 +VERSION="6.0"
     3.9  CATEGORY="development"
    3.10 -SHORT_DESC="A sound system for POSIX OSes, man files."
    3.11 +SHORT_DESC="A sound system for POSIX OSes (man pages)"
    3.12  MAINTAINER="pascal.bellard@slitaz.org"
    3.13  LICENSE="LGPL2.1 GPL2 MIT"
    3.14  WEB_SITE="http://www.pulseaudio.org/"
    3.15 +
    3.16  WANTED="pulseaudio"
    3.17 -
    3.18  DEPENDS="pulseaudio"
    3.19  
    3.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.21  genpkg_rules()
    3.22  {
    3.23 -	mkdir -p $fs/usr/share
    3.24 -	cp -a $install/usr/share/man $fs/usr/share
    3.25 +	cook_copy_folders man
    3.26  }
     4.1 --- a/pulseaudio-vala/receipt	Sat Mar 18 15:33:58 2017 +0100
     4.2 +++ b/pulseaudio-vala/receipt	Thu Mar 23 15:16:20 2017 +0200
     4.3 @@ -1,19 +1,18 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="pulseaudio-vala"
     4.7 -VERSION="5.0"
     4.8 +VERSION="8.0"
     4.9  CATEGORY="development"
    4.10 -SHORT_DESC="A sound system for POSIX OSes, vala files."
    4.11 +SHORT_DESC="A sound system for POSIX OSes (Vala files)"
    4.12  MAINTAINER="pascal.bellard@slitaz.org"
    4.13  LICENSE="LGPL2.1 GPL2 MIT"
    4.14  WEB_SITE="http://www.pulseaudio.org/"
    4.15 +
    4.16  WANTED="pulseaudio"
    4.17 -
    4.18  DEPENDS="pulseaudio"
    4.19  
    4.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.21  genpkg_rules()
    4.22  {
    4.23 -	mkdir -p $fs/usr/share
    4.24 -	cp -a $install/usr/share/vala $fs/usr/share
    4.25 +	cook_copy_folders vala
    4.26  }
     5.1 --- a/pulseaudio/receipt	Sat Mar 18 15:33:58 2017 +0100
     5.2 +++ b/pulseaudio/receipt	Thu Mar 23 15:16:20 2017 +0200
     5.3 @@ -1,40 +1,48 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="pulseaudio"
     5.7 -VERSION="5.0"
     5.8 +VERSION="8.0"
     5.9  CATEGORY="multimedia"
    5.10 -SHORT_DESC="A sound system for POSIX OSes."
    5.11 +SHORT_DESC="A sound system for POSIX OSes"
    5.12  MAINTAINER="pascal.bellard@slitaz.org"
    5.13  LICENSE="LGPL2.1 GPL2 MIT"
    5.14 +WEB_SITE="https://www.freedesktop.org/wiki/Software/PulseAudio/"
    5.15 +
    5.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    5.17 -WEB_SITE="http://www.pulseaudio.org/"
    5.18 -WGET_URL="http://www.freedesktop.org/software/pulseaudio/releases/$TARBALL"
    5.19 +WGET_URL="http://freedesktop.org/software/pulseaudio/releases/$TARBALL"
    5.20  
    5.21  DEPENDS="libcap libjson-c libsndfile flac libvorbis dbus gdbm libcap attr \
    5.22  speex libsamplerate"
    5.23  BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
    5.24  libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-uuid-dev \
    5.25  dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev"
    5.26 +SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
    5.27  
    5.28  # Rules to configure and make the package.
    5.29  compile_rules()
    5.30  {
    5.31  	./bootstrap.sh
    5.32 -	./configure --prefix=/usr \
    5.33 +	./configure \
    5.34  		--sysconfdir=/etc \
    5.35 +		--localstatedir=/var \
    5.36 +		--disable-bluez4 \
    5.37 +		--disable-systemd-daemon \
    5.38 +		--disable-systemd-login \
    5.39 +		--disable-systemd-journal \
    5.40 +		--disable-oss-output \
    5.41 +		--disable-oss-wrapper \
    5.42 +		--disable-esound \
    5.43 +		--disable-rpath \
    5.44 +		--with-udev-rules-dir=/etc/udev/rules.d \
    5.45  		$CONFIGURE_ARGS &&
    5.46  	make &&
    5.47 -	make -j 1 DESTDIR=$DESTDIR install
    5.48 +	make -j1 install
    5.49  }
    5.50  
    5.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.52  genpkg_rules()
    5.53  {
    5.54 -	mkdir -p $fs/usr/lib/pulseaudio
    5.55 -	cp -a $install/etc $fs
    5.56 -	cp -a $install/usr/bin $fs/usr
    5.57 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.58 -	cp -a $install/usr/lib/pulseaudio/*.so* $fs/usr/lib/pulseaudio
    5.59 -	cp -a $install/usr/lib/pulse-$VERSION $fs/usr/lib
    5.60 -	rm -fr $fs/etc/dbus-1
    5.61 +	cook_copy_folders bin
    5.62 +	cook_copy_files *.pa *.conf *.rules *.desktop *.so*
    5.63 +	find $fs -name '*console-kit*' -delete
    5.64  }