wok-current view pulseaudio/receipt @ rev 21808

Add virtualbox-ose-modules*
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 17 16:23:26 2019 +0200 (2019-08-17)
parents b7c11d7da2cc
children 8497f0e1eea5
line source
1 # SliTaz package receipt.
3 PACKAGE="pulseaudio"
4 VERSION="12.2"
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"
22 CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \
23 /etc/pulse/default.pa"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
29 ./bootstrap.sh
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 --sysconfdir=/etc \
34 --localstatedir=/var \
35 --disable-bluez4 \
36 --disable-systemd-daemon \
37 --disable-systemd-login \
38 --disable-systemd-journal \
39 --disable-oss-output \
40 --disable-oss-wrapper \
41 --disable-esound \
42 --disable-rpath \
43 --with-udev-rules-dir=/etc/udev/rules.d \
44 $CONFIGURE_ARGS &&
45 make &&
46 make -j1 install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 cook_copy_folders bin
53 cook_copy_files *.pa *.conf *.rules *.desktop *.so*
55 find $fs -name '*console-kit*' -delete
56 }