wok-current view pulseaudio/receipt @ rev 25730
Fix depend for xorg-server (libxshmfence)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 13:05:56 2024 +0000 (7 days ago) |
parents | 3ad63c8fc2f9 |
children |
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="https://freedesktop.org/software/$PACKAGE/releases/$TARBALL"
14 DEPENDS="attr dbus flac gcc-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 gcc 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 HOST_ARCH="i486 x86_64"
28 # What is the latest version available today?
29 current_version()
30 {
31 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
32 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
33 }
35 # Rules to configure and make the package.
36 compile_rules()
37 {
38 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
40 ./bootstrap.sh &&
41 ./configure \
42 --sysconfdir=/etc \
43 --localstatedir=/var \
44 --disable-bluez4 \
45 --disable-systemd-daemon \
46 --disable-systemd-login \
47 --disable-systemd-journal \
48 --disable-oss-output \
49 --disable-oss-wrapper \
50 --disable-esound \
51 --disable-rpath \
52 --with-udev-rules-dir=/etc/udev/rules.d \
53 $CONFIGURE_ARGS &&
54 make &&
55 make -j1 install
56 }
58 # Rules to gen a SliTaz package suitable for Tazpkg.
59 genpkg_rules()
60 {
61 cook_copy_folders bin
62 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
64 find $fs -name '*console-kit*' -delete
65 }