wok view pulseaudio/receipt @ rev 24636

updated haserl and haserl-lua (0.9.35 -> 0.9.36)
author Hans-G?nter Theisgen
date Wed Mar 09 10:55:44 2022 +0100 (2022-03-09)
parents 26c95e297eed
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="pulseaudio"
4 VERSION="13.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="A sound system for POSIX OSes."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1 GPL2 MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/PulseAudio/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://freedesktop.org/software/$PACKAGE/releases/$TARBALL"
14 DEPENDS="attr dbus flac gcc83-lib-base gdbm jack-audio-connection-kit \
15 libcap libjson-c libsamplerate libsndfile libltdl libvorbis \
16 speex"
17 BUILD_DEPENDS="alsa-lib-dev autoconf automake dbus-dev file flac-dev \
18 gcc83 intltool jack-audio-connection-kit-dev libcap-dev \
19 libjson-c-dev libsamplerate-dev libsndfile-dev libtool libvorbis-dev \
20 m4 pkg-config speex-dev udev-dev util-linux-uuid-dev"
21 SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
23 CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \
24 /etc/pulse/default.pa"
26 # What is the latest version available today?
27 current_version()
28 {
29 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
30 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
38 export CC=gcc-83
39 export CXX=g++-83
41 ./bootstrap.sh &&
42 ./configure \
43 --sysconfdir=/etc \
44 --localstatedir=/var \
45 --disable-bluez4 \
46 --disable-systemd-daemon \
47 --disable-systemd-login \
48 --disable-systemd-journal \
49 --disable-oss-output \
50 --disable-oss-wrapper \
51 --disable-esound \
52 --disable-rpath \
53 --with-udev-rules-dir=/etc/udev/rules.d \
54 $CONFIGURE_ARGS &&
55 make &&
56 make -j1 install
57 }
59 # Rules to gen a SliTaz package suitable for Tazpkg.
60 genpkg_rules()
61 {
62 cook_copy_folders bin
63 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
65 find $fs -name '*console-kit*' -delete
66 }