wok-next view pulseaudio/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 3fee61a3a157 |
children |
line source
1 # SliTaz package receipt v2.
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 AGPL3 BSD Sun"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/PulseAudio/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/pulseaudio.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.freedesktop.org/software/pulseaudio/releases/$TARBALL"
15 BUILD_DEPENDS="alsa-lib-dev check-dev dbus-dev eudev-dev gtk3-dev
16 intltool libcap-dev libice-dev libsm-dev libsndfile-dev libtool
17 libxcb-dev libxtst-dev openssl-dev speexdsp-dev"
18 SPLIT="$PACKAGE-alsa $PACKAGE-cli $PACKAGE-esound $PACKAGE-glib $PACKAGE-http \
19 $PACKAGE-native $PACKAGE-rtp $PACKAGE-simple $PACKAGE $PACKAGE-dev"
21 compile_rules()
22 {
23 ./bootstrap.sh &&
24 ./configure \
25 --disable-bluez4 \
26 --disable-bluez5 \
27 --disable-rpath \
28 --disable-systemd-daemon \
29 --disable-systemd-login \
30 --disable-systemd-journal \
31 --disable-oss-output \
32 --disable-oss-wrapper \
33 $CONFIGURE_ARGS &&
34 fix libtool &&
35 make &&
36 make install || return 1
38 rm $install/etc/dbus-1/system.d/pulseaudio-system.conf
39 sed -i '/load-module module-console-kit/ s|^|#|' $install/etc/pulse/default.pa
40 }
42 genpkg_rules()
43 {
44 case $PACKAGE in
45 (*-alsa)
46 copy libalsa-util.so module-alsa-sink.so module-alsa-source.so \
47 module-alsa-card.so alsa-mixer/
48 CAT="multimedia|ALSA support"
49 DEPENDS="alsa-lib dbus eudev pulseaudio"
50 ;;
51 (*-cli)
52 copy libcli.so module-cli.so libprotocol-cli.so \
53 module-cli-protocol-tcp.so module-cli-protocol-unix.so
54 CAT="multimedia|CLI support"
55 DEPENDS="pulseaudio"
56 ;;
57 (*-esound)
58 copy libprotocol-esound.so module-esound-protocol-tcp.so \
59 module-esound-protocol-unix.so
60 CAT="multimedia|EsounD protocol support"
61 DEPENDS="pulseaudio"
62 ;;
63 (*-glib)
64 copy libpulse-mainloop-glib.so*
65 CAT="multimedia|Glib bindings"
66 DEPENDS="glib pulseaudio"
67 ;;
68 (*-http)
69 copy libprotocol-http.so module-http-protocol-tcp.so \
70 module-http-protocol-unix.so module-rygel-media-server.so
71 CAT="multimedia|HTTP protocol support"
72 DEPENDS="dbus pulseaudio"
73 ;;
74 (*-native)
75 copy libprotocol-native.so module-native-protocol-tcp.so \
76 module-native-protocol-fd.so module-native-protocol-unix.so \
77 module-x11-publish.so module-stream-restore.so \
78 module-device-manager.so module-device-restore.so
79 CAT="multimedia|native protocol support"
80 DEPENDS="dbus pulseaudio libxcb"
81 ;;
82 (*-rtp)
83 copy librtp.so module-rtp-recv.so module-rtp-send.so libraop.so \
84 module-raop-sink.so
85 CAT="multimedia|RTP protocol support"
86 DEPENDS="openssl pulseaudio"
87 ;;
88 (*-simple)
89 copy libprotocol-simple.so module-simple-protocol-tcp.so \
90 module-simple-protocol-unix.so
91 CAT="multimedia|simple protocol support"
92 DEPENDS="pulseaudio"
93 ;;
94 (pulseaudio)
95 copy @std @rm
96 CAT="multimedia|main part"
97 DEPENDS="dbus eudev libcap libltdl libsndfile speexdsp \
98 libice libsm libx11 libxtst libxcb"
99 SUGGESTED="consolekit2"
100 ;;
101 (*-dev)
102 copy @dev
103 DEPENDS="${SPLIT/$PACKAGE/} glib-dev"
104 ;;
105 esac
106 }