diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-11-13 12:22:48 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-11-13 12:22:48 +0000 |
commit | 1d0ae0b22333d997b10a555b61b50ed2a3d7ab48 (patch) | |
tree | b0af421663eace4a146057bd70fd6c5ee7a3d1f2 /media-sound/pulseaudio | |
parent | Drop package due bug #508854 (diff) | |
download | historical-1d0ae0b22333d997b10a555b61b50ed2a3d7ab48.tar.gz historical-1d0ae0b22333d997b10a555b61b50ed2a3d7ab48.tar.bz2 historical-1d0ae0b22333d997b10a555b61b50ed2a3d7ab48.zip |
Drop old (#508854)
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'media-sound/pulseaudio')
-rw-r--r-- | media-sound/pulseaudio/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/pulseaudio/Manifest | 16 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-2.1-r1.ebuild | 228 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-4.0.ebuild | 235 |
4 files changed, 9 insertions, 476 deletions
diff --git a/media-sound/pulseaudio/ChangeLog b/media-sound/pulseaudio/ChangeLog index 4eb386a5aafa..978d8e589d2a 100644 --- a/media-sound/pulseaudio/ChangeLog +++ b/media-sound/pulseaudio/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/pulseaudio # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.357 2014/11/09 14:58:59 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.358 2014/11/13 12:21:33 pacho Exp $ + + 13 Nov 2014; Pacho Ramos <pacho@gentoo.org> -pulseaudio-2.1-r1.ebuild, + -pulseaudio-4.0.ebuild: + Drop old (#508854) 09 Nov 2014; Maxim Koltsov <maksbotan@gentoo.org> pulseaudio-5.0-r5.ebuild: Fix 'avahi not in IUSE' when system-wide is enabled, bug #525290. diff --git a/media-sound/pulseaudio/Manifest b/media-sound/pulseaudio/Manifest index 83bca504b3e8..65202f10a1fd 100644 --- a/media-sound/pulseaudio/Manifest +++ b/media-sound/pulseaudio/Manifest @@ -10,23 +10,15 @@ AUX pulseaudio.conf.d 275 SHA256 c03661e8cc902d27ff6b52f291207f2b008957571b942ab AUX pulseaudio.init.d-5 2352 SHA256 60e4571a8af0437bd99cfd858fde1e6223544a60e591febf25e55e4a2918ff59 SHA512 c510ddc71509435946a4f5a29ee2deb124fddec1a078433651bee99fd71424a0673c6b67015c2b737878e0e6e1da0b0ee4935e419a00cbfe74d6f8c8dc91f243 WHIRLPOOL 9fd81ab29c74b5bfc75aa15d73490881d59c4a280dd6214baf714080e74cb8cdd263d70ec220ea30c08da7890345f5bee6e0d68d2b04c8f5711051fe2b330cbc AUX pulseaudio.service 227 SHA256 62cd3b7e83845a27f437790cf293970f85ff02816da599a53cd5f3bf13da3788 SHA512 567663b231fe7c2682b08b1059cdad1fcb3c4cb01c1b24aed9afb6fb767b30f250b78bbbed48aadfb06c6d1a4963a6db24877d79a1d36c4be2a128b479c086d6 WHIRLPOOL bb548efc14d88b372abaafae557fe23681ce93d1b010fe7761458c5f7793a96886aa368df4cbec5a4fde078f9e8d940020e3ad2a36248ff6c8ab3b70f412d634 AUX pulseaudio.tmpfiles 36 SHA256 d836951fb800308256288506b6bd82919d377399e1292dc10905a7aa12dac0e9 SHA512 f040850d81030ef04e1aa368d333a1ae1b7238adef5772280fc344c3068262d5ab8c9f3edb92db9c443f9d7d21abb27583ea1efc51ed733bbfa43e2edc68dde1 WHIRLPOOL b293b7372b7f63ddea63e6985d1f66a2010d8778ea3ae00501e58f15bfba3ed19b794111c073ee3bd5c8cf98d33f3c8db95220acf57f97477523f4cfa7121553 -DIST pulseaudio-2.1.tar.xz 1355004 SHA256 ef6b347bf47abfb98080795f1583018ac959b4aeb4df916b879f9e1eaba0ca7f SHA512 56b672968ae32dcaa5520b8199ed603f4f1223c7884ee6ad1ddf0ee796b1859784c262eef749504f996638f68bf2b213dd0ad1e9cddfb342e2795300ff9972b6 WHIRLPOOL cf4e38d868b67e1cf3fe610d8759a922c7a71040d923844ea0168b00b756b51882580504a7d876e470d0a6ad523a643ddb1559424d8786bc4d9ce457b4a855ea -DIST pulseaudio-4.0.tar.xz 1392072 SHA256 35ceb36bb1822fe54f0b5e4863b4f486769fdfb8ff2111f01fd8778928f9cdae SHA512 7cfb57b15943ec5239f23b90637ab7ab421ac57cf05312030bb348ee7d72a70343716b9bf79035b2426e820984cf8179285548b8acf0b7232defcd8b9ad32e83 WHIRLPOOL 41b69fa34648b484beb3fd81cd4756bdc8bbedf4e102d792e2f48b57f62e532f496e9f0146feabbfe37bd91f0d4f7402105a56d58a9b053bb0de3ac6ad233467 DIST pulseaudio-5.0.tar.xz 1455428 SHA256 99c13a8b1249ddbd724f195579df79484e9af6418cecf6a15f003a7f36caf939 SHA512 f3d64bd6e03a732fd812da466b6658004600b4f3d0b9760403b7e113b6d654d54387658bf3704f45f28ab700245433e23fe517e4579130886fc58647eb97be2b WHIRLPOOL c85829c78ded3bbef234e455bfd3778f2daf50de9d7627508dbf131d0c398e35ab3ae41a4b5136f0c0da09249bc9a600ad85d848ba4e1faba74875af0a787036 -EBUILD pulseaudio-2.1-r1.ebuild 6722 SHA256 80d93c9f75137471fdf3d7904251fd3e70ace606fddb9f7646efdddf274d2fbf SHA512 a3ca0cb01df88f30a164a3c575eff876cb60551e148c84688cf2e26d22a351df7b3ea5ec7dc1f9c4ebe82904b7195ef761d1c2636b94488b5daedb94eae1c93b WHIRLPOOL c006024d46e9f129af3a685fd548b60ce2d2ba97b132e63a957a36257e96a77e12575ecddd728ba60d52780fb427ca0b3b7508b2ab2152bb77d15822b174c207 -EBUILD pulseaudio-4.0.ebuild 6912 SHA256 3dd5fffafbc324d0814d33a07db183c5c1b9a0ee963338a6c7a0b00c80982f97 SHA512 855fd1c48bcd00cfe1f096461e25688903e61f8799f91fa0883d8da857bcc1bbee6bf4b3c72718a35224661be05eb435f0a5c7a8a0588beba74cd5056bfc9c41 WHIRLPOOL a337cdb325915c4b38a1b42eda3371d61f9b8c93aa408eac18b0ad2e4e5d7ca0b988edf3ba87b21ff15f69ba5a0af942bd22c74a98f032000a2d9f902edd7253 EBUILD pulseaudio-5.0-r4.ebuild 10280 SHA256 ecfcb8e41987a89721eece1b90535d8b69e6051fc526b8017ed93cde28986588 SHA512 53bbcda4b9885cbdb4c3d2c3077052e519ceb64fe4ad74678eef75ddedd5590f4ea7b33efbd58bd8a35b29ab084fce596d8672188abf1b5b915ec007ee33cae0 WHIRLPOOL 7bb2a3898ee6b6775c51a207ff13102524f76ea38a49e68b30b647b8423eb456e841bf4e61fbe8a4bcb48a6cdbdd594253ccb1702989ac1ac460648e7f47e14d EBUILD pulseaudio-5.0-r5.ebuild 10463 SHA256 b74d44a38bcc42c73012138ced50c84f916d03068c439b6998940ea290372840 SHA512 5347fb31876ed4c72ef6596583f42e94a960eb97638f90921c51f75defbebf460b8c27b7b64d5beebf89c7cd0b3938f48746ad0ff5a6e572c5d419084000eada WHIRLPOOL cc5490557c23954787d44b0949794bcac9417cd7c39691db44fef865a28d4f6cc2dc1246f78f0ec12361f51a86d4f68b943a9c33242839e06fa96fbee7fef116 -MISC ChangeLog 67949 SHA256 b98b86011b9e5966c96cf430704557755640c42c5725c97e949f6c66e03024d0 SHA512 ab6c131faa1fd3dddfbc000f2b088550960bee58926c3ed5f83e2d160b0defd09db6766a582fba382658d280a1f24209ceadb132a132482e5c271867195a7834 WHIRLPOOL 3e6bc2d1235d7924d23fe59ac8ba4e744e10dae61b5ed35acaeb61f74e2bfff39084ca2b07562e54c6d6eeecc751b851c0165ddbd4f94cb7b54abbd8ce86fe1a +MISC ChangeLog 68066 SHA256 af5a94b6b1ea728445899260ac9b163ba4444239111714320a8141f2af7ca7f8 SHA512 4da4d0ef2ff3badfe13dd0139546c974c45d6c1545b456bf75f3f3aa3514a20e7576a1a0c794b819db55d7f27a751a49f8e43490c4585a407b50344fecbd379e WHIRLPOOL 054537bd883a03a70a8f03f134e46bc72911f9e5a7bf4a459c8544f1b6542d4f6ae800d860a109df32a1200b4e44c21841711afb49e945179da60306910a5a63 MISC metadata.xml 2831 SHA256 626aa770bbfbd06e872686d755d45c82f53e8b99cc82719fa7d8e69d9d9e2130 SHA512 a3b13e05bec6d3b4df89324e8caffdb8d9c4e9ed45087289e4b967269cb65ed7acbaa3896139b43a26e3fcffbe723f0579f0a438077069573eb9319ff7f179a1 WHIRLPOOL 1356c3d642361188574001f2f1d7797dfe7935c54dfcc6146389c930b69fdb89e7354f00201d99471c585b908d241b16bc8ae409c4d9852ebdcd07ffab85f1fa -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQEcBAEBCAAGBQJUX4EaAAoJEAmJmMX429rePYIIAIxIC79DfsegERr8QoQQvxdL -J9e0cdtK0/Z88NccrG0XdQ/PiOuYFIPk3pSgZaCM/x7oZKyZyiEXjtNcwR6lJiM4 -wF7No1n1LPWOg7Nvy8FoPpsxd6E33eclbXQuioz+aul9RuGdWcDPET6gRBjURApX -iGAcTo17RCwBtrOw+MkXxIWFXlc5Zu/18z9rXgoujJj8h1+Ibtlromk/NlVUk0CK -i5vaJZWYHKYLnZOHHnx+AewXK8O5WucXdiwPn6yVPyPmf128MGFJwo57OhdiqZG3 -/yMQK19Ly+Wqkdzvju2JhMQMKJ61Bnz2rh+D66P8VqtWUYI+M3adXxcfM1giTgI= -=NWBm +iEYEAREIAAYFAlRkok4ACgkQCaWpQKGI+9RzeACfUAc7i0BXIAXpgsAXJdC3qjVk +cZ8An3XgYdYIQaMxi8IObsAfwT9C13Df +=5ZNf -----END PGP SIGNATURE----- diff --git a/media-sound/pulseaudio/pulseaudio-2.1-r1.ebuild b/media-sound/pulseaudio/pulseaudio-2.1-r1.ebuild deleted file mode 100644 index 606bb4f44126..000000000000 --- a/media-sound/pulseaudio/pulseaudio-2.1-r1.ebuild +++ /dev/null @@ -1,228 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-2.1-r1.ebuild,v 1.17 2014/07/30 19:29:26 ssuominen Exp $ - -EAPI=5 - -inherit eutils flag-o-matic user versionator toolchain-funcs udev - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org/" - -SRC_URI="http://freedesktop.org/software/pulseaudio/releases/${P}.tar.xz" - -# libpulse-simple and libpulse link to libpulse-core; this is daemon's -# library and can link to gdbm and other GPL-only libraries. In this -# cases, we have a fully GPL-2 package. Leaving the rest of the -# GPL-forcing USE flags for those who use them. -LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux" -IUSE="+alsa avahi +caps equalizer jack lirc oss tcpd +X dbus libsamplerate gnome bluetooth +asyncns +glib gtk test doc +udev ipv6 system-wide realtime +orc ssl +gdbm +webrtc-aec xen systemd" - -RDEPEND=">=media-libs/libsndfile-1.0.20 - X? ( - >=x11-libs/libX11-1.4.0 - >=x11-libs/libxcb-1.6 - >=x11-libs/xcb-util-0.3.1 - x11-libs/libSM - x11-libs/libICE - x11-libs/libXtst - ) - caps? ( sys-libs/libcap ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - alsa? ( >=media-libs/alsa-lib-1.0.19 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12[dbus] ) - jack? ( >=media-sound/jack-audio-connection-kit-0.117 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gtk? ( x11-libs/gtk+:2 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - bluetooth? ( - >=net-wireless/bluez-4 - >=sys-apps/dbus-1.0.0 - ) - asyncns? ( net-libs/libasyncns ) - udev? ( >=virtual/udev-143[hwdb(+)] ) - realtime? ( sys-auth/rtkit ) - equalizer? ( - sci-libs/fftw:3.0 - dev-python/PyQt4[dbus] - ) - orc? ( >=dev-lang/orc-0.4.9 ) - ssl? ( dev-libs/openssl ) - >=media-libs/speex-1.2_rc1 - gdbm? ( sys-libs/gdbm ) - webrtc-aec? ( media-libs/webrtc-audio-processing ) - xen? ( app-emulation/xen ) - systemd? ( >=sys-apps/systemd-39 ) - <dev-libs/json-c-0.11 - >=sys-devel/libtool-2.2.4" # it's a valid RDEPEND, libltdl.so is used - -DEPEND="${RDEPEND} - sys-devel/m4 - doc? ( app-doc/doxygen ) - X? ( - x11-proto/xproto - >=x11-libs/libXtst-1.0.99.2 - ) - dev-libs/libatomic_ops - virtual/pkgconfig - system-wide? ( || ( dev-util/unifdef sys-freebsd/freebsd-ubin ) ) - dev-util/intltool" -# This is a PDEPEND to avoid a circular dep -PDEPEND="alsa? ( media-plugins/alsa-plugins[pulseaudio] )" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - X? ( gnome-extra/gnome-audio ) - system-wide? ( - sys-apps/openrc - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-4 ) - )" - -# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac -REQUIRED_USE="bluetooth? ( dbus )" - -pkg_setup() { - enewgroup audio 18 # Just make sure it exists - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_configure() { - # It's a binutils bug, once I can find time to fix that I'll add a - # proper dependency and fix this up. — flameeyes - append-ldflags $(no-as-needed) - - if use gdbm; then - myconf+=" --with-database=gdbm" - #elif use tdb; then - # myconf+=" --with-database=tdb" - else - myconf+=" --with-database=simple" - fi - - econf \ - --enable-largefile \ - $(use_enable glib glib2) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss oss-output) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - --disable-hal \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable gtk gtk2) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable X x11) \ - $(use_enable test default-build-tests) \ - $(use_enable udev) \ - $(use_enable systemd) \ - $(use_enable ipv6) \ - $(use_enable ssl openssl) \ - $(use_enable webrtc-aec) \ - $(use_enable xen) \ - $(use_with caps) \ - $(use_with equalizer fftw) \ - --disable-adrian-aec \ - --disable-esound \ - --localstatedir="${EPREFIX}"/var \ - --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d \ - ${myconf} - - if use doc; then - pushd doxygen - doxygen doxygen.conf - popd - fi -} - -src_test() { - # We avoid running the toplevel check target because that will run - # po/'s tests too, and they are broken. Officially, it should work - # with intltool 0.41, but that doesn't look like a stable release. - emake -C src check -} - -src_install() { - emake -j1 DESTDIR="${D}" install - - # Drop the script entirely if X is disabled - use X || rm "${ED}"/usr/bin/start-pulseaudio-x11 - - if use system-wide; then - newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio - - use_define() { - local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')} - - use "$1" && echo "-D$define" || echo "-U$define" - } - - unifdef $(use_define avahi) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - $(use_define udev) \ - "${FILESDIR}/pulseaudio.init.d-5" \ - > "${T}/pulseaudio" - - doinitd "${T}/pulseaudio" - fi - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${ED}/etc/pulse/default.pa" - - dodoc README todo - - if use doc; then - pushd doxygen/html - dohtml * - popd - fi - - # Create the state directory - use prefix || diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - if use system-wide; then - elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." - elog "This support is enabled by starting the pulseaudio init.d ." - elog "To be able to access that you need to be in the group pulse-access." - elog "If you choose to use this feature, please make sure that you" - elog "really want to run PulseAudio this way:" - elog " http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode" - elog "For more information about system-wide support, please refer to:" - elog " http://pulseaudio.org/wiki/SystemWideInstance" - if use gnome ; then - elog - elog "By enabling gnome USE flag, you enabled gconf support. Please note" - elog "that you might need to remove the gnome USE flag or disable the" - elog "gconf module on /etc/pulse/system.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - fi - if use bluetooth; then - elog - elog "The Bluetooth proximity module is not enabled in the default" - elog "configuration file. If you do enable it, you'll have to have" - elog "your Bluetooth controller enabled and inserted at bootup or" - elog "PulseAudio will refuse to start." - fi - - eselect esd update --if-unset -} diff --git a/media-sound/pulseaudio/pulseaudio-4.0.ebuild b/media-sound/pulseaudio/pulseaudio-4.0.ebuild deleted file mode 100644 index e8b826205f8f..000000000000 --- a/media-sound/pulseaudio/pulseaudio-4.0.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-4.0.ebuild,v 1.11 2014/07/30 19:29:26 ssuominen Exp $ - -EAPI="5" - -inherit eutils flag-o-matic user versionator udev - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org/" - -SRC_URI="http://freedesktop.org/software/pulseaudio/releases/${P}.tar.xz" - -# libpulse-simple and libpulse link to libpulse-core; this is daemon's -# library and can link to gdbm and other GPL-only libraries. In this -# cases, we have a fully GPL-2 package. Leaving the rest of the -# GPL-forcing USE flags for those who use them. -LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux" -IUSE="+alsa +asyncns avahi bluetooth +caps dbus doc equalizer +gdbm +glib gnome -gtk ipv6 jack libsamplerate lirc neon +orc oss qt4 realtime ssl systemd -system-wide tcpd test +udev +webrtc-aec +X xen" - -RDEPEND=">=media-libs/libsndfile-1.0.20 - X? ( - >=x11-libs/libX11-1.4.0 - >=x11-libs/libxcb-1.6 - >=x11-libs/xcb-util-0.3.1 - x11-libs/libSM - x11-libs/libICE - x11-libs/libXtst - ) - caps? ( sys-libs/libcap ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - alsa? ( >=media-libs/alsa-lib-1.0.19 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12[dbus] ) - jack? ( >=media-sound/jack-audio-connection-kit-0.117 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gtk? ( x11-libs/gtk+:3 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - bluetooth? ( - >=net-wireless/bluez-4.99 - >=sys-apps/dbus-1.0.0 - media-libs/sbc - ) - asyncns? ( net-libs/libasyncns ) - udev? ( >=virtual/udev-143[hwdb(+)] ) - realtime? ( sys-auth/rtkit ) - equalizer? ( sci-libs/fftw:3.0 ) - orc? ( >=dev-lang/orc-0.4.9 ) - ssl? ( dev-libs/openssl ) - >=media-libs/speex-1.2_rc1 - gdbm? ( sys-libs/gdbm ) - webrtc-aec? ( media-libs/webrtc-audio-processing ) - xen? ( app-emulation/xen ) - systemd? ( >=sys-apps/systemd-39 ) - dev-libs/json-c - >=sys-devel/libtool-2.2.4" # it's a valid RDEPEND, libltdl.so is used - -DEPEND="${RDEPEND} - sys-devel/m4 - doc? ( app-doc/doxygen ) - test? ( dev-libs/check ) - X? ( - x11-proto/xproto - >=x11-libs/libXtst-1.0.99.2 - ) - dev-libs/libatomic_ops - virtual/pkgconfig - system-wide? ( || ( dev-util/unifdef sys-freebsd/freebsd-ubin ) ) - dev-util/intltool" -# This is a PDEPEND to avoid a circular dep -PDEPEND="alsa? ( media-plugins/alsa-plugins[pulseaudio] )" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez dep is for the bluetooth init.d script -# PyQt4 dep is for the qpaeq script -RDEPEND="${RDEPEND} - equalizer? ( qt4? ( dev-python/PyQt4[dbus] ) ) - X? ( gnome-extra/gnome-audio ) - system-wide? ( - sys-apps/openrc - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-4 ) - )" - -# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac -REQUIRED_USE="bluetooth? ( dbus )" - -pkg_setup() { - enewgroup audio 18 # Just make sure it exists - - if use system-wide; then - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio - fi -} - -src_prepare() { - epatch_user -} - -src_configure() { - if use gdbm; then - myconf+=" --with-database=gdbm" - #elif use tdb; then - # myconf+=" --with-database=tdb" - else - myconf+=" --with-database=simple" - fi - - econf \ - --enable-largefile \ - $(use_enable glib glib2) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss oss-output) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable neon neon-opt) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable avahi) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable gtk gtk3) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable X x11) \ - $(use_enable test default-build-tests) \ - $(use_enable udev) \ - $(use_enable systemd) \ - $(use_enable ipv6) \ - $(use_enable ssl openssl) \ - $(use_enable webrtc-aec) \ - $(use_enable xen) \ - $(use_with caps) \ - $(use_with equalizer fftw) \ - --disable-adrian-aec \ - --disable-esound \ - --localstatedir="${EPREFIX}"/var \ - --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d \ - ${myconf} - - if use doc; then - pushd doxygen - doxygen doxygen.conf - popd - fi -} - -src_test() { - # We avoid running the toplevel check target because that will run - # po/'s tests too, and they are broken. Officially, it should work - # with intltool 0.41, but that doesn't look like a stable release. - emake -C src check -} - -src_install() { - emake -j1 DESTDIR="${D}" install - - # Drop the script entirely if X is disabled - use X || rm "${ED}"/usr/bin/start-pulseaudio-x11 - - if use system-wide; then - newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio - - use_define() { - local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')} - - use "$1" && echo "-D$define" || echo "-U$define" - } - - unifdef $(use_define avahi) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - $(use_define udev) \ - "${FILESDIR}/pulseaudio.init.d-5" \ - > "${T}/pulseaudio" - - doinitd "${T}/pulseaudio" - fi - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${ED}/etc/pulse/default.pa" - - dodoc README todo - - if use doc; then - pushd doxygen/html - dohtml * - popd - fi - - # Create the state directory - use prefix || diropts -o pulse -g pulse -m0755 - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - if use system-wide; then - elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." - elog "This support is enabled by starting the pulseaudio init.d ." - elog "To be able to access that you need to be in the group pulse-access." - elog "If you choose to use this feature, please make sure that you" - elog "really want to run PulseAudio this way:" - elog " http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode" - elog "For more information about system-wide support, please refer to:" - elog " http://pulseaudio.org/wiki/SystemWideInstance" - if use gnome ; then - elog - elog "By enabling gnome USE flag, you enabled gconf support. Please note" - elog "that you might need to remove the gnome USE flag or disable the" - elog "gconf module on /etc/pulse/system.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - fi - if use bluetooth; then - elog - elog "The Bluetooth proximity module is not enabled in the default" - elog "configuration file. If you do enable it, you'll have to have" - elog "your Bluetooth controller enabled and inserted at bootup or" - elog "PulseAudio will refuse to start." - fi - if use equalizer && ! use qt4; then - elog "You've enabled the 'equalizer' USE-flag but not the 'qt4' USE-flag." - elog "This will build the equalizer module, but the 'qpaeq' tool" - elog "which is required to set equalizer levels will not work." - fi -} |