wok view pulseaudio/receipt @ rev 20438

pulseaudio : add module-jack*
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 09 11:03:10 2018 +0200 (12 months ago)
parents 6b67e13afe50
children b7c11d7da2cc
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"
14 DEPENDS="libcap libjson-c libsndfile flac libvorbis dbus gdbm libcap attr \
15 speex libsamplerate libltdl jack-audio-connection-kit"
16 BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
17 libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-uuid-dev \
18 dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev file \
19 jack-audio-connection-kit-dev"
20 SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
26 ./bootstrap.sh
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --disable-bluez4 \
31 --disable-systemd-daemon \
32 --disable-systemd-login \
33 --disable-systemd-journal \
34 --disable-oss-output \
35 --disable-oss-wrapper \
36 --disable-esound \
37 --disable-rpath \
38 --with-udev-rules-dir=/etc/udev/rules.d \
39 $CONFIGURE_ARGS &&
40 make &&
41 make -j1 install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cook_copy_folders bin
48 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
49 find $fs -name '*console-kit*' -delete
50 }