wok-current annotate pulseaudio/receipt @ rev 21927

updated socat (2.0.0-b7 -> 2.0.0-b8)
author Hans-G?nter Theisgen
date Sat Oct 05 21:31:52 2019 +0100 (2019-10-05)
parents b7c11d7da2cc
children 8497f0e1eea5
rev   line source
pascal@17005 1 # SliTaz package receipt.
pascal@17005 2
pascal@17005 3 PACKAGE="pulseaudio"
Hans-G?nter@21727 4 VERSION="12.2"
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"
mojo@21148 22 CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \
Hans-G?nter@21727 23 /etc/pulse/default.pa"
pascal@17005 24
pascal@17005 25 # Rules to configure and make the package.
pascal@17005 26 compile_rules()
pascal@17005 27 {
pascal@20252 28 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
pascal@17005 29 ./bootstrap.sh
Hans-G?nter@21727 30 ./configure \
Hans-G?nter@21727 31 CC=gcc-83 \
Hans-G?nter@21727 32 CXX=g++-83 \
Hans-G?nter@21727 33 --sysconfdir=/etc \
Hans-G?nter@21727 34 --localstatedir=/var \
Hans-G?nter@21727 35 --disable-bluez4 \
Hans-G?nter@21727 36 --disable-systemd-daemon \
Hans-G?nter@21727 37 --disable-systemd-login \
Hans-G?nter@21727 38 --disable-systemd-journal \
Hans-G?nter@21727 39 --disable-oss-output \
Hans-G?nter@21727 40 --disable-oss-wrapper \
Hans-G?nter@21727 41 --disable-esound \
Hans-G?nter@21727 42 --disable-rpath \
Hans-G?nter@21727 43 --with-udev-rules-dir=/etc/udev/rules.d \
pascal@17005 44 $CONFIGURE_ARGS &&
pascal@17005 45 make &&
al@19860 46 make -j1 install
pascal@17005 47 }
pascal@17005 48
pascal@17005 49 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17005 50 genpkg_rules()
pascal@17005 51 {
Hans-G?nter@21727 52 cook_copy_folders bin
Hans-G?nter@21727 53 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
Hans-G?nter@21727 54
al@19860 55 find $fs -name '*console-kit*' -delete
pascal@17005 56 }