wok-current view pulseaudio/receipt @ rev 21520

updated nasm (2.11.02 -> 2.14.02)
author Hans-G?nter Theisgen
date Fri May 03 15:56:29 2019 +0100 (2019-05-03)
parents 0ef3d31c67c8
children 230b437620ca
line source
1 # SliTaz package receipt.
3 PACKAGE="pulseaudio"
4 VERSION="8.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/pulseaudio/releases/$TARBALL"
13 CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \
14 /etc/pulse/default.pa"
16 DEPENDS="libcap libjson-c libsndfile flac libvorbis dbus gdbm libcap attr \
17 speex libsamplerate libltdl jack-audio-connection-kit"
18 BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
19 libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-uuid-dev \
20 dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev file \
21 jack-audio-connection-kit-dev"
22 SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
28 ./bootstrap.sh
29 ./configure \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --disable-bluez4 \
33 --disable-systemd-daemon \
34 --disable-systemd-login \
35 --disable-systemd-journal \
36 --disable-oss-output \
37 --disable-oss-wrapper \
38 --disable-esound \
39 --disable-rpath \
40 --with-udev-rules-dir=/etc/udev/rules.d \
41 $CONFIGURE_ARGS &&
42 make &&
43 make -j1 install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 cook_copy_folders bin
50 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
51 find $fs -name '*console-kit*' -delete
52 }