wok-next view pulseaudio/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | 757d032c55c7 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pulseaudio"
4 VERSION="10.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 AGPL3 BSD Sun"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/PulseAudio/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/pulseaudio.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.freedesktop.org/software/pulseaudio/releases/$TARBALL"
15 BUILD_DEPENDS="intltool libtool xorg-libxcb-dev xorg-libICE-dev xorg-libSM-dev \
16 xorg-libXtst-dev libcap-dev check-dev libsndfile-dev alsa-lib-dev gtk+3-dev \
17 dbus-dev eudev-dev openssl-dev speexdsp-dev"
18 SPLIT="pulseaudio-alsa pulseaudio-cli pulseaudio-esound pulseaudio-glib \
19 pulseaudio-http pulseaudio-native pulseaudio-rtp pulseaudio-simple pulseaudio \
20 pulseaudio-dev"
22 compile_rules() {
23 ./configure \
24 --disable-bluez4 \
25 --disable-bluez5 \
26 --disable-rpath \
27 \
28 --disable-oss-output \
29 --disable-oss-wrapper \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make install || return 1
35 rm $install/etc/dbus-1/system.d/pulseaudio-system.conf
36 sed -i '/load-module module-console-kit/ s|^|#|' $install/etc/pulse/default.pa
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 *-alsa)
42 copy libalsa-util.so module-alsa-sink.so module-alsa-source.so \
43 module-alsa-card.so alsa-mixer/
44 CAT="multimedia|ALSA support"
45 DEPENDS="pulseaudio alsa-lib"
46 ;;
47 *-cli)
48 copy libcli.so module-cli.so libprotocol-cli.so \
49 module-cli-protocol-tcp.so module-cli-protocol-unix.so
50 CAT="multimedia|CLI support"
51 DEPENDS="pulseaudio"
52 ;;
53 *-esound)
54 copy libprotocol-esound.so module-esound-protocol-tcp.so \
55 module-esound-protocol-unix.so
56 CAT="multimedia|EsounD protocol support"
57 DEPENDS="pulseaudio"
58 ;;
59 *-glib)
60 copy libpulse-mainloop-glib.so*
61 CAT="multimedia|Glib bindings"
62 DEPENDS="pulseaudio glib"
63 ;;
64 *-http)
65 copy libprotocol-http.so module-http-protocol-tcp.so \
66 module-http-protocol-unix.so module-rygel-media-server.so
67 CAT="multimedia|HTTP protocol support"
68 DEPENDS="pulseaudio"
69 ;;
70 *-native)
71 copy libprotocol-native.so module-native-protocol-tcp.so \
72 module-native-protocol-fd.so module-native-protocol-unix.so \
73 module-x11-publish.so module-stream-restore.so \
74 module-device-manager.so module-device-restore.so
75 CAT="multimedia|native protocol support"
76 DEPENDS="pulseaudio"
77 ;;
78 *-rtp)
79 copy librtp.so module-rtp-recv.so module-rtp-send.so libraop.so \
80 module-raop-sink.so
81 CAT="multimedia|RTP protocol support"
82 DEPENDS="pulseaudio openssl"
83 ;;
84 *-simple)
85 copy libprotocol-simple.so module-simple-protocol-tcp.so \
86 module-simple-protocol-unix.so
87 CAT="multimedia|simple protocol support"
88 DEPENDS="pulseaudio"
89 ;;
90 pulseaudio)
91 copy @std @rm
92 CAT="multimedia|main part"
93 DEPENDS="dbus eudev gdbm libcap libltdl libsndfile speexdsp \
94 xorg-libICE xorg-libSM xorg-libX11 xorg-libXtst xorg-libxcb"
95 SUGGESTED="consolekit2"
96 ;;
97 *-dev)
98 copy @dev
99 DEPENDS="${SPLIT/$PACKAGE/} \
100 dbus-dev flac-dev gdbm-dev glib-dev libcap-dev libogg-dev \
101 libsndfile-dev libtool libvorbis-dev pcre-dev speexdsp-dev \
102 util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
103 xorg-libXau-dev xorg-libxcb-dev xorg-libXdmcp-dev xorg-libXext-dev \
104 xorg-libXi-dev xorg-libXtst-dev"
105 ;;
106 esac
107 }