wok-current view pulseaudio/receipt @ rev 20294
get-dropbox: fix LD_LIBRARY_PATH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 23 09:42:28 2018 +0200 (2018-04-23) |
parents | 65b8664ee183 |
children | 0ef3d31c67c8 |
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"
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 SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
25 ./bootstrap.sh
26 ./configure \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --disable-bluez4 \
30 --disable-systemd-daemon \
31 --disable-systemd-login \
32 --disable-systemd-journal \
33 --disable-oss-output \
34 --disable-oss-wrapper \
35 --disable-esound \
36 --disable-rpath \
37 --with-udev-rules-dir=/etc/udev/rules.d \
38 $CONFIGURE_ARGS &&
39 make &&
40 make -j1 install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_folders bin
47 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
48 find $fs -name '*console-kit*' -delete
49 }