wok-6.x view pulseaudio/receipt @ rev 23875
Up alpine (2.23), ansible (2.9.10), wordpress (5.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 27 16:47:12 2020 +0000 (2020-06-27) |
parents | 8497f0e1eea5 |
children | 241fb98cab1c |
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 # Rules to configure and make the package.
27 compile_rules()
28 {
29 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
31 export CC=gcc-83
32 export CXX=g++-83
34 ./bootstrap.sh &&
35 ./configure \
36 --sysconfdir=/etc \
37 --localstatedir=/var \
38 --disable-bluez4 \
39 --disable-systemd-daemon \
40 --disable-systemd-login \
41 --disable-systemd-journal \
42 --disable-oss-output \
43 --disable-oss-wrapper \
44 --disable-esound \
45 --disable-rpath \
46 --with-udev-rules-dir=/etc/udev/rules.d \
47 $CONFIGURE_ARGS &&
48 make &&
49 make -j1 install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 cook_copy_folders bin
56 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
58 find $fs -name '*console-kit*' -delete
59 }