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

updated pulseaudio packages (12.2 -> 13.0)
author Hans-G?nter Theisgen
date Fri Apr 03 13:36:20 2020 +0100 (2020-04-03)
parents 230b437620ca
children 26c95e297eed
rev   line source
pascal@17005 1 # SliTaz package receipt.
pascal@17005 2
pascal@17005 3 PACKAGE="pulseaudio"
Hans-G?nter@23454 4 VERSION="13.0"
pascal@17005 5 CATEGORY="multimedia"
Hans-G?nter@21727 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"
Hans-G?nter@21727 12 WGET_URL="http://freedesktop.org/software/$PACKAGE/releases/$TARBALL"
Hans-G?nter@21727 13
Hans-G?nter@21727 14 DEPENDS="attr dbus flac gcc83-lib-base gdbm jack-audio-connection-kit \
Hans-G?nter@21727 15 libcap libjson-c libsamplerate libsndfile libltdl libvorbis \
Hans-G?nter@21727 16 speex"
Hans-G?nter@21727 17 BUILD_DEPENDS="alsa-lib-dev autoconf automake dbus-dev file flac-dev \
Hans-G?nter@21727 18 gcc83 intltool jack-audio-connection-kit-dev libcap-dev \
Hans-G?nter@21727 19 libjson-c-dev libsamplerate-dev libsndfile-dev libtool libvorbis-dev \
Hans-G?nter@21727 20 m4 pkg-config speex-dev udev-dev util-linux-uuid-dev"
Hans-G?nter@21727 21 SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
Hans-G?nter@23454 22
mojo@21148 23 CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \
Hans-G?nter@21727 24 /etc/pulse/default.pa"
pascal@17005 25
pascal@17005 26 # Rules to configure and make the package.
pascal@17005 27 compile_rules()
pascal@17005 28 {
pascal@20252 29 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
Hans-G?nter@23454 30
Hans-G?nter@23454 31 ./bootstrap.sh &&
Hans-G?nter@21727 32 ./configure \
Hans-G?nter@21727 33 CC=gcc-83 \
Hans-G?nter@21727 34 CXX=g++-83 \
Hans-G?nter@21727 35 --sysconfdir=/etc \
Hans-G?nter@21727 36 --localstatedir=/var \
Hans-G?nter@21727 37 --disable-bluez4 \
Hans-G?nter@21727 38 --disable-systemd-daemon \
Hans-G?nter@21727 39 --disable-systemd-login \
Hans-G?nter@21727 40 --disable-systemd-journal \
Hans-G?nter@21727 41 --disable-oss-output \
Hans-G?nter@21727 42 --disable-oss-wrapper \
Hans-G?nter@21727 43 --disable-esound \
Hans-G?nter@21727 44 --disable-rpath \
Hans-G?nter@21727 45 --with-udev-rules-dir=/etc/udev/rules.d \
pascal@17005 46 $CONFIGURE_ARGS &&
pascal@17005 47 make &&
al@19860 48 make -j1 install
pascal@17005 49 }
pascal@17005 50
pascal@17005 51 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17005 52 genpkg_rules()
pascal@17005 53 {
Hans-G?nter@21727 54 cook_copy_folders bin
Hans-G?nter@21727 55 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
Hans-G?nter@21727 56
al@19860 57 find $fs -name '*console-kit*' -delete
pascal@17005 58 }