Mercurial > vanilla
diff audio/pulseaudio/pulseaudio.sh @ 1094:3dece1f7570b
vanilla: add many ghost dependencies
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 09 Sep 2019 21:10:00 +0200 |
parents | 60d881a89c6a |
children | 9e8ac37514e6 |
line wrap: on
line diff
--- a/audio/pulseaudio/pulseaudio.sh Mon Sep 09 21:05:00 2019 +0200 +++ b/audio/pulseaudio/pulseaudio.sh Mon Sep 09 21:10:00 2019 +0200 @@ -21,7 +21,22 @@ PKGLICENSE="LGPLv21+" PKGSUMMARY="general-purpose sound server" PKGDOWNLOAD="https://www.freedesktop.org/software/$PKGNAME/releases/$PKGNAME-$PKGVERSION.tar.xz" -PKGOPTIONS="ALSA AVAHI BLUETOOTH GTK IPV6 JACK NLS OSS SSL UDEV X" +PKGDEPENDS="gdbm glib libtool libsndfile" +PKGOPTIONS="ALSA + AVAHI + BLUETOOTH + CAP + DBUS + GTK + IPV6 + JACK + NLS + OSS + SOXR + SPEEX + SSL + UDEV + X" PKGUIDS="pulse:102" PKGGIDS="pulse:102 pulse-rt:103 pulse-access:104" @@ -34,11 +49,15 @@ : ${ALSA:=yes} : ${AVAHI:=yes} : ${BLUETOOTH:=no} # TODO: set to on once sbc is there (for bluez) +: ${CAP:=yes} +: ${DBUS:=yes} : ${GTK:=yes} : ${IPV6:=yes} : ${JACK:=yes} : ${NLS:=yes} : ${OSS:=yes} +: ${SOXR:=yes} +: ${SPEEX:=yes} : ${SSL:=yes} : ${UDEV:=yes} : ${X:=yes} @@ -64,6 +83,20 @@ with_bluetooth="--disable-bluez5" fi +if [ "$CAP" = "yes" ]; then + PKGDEPENDS="libcap $PKGDEPENDS" + with_cap="--with-caps" +else + with_cap="--without-caps" +fi + +if [ "$DBUS" = "yes" ]; then + PKGDEPENDS="dbus $PKGDEPENDS" + with_dbus="--enable-dbus" +else + with_dbus="--disable-dbus" +fi + if [ "$GTK" = "yes" ]; then PKGDEPENDS="gtk at-spi2-atk $PKGDEPENDS" with_gtk="--enable-gtk3" @@ -97,6 +130,20 @@ with_oss="--disable-oss-output --disable-oss-wrapper" fi +if [ "$SOXR" = "yes" ]; then + PKGDEPENDS="soxr $PKGDEPENDS" + with_soxr="--with-soxr" +else + with_soxr="--without-soxr" +fi + +if [ "$SPEEX" = "yes" ]; then + PKGDEPENDS="speex $PKGDEPENDS" + with_speex="--with-speex" +else + with_speex="--without-speex" +fi + if [ "$SSL" = "yes" ]; then PKGDEPENDS="libressl $PKGDEPENDS" with_ssl="--enable-openssl" @@ -136,11 +183,15 @@ $with_alsa \ $with_avahi \ $with_bluetooth \ + $with_cap \ + $with_dbus \ $with_gtk \ $with_ipv6 \ $with_jack \ $with_nls \ $with_oss \ + $with_soxr \ + $with_speex \ $with_ssl \ $with_udev \ $with_x