wok-current view pulseaudio/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents 73f36875e5a7
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 # 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 ./bootstrap.sh &&
39 ./configure \
40 --sysconfdir=/etc \
41 --localstatedir=/var \
42 --disable-bluez4 \
43 --disable-systemd-daemon \
44 --disable-systemd-login \
45 --disable-systemd-journal \
46 --disable-oss-output \
47 --disable-oss-wrapper \
48 --disable-esound \
49 --disable-rpath \
50 --with-udev-rules-dir=/etc/udev/rules.d \
51 $CONFIGURE_ARGS &&
52 make &&
53 make -j1 install
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 cook_copy_folders bin
60 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
62 find $fs -name '*console-kit*' -delete
63 }