wok-6.x annotate pulseaudio/receipt @ rev 21661

updated pass (1.6.5 -> 1.7.3)
author Hans-G?nter Theisgen
date Sat Jun 01 10:26:51 2019 +0100 (2019-06-01)
parents 0ef3d31c67c8
children 230b437620ca
rev   line source
pascal@17005 1 # SliTaz package receipt.
pascal@17005 2
pascal@17005 3 PACKAGE="pulseaudio"
al@19860 4 VERSION="8.0"
pascal@17005 5 CATEGORY="multimedia"
al@19860 6 SHORT_DESC="A sound system for POSIX OSes"
pascal@17005 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17006 8 LICENSE="LGPL2.1 GPL2 MIT"
al@19860 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/PulseAudio/"
al@19860 10
pascal@17005 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19860 12 WGET_URL="http://freedesktop.org/software/pulseaudio/releases/$TARBALL"
mojo@21148 13 CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \
mojo@21148 14 /etc/pulse/default.pa"
pascal@17005 15
pascal@17016 16 DEPENDS="libcap libjson-c libsndfile flac libvorbis dbus gdbm libcap attr \
pascal@20438 17 speex libsamplerate libltdl jack-audio-connection-kit"
pascal@17005 18 BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
pascal@17007 19 libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-uuid-dev \
pascal@20438 20 dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev file \
pascal@20438 21 jack-audio-connection-kit-dev"
al@19860 22 SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
pascal@17005 23
pascal@17005 24 # Rules to configure and make the package.
pascal@17005 25 compile_rules()
pascal@17005 26 {
pascal@20252 27 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
pascal@17005 28 ./bootstrap.sh
al@19860 29 ./configure \
pascal@17005 30 --sysconfdir=/etc \
al@19860 31 --localstatedir=/var \
al@19860 32 --disable-bluez4 \
al@19860 33 --disable-systemd-daemon \
al@19860 34 --disable-systemd-login \
al@19860 35 --disable-systemd-journal \
al@19860 36 --disable-oss-output \
al@19860 37 --disable-oss-wrapper \
al@19860 38 --disable-esound \
al@19860 39 --disable-rpath \
al@19860 40 --with-udev-rules-dir=/etc/udev/rules.d \
pascal@17005 41 $CONFIGURE_ARGS &&
pascal@17005 42 make &&
al@19860 43 make -j1 install
pascal@17005 44 }
pascal@17005 45
pascal@17005 46 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17005 47 genpkg_rules()
pascal@17005 48 {
al@19860 49 cook_copy_folders bin
al@19860 50 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
al@19860 51 find $fs -name '*console-kit*' -delete
pascal@17005 52 }