wok-current annotate pulseaudio/receipt @ rev 24668

updated intel-microcode (20210216 -> 20220207)
author Hans-G?nter Theisgen
date Fri Mar 11 16:27:56 2022 +0100 (2022-03-11)
parents 26c95e297eed
children 73f36875e5a7
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@24453 26 # What is the latest version available today?
pascal@24453 27 current_version()
pascal@24453 28 {
pascal@24453 29 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 30 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 31 }
pascal@24453 32
pascal@17005 33 # Rules to configure and make the package.
pascal@17005 34 compile_rules()
pascal@17005 35 {
pascal@20252 36 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
Hans-G?nter@23454 37
Hans-G?nter@23455 38 export CC=gcc-83
Hans-G?nter@23455 39 export CXX=g++-83
Hans-G?nter@23455 40
Hans-G?nter@23454 41 ./bootstrap.sh &&
Hans-G?nter@21727 42 ./configure \
Hans-G?nter@21727 43 --sysconfdir=/etc \
Hans-G?nter@21727 44 --localstatedir=/var \
Hans-G?nter@21727 45 --disable-bluez4 \
Hans-G?nter@21727 46 --disable-systemd-daemon \
Hans-G?nter@21727 47 --disable-systemd-login \
Hans-G?nter@21727 48 --disable-systemd-journal \
Hans-G?nter@21727 49 --disable-oss-output \
Hans-G?nter@21727 50 --disable-oss-wrapper \
Hans-G?nter@21727 51 --disable-esound \
Hans-G?nter@21727 52 --disable-rpath \
Hans-G?nter@21727 53 --with-udev-rules-dir=/etc/udev/rules.d \
pascal@17005 54 $CONFIGURE_ARGS &&
pascal@17005 55 make &&
al@19860 56 make -j1 install
pascal@17005 57 }
pascal@17005 58
pascal@17005 59 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17005 60 genpkg_rules()
pascal@17005 61 {
Hans-G?nter@21727 62 cook_copy_folders bin
Hans-G?nter@21727 63 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
Hans-G?nter@21727 64
al@19860 65 find $fs -name '*console-kit*' -delete
pascal@17005 66 }