diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-06-15 15:15:17 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-06-15 15:15:17 +0000 |
commit | 8d425b6bce1c8a16f58cdbf297196e8cfab316a4 (patch) | |
tree | 012ddd5158f7277f01c0873afa3c9b2e1c8ed658 /media-sound/pulseaudio | |
parent | Add a default-off killswitch for systemwide mode in the init script. (diff) | |
download | historical-8d425b6bce1c8a16f58cdbf297196e8cfab316a4.tar.gz historical-8d425b6bce1c8a16f58cdbf297196e8cfab316a4.tar.bz2 historical-8d425b6bce1c8a16f58cdbf297196e8cfab316a4.zip |
Clean up old ebuilds. Would be time to ask a new stable I guess.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-sound/pulseaudio')
-rw-r--r-- | media-sound/pulseaudio/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/pulseaudio/Manifest | 25 | ||||
-rw-r--r-- | media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch | 15 | ||||
-rw-r--r-- | media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch | 21 | ||||
-rw-r--r-- | media-sound/pulseaudio/files/pulseaudio.init.d-3 | 68 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-0.9.10-r1.ebuild | 180 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-0.9.10.ebuild | 173 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-0.9.11-r1.ebuild | 199 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-0.9.11-r2.ebuild | 201 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-0.9.11.ebuild | 189 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-0.9.12-r1.ebuild | 193 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-0.9.12.ebuild | 202 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-0.9.13.ebuild | 201 | ||||
-rw-r--r-- | media-sound/pulseaudio/pulseaudio-0.9.14.ebuild | 194 |
14 files changed, 14 insertions, 1858 deletions
diff --git a/media-sound/pulseaudio/ChangeLog b/media-sound/pulseaudio/ChangeLog index ecdd29fc6216..487a602c287b 100644 --- a/media-sound/pulseaudio/ChangeLog +++ b/media-sound/pulseaudio/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-sound/pulseaudio # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.127 2009/06/15 15:04:53 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.128 2009/06/15 15:15:17 flameeyes Exp $ + + 15 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org> + -files/pulseaudio-0.9.7-module-loading.patch, -pulseaudio-0.9.10.ebuild, + -pulseaudio-0.9.10-r1.ebuild, -files/pulseaudio-0.9.10-caps.patch, + -pulseaudio-0.9.11.ebuild, -pulseaudio-0.9.11-r1.ebuild, + -pulseaudio-0.9.11-r2.ebuild, -pulseaudio-0.9.12.ebuild, + -pulseaudio-0.9.12-r1.ebuild, -pulseaudio-0.9.13.ebuild, + -pulseaudio-0.9.14.ebuild, -files/pulseaudio.init.d-3: + Clean up old ebuilds. Would be time to ask a new stable I guess. 15 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org> files/pulseaudio.init.d-4: diff --git a/media-sound/pulseaudio/Manifest b/media-sound/pulseaudio/Manifest index d86c8d5b9b99..bf2d6efd2c70 100644 --- a/media-sound/pulseaudio/Manifest +++ b/media-sound/pulseaudio/Manifest @@ -1,8 +1,6 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX pulseaudio-0.9.10-caps.patch 364 RMD160 66c588518c2cf9a307cead7e10b5ef713b2bfe0f SHA1 717fc1d95445a3b816b8a10154561d27e28ebee3 SHA256 d4452a9d4c284ceda27199e26772075280efd5f8d546949eac93c1efeaf7f19b -AUX pulseaudio-0.9.7-module-loading.patch 947 RMD160 725f13d72da5ee72e61cc8d558ca352bb3a5d001 SHA1 236819d1fe76ccb22580f07e2c3a24f95d010011 SHA256 0ecc719e38bbf423d46120ce991bcc807c431e36a68cb97471235aa8e8316075 AUX pulseaudio-0.9.8-bt-nohal.patch 1153 RMD160 5ad7a7173795c022fca73ccf694207e18d6925a7 SHA1 9f50549357b5fa498e0b7f67258de431e90f89e2 SHA256 1bdc458d55529777a3a760205a09d0381433402a3002518ba5a700b3518c727d AUX pulseaudio-0.9.8-create-directory.patch 685 RMD160 87c287d3ff6047c9bee892271ea3b3ac6d06fa1a SHA1 2083a575f6272135909efce292d43a2f947f285f SHA256 5fd77f5d0a897d3f70cb3e20e24b97e7f0f46d9266b8758c56a7cb84f763e571 AUX pulseaudio-0.9.8-esoundpath.patch 1798 RMD160 c009c0d1cfdf0bb9db6ef476df29bca56b68ab58 SHA1 5901b164c5b4bd3fa485dbc1a5a950f2ba5794a9 SHA256 4ae132c68a19f07ecf1fef9c55cebc7615e38b157dc196961f666c3914a4641b @@ -10,32 +8,17 @@ AUX pulseaudio-0.9.8-polkit.patch 766 RMD160 20bafbeae68fb9092dd3ef2d6d7facca860 AUX pulseaudio-0.9.8-svn2074.patch 412 RMD160 49e416e5e9747cd7c2065b98220e99910375f826 SHA1 9a6d61fd8a000baa4699904154453b83c7bae6f9 SHA256 70b0baed200e5c86672f395520131af797eab7e8ea7fbad2b9caf00ad3e22b65 AUX pulseaudio.conf.d 275 RMD160 6317cb5be41a768428056c0057d8f5b1f189e804 SHA1 22ed7f1de0f2a18a608c5e9a91635ee66addac4d SHA256 c03661e8cc902d27ff6b52f291207f2b008957571b942abdd92a873a52aae0dd AUX pulseaudio.init.d-2 632 RMD160 5baf66e3f64e406b7e23ffbe13774e32595cff19 SHA1 e0a46567d43f7e3620c8da90654a0f16235a36fa SHA256 24c7f5319161105e46382c7c1340ae634d54cfbe32cdf70c86d6fd6c40782ee0 -AUX pulseaudio.init.d-3 1727 RMD160 ffe93d7c5300ae7974e9b5c02987a23422940d35 SHA1 437b6a0b856e44dffa89c44a2934b4d87b0e187f SHA256 8f31a03b430b5a6a7525e2251842cf685e55983c1f6d7036ae8b0aa9c8f9e2fb AUX pulseaudio.init.d-4 2344 RMD160 172421648cafd1a3b1ff13cc33547c38d08744a1 SHA1 acdb473279e1429d0079794b77f688187773d496 SHA256 677b5606382f61162971efd12120332b6377fef2d96c9cfb92c68c17be096a38 -DIST pulseaudio-0.9.10.tar.gz 1081546 RMD160 efe78b85360d0342bc839b870ad424cff0171e80 SHA1 90139debe73b6d26bc0240af3587fdb7fe4c2750 SHA256 1ae8b587759b33ad954e717728fab6df58bd28088d0ac8faf22e90253b774975 -DIST pulseaudio-0.9.11.tar.gz 1166430 RMD160 2a0629d8a4d93542e55e3031133fc36072604476 SHA1 844884c1a0c2a4810d0f92093413f8dfeb34eed9 SHA256 6cc4aff778275f087cfbd65d2040b1587cafc588749499a452eb496329505ab0 -DIST pulseaudio-0.9.12.tar.gz 1270635 RMD160 67295b283912c2d746075f90decb1bd8bfcca838 SHA1 3970e283c230fa4a1ab87176c8ee3684b4467013 SHA256 1f3740b96c062a9718cb5f5e2c37cf3b6e4d895fdf66a64b7bc686b249d6eafc -DIST pulseaudio-0.9.13.tar.gz 1308493 RMD160 07cea9939dfb4fc76f13bf01dfe22ab6d0fd8459 SHA1 c8482f1bb42d5213bfdbe2154e1a55b7bc04c915 SHA256 b8f9b7936af319f2a9d4d619beddd7f8355fcb2407486193df6cfb7b592e8d53 -DIST pulseaudio-0.9.14.tar.gz 1303077 RMD160 c7722d0d0240555edf917391989ad2e1cd4eb6b1 SHA1 a0fb7c21ee21178e102a1e5a11d8ac474e6f5da4 SHA256 e6129f9239235981d329de40eeffa55041e6815a93aaa994d1eae242ea7446b5 DIST pulseaudio-0.9.15.tar.gz 1704374 RMD160 7cab0d9ab44180b6440ae7f151a6cbb91928b321 SHA1 56fb71e4e88c901d9941d85bfe142612c30e5c8e SHA256 1e8ad5b7c5cf3485bd0738c296274ff2c99d26d12a25a225dc250eddea25b9f1 DIST pulseaudio-0.9.9.tar.gz 1063448 RMD160 beb9cb645ce69978ba095e73376ae8ae4b92daf9 SHA1 de8896cf3c6e26e77e4ae19ba300c409b6de8455 SHA256 9caab8f9be8a371aea7cd0241aab7ffd4b1043fbc4a8f62736faea4229f11f7d -EBUILD pulseaudio-0.9.10-r1.ebuild 5857 RMD160 d101113a44e1dc9663c7876332b113adef1bd311 SHA1 3f419bb9bbf662c44f983c7a2d8b3b4d406cd5c7 SHA256 035d9416102299f2db93e383a4905bbf7db0cc21e42be9f68d4c7736c580083d -EBUILD pulseaudio-0.9.10.ebuild 5646 RMD160 272ee4ad2fdf21fdb7c170575630f078c8d34b1b SHA1 53fa2d1711061e0ed95c42c35a62acb9957ae2c7 SHA256 acb469baeb157481201e6e8b9a4173ea3c99a8f605a2cd0f181e2cb91c6cb78d -EBUILD pulseaudio-0.9.11-r1.ebuild 6254 RMD160 83cce5cebc4452b260f7cbfcdcce57711f03d7a2 SHA1 37403a4fb9375f0b32d90646e2e074de891cb331 SHA256 39235cc2abbadec96f015b0e3be65c7d816765109c291af2461cb5695f5fa17d -EBUILD pulseaudio-0.9.11-r2.ebuild 6372 RMD160 1ccb4e382e8a7052dd3c56217ca551db4f3c7078 SHA1 04f7ea5947760e10d617e9a6800ada2f24ce6915 SHA256 86636adfe2dbbae3ed9902e455ec0164f7a10fbd57e55bccb3646772ee72d674 -EBUILD pulseaudio-0.9.11.ebuild 5840 RMD160 84ef98361b1a60bf104e67bc50de05d62082d438 SHA1 c36a38ec0de56a17f2001f1542aef3a0697fd276 SHA256 7fe7db99ded0e871e6e1f3a3bb0362f73fcfb77a692dcd07879c24d5a5b0e268 -EBUILD pulseaudio-0.9.12-r1.ebuild 6059 RMD160 3432efd6cb9a725bfd403a8c441e9c0ee5658c0d SHA1 318f729e90eee49e32f2636ad7c966068cfadbb1 SHA256 8ca3a16bb9142ace6adc18a2bac4a9cceb6b44c8aac98219262c17fe9df90eb6 -EBUILD pulseaudio-0.9.12.ebuild 6428 RMD160 f426705ce57a5b2df39f3164c839beb5ae7f02aa SHA1 029fce51a66fb3b2917da7075d5a7ebeadadee63 SHA256 3772a44a5e49bb1754bc6d670e9297924a847dcc96fde5bbc62ea07b8361c90b -EBUILD pulseaudio-0.9.13.ebuild 6309 RMD160 d619f2ebebf4dca2cb373c2414b705c3edaa4e8c SHA1 11f2c9c37bc08027e41232d2126e88e67910ba7f SHA256 ff2429b1cfc7f55a2a8841bc946355163a6fceb8d2616e4ded27f39c86fade74 -EBUILD pulseaudio-0.9.14.ebuild 6054 RMD160 abb3628635a127e785bcbe5bdf926df7f3d351bd SHA1 0e1d16168aa429dfd43abba92dcb8d2ceacc69ef SHA256 7e9d9d5beceb2e3ae961db30bcd8777295ec7d781eee7ba4b9a656990feba948 EBUILD pulseaudio-0.9.15.ebuild 6186 RMD160 6a07eb316871451f8477dc5728bf6416ac9b8e38 SHA1 c8a5c4b4d2cc29bbf5d7e49835458e736945ff3f SHA256 31db1ccc83abe0e0126dcf21211e1243d41438e287307bc63c313b14ff93877e EBUILD pulseaudio-0.9.9.ebuild 5797 RMD160 a3e829dc0f9c5ddfcb2f6bde0964a1ea6934a832 SHA1 e418cad6fd7ddd3dda0fdf51bf738ea4e35563ff SHA256 bb4be3fa7cc13e0118db3741af201b83db5a39d938e57864443f78f35897ab43 -MISC ChangeLog 23788 RMD160 d96bde547e4d5a22de4c24ca3102f3eaed978b68 SHA1 607452c66f2137404df90c229d6a909fdab07310 SHA256 b66bbdcc91118725141ccf76ee42f0993dbf79c12a831fb2477fe8254dd82a02 +MISC ChangeLog 24290 RMD160 bc57be7f1263afb0138299c842951e901c4afba6 SHA1 6a8fc726684a6c537ef48be1822e43d7388204db SHA256 deb5b1e9288b77140c5cfe0dab5362fad8bacc415ac68f9b043f92d9d20f90e7 MISC metadata.xml 1336 RMD160 fff3b1ef9cc533d3e40816de7b39cc7789d6056e SHA1 3a8b478a30b18c7b0311eb78ca6e60ec3cd12d2c SHA256 1ca2733f429248a115989cdd9a9530af57b5021cc1ecfdbbb8ed23c6414894ff -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAko2YxoACgkQAiZjviIA2XghNACglh7WG7Frf6aS6zeuqATJ6Z22 -6w8AoL0NWXM3+PFXDmwLby8r4MM5bil4 -=q9wp +iEYEARECAAYFAko2ZYoACgkQAiZjviIA2Xi0hgCfU4qzBHq+Ter4myvo/zuucqg8 +LnEAoPI9Y4lxmcQgqSLTENQRG/gUrBOz +=Xl9Y -----END PGP SIGNATURE----- diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch deleted file mode 100644 index 7502ad257576..000000000000 --- a/media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: pulseaudio-0.9.10/src/daemon/caps.c -=================================================================== ---- pulseaudio-0.9.10.orig/src/daemon/caps.c -+++ pulseaudio-0.9.10/src/daemon/caps.c -@@ -131,9 +131,8 @@ int pa_limit_caps(void) { - return 0; - } - --int pa_drop_caps(void) { -+void pa_drop_caps(void) { - pa_drop_root(); -- return 0; - } - - #endif diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch deleted file mode 100644 index f9fa1189942e..000000000000 --- a/media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch +++ /dev/null @@ -1,21 +0,0 @@ -Index: pulseaudio-0.9.7/src/daemon/main.c -=================================================================== ---- pulseaudio-0.9.7.orig/src/daemon/main.c -+++ pulseaudio-0.9.7/src/daemon/main.c -@@ -634,7 +634,6 @@ int main(int argc, char *argv[]) { - c->default_sample_spec = conf->default_sample_spec; - c->default_n_fragments = conf->default_n_fragments; - c->default_fragment_size_msec = conf->default_fragment_size_msec; -- c->disallow_module_loading = conf->disallow_module_loading; - c->exit_idle_time = conf->exit_idle_time; - c->module_idle_time = conf->module_idle_time; - c->scache_idle_time = conf->scache_idle_time; -@@ -675,6 +674,8 @@ int main(int argc, char *argv[]) { - pa_log_error("%s", s = pa_strbuf_tostring_free(buf)); - pa_xfree(s); - -+ c->disallow_module_loading = conf->disallow_module_loading; -+ - if (r < 0 && conf->fail) { - pa_log("failed to initialize daemon."); - #ifdef HAVE_FORK diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d-3 b/media-sound/pulseaudio/files/pulseaudio.init.d-3 deleted file mode 100644 index c15c8e160a40..000000000000 --- a/media-sound/pulseaudio/files/pulseaudio.init.d-3 +++ /dev/null @@ -1,68 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-3,v 1.3 2007/11/23 13:09:31 flameeyes Exp $ - -depend() { - need localmount - use net - - local script="/etc/pulse/default.pa" - - for opt in ${PA_OPTS}; do - case "$opt" in - --file=*) script="${opt#*=}" ;; - -F*) script="${opt#-F}" ;; - esac - done - - config "$script" - - local needs="$(get_options need)" - if [ -n "${needs}" ]; then - need ${needs} - return - fi - -#ifdef HAL - if egrep -q '^[[:space:]]*load-module[[:space:]]+module-hal-detect' "$script"; then - needs="${needs} hald" - fi -#endif - -#ifdef AVAHI - if egrep -q '[[:space:]]*load-module[[:space:]]+module-zeroconf-publish' "$script"; then - needs="${needs} avahi-daemon" - fi -#endif - -#ifdef BLUETOOTH - if egrep -q '[[:space:]]*load-module[[:space:]]+module-bt-proximity' "$script"; then - needs="${needs} bluetooth" - fi -#endif - -#ifdef ALSA - if egrep -q '[[:space:]]*load-module[[:space:]]+module-alsa-(sink|source)' "$script" || - egrep -q '[[:space:]]*load-module[[:space:]]+module-(hal-)?detect' "$script" || - egrep -q '[[:space:]]*add-autoload-source[[:space:]]+(input|output)[[:space:]]+module-alsa-(sink|source)' "$script"; then - needs="${needs} alsasound" - fi -#endif - - need "${needs}" - save_options need "${needs}" -} - -start() { - ebegin "Starting pulseaudio" - PA_ALL_OPTS="${PA_OPTS} --fail=1 --daemonize=1 --system" - start-stop-daemon --start --exec /usr/bin/pulseaudio -- ${PA_ALL_OPTS} - eend $? -} - -stop() { - ebegin "Stopping pulseaudio" - start-stop-daemon --stop --quiet --exec /usr/bin/pulseaudio --pidfile /var/run/pulse/pid - eend $? -} diff --git a/media-sound/pulseaudio/pulseaudio-0.9.10-r1.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.10-r1.ebuild deleted file mode 100644 index 7a8ea6dee374..000000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.10-r1.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.10-r1.ebuild,v 1.5 2009/02/24 11:16:21 flameeyes Exp $ - -EAPI=1 - -inherit eutils libtool autotools flag-o-matic - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" -IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib" - -RDEPEND="X? ( x11-libs/libX11 ) - caps? ( sys-libs/libcap ) - >=media-libs/audiofile-0.2.6-r1 - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - >=media-libs/libsndfile-1.0.10 - >=dev-libs/liboil-0.3.6 - alsa? ( >=media-libs/alsa-lib-1.0.10 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12 ) - >=dev-libs/liboil-0.3.0 - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - hal? ( - >=sys-apps/hal-0.5.7 - >=sys-apps/dbus-1.0.0 - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3 - >=sys-apps/dbus-1.0.0 - ) - policykit? ( sys-auth/policykit ) - asyncns? ( net-libs/libasyncns ) - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used -DEPEND="${RDEPEND} - dev-libs/libatomic_ops - dev-util/pkgconfig" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez-utils dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-utils-3 )" - -pkg_setup() { - if use avahi && ! built_with_use net-dns/avahi dbus ; then - echo - eerror "In order to compile pulseaudio with avahi support, you need to have" - eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" - eerror "flag, re-emerge avahi, and then emerge pulseaudio again." - die "net-dns/avahi is missing the D-Bus bindings." - fi - - enewgroup audio 18 # Just make sure it exists - enewgroup realtime - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-caps.patch" - - # Avoid building - and especially linking - test programs - # outside of make check - sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ - "${S}/src/Makefile.am" - - eautoreconf - elibtoolize -} - -src_compile() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - $(use_enable glib) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - $(use_enable hal) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable policykit polkit) \ - $(use_with caps) \ - $(use_with X x) \ - --disable-ltdl-install \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "make install failed" - - newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio - - local neededservices - use alsa && neededservices="$neededservices alsasound" - use avahi && neededservices="$neededservices avahi-daemon" - use hal && neededservices="$neededservices hald" - use bluetooth && neededservices="$neededservices bluetooth" - [[ -n ${neededservices} ]] && sed -e "s/@neededservices@/need $neededservices/" "${FILESDIR}/pulseaudio.init.d-2" > "${T}/pulseaudio" - doinitd "${T}/pulseaudio" - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" - - dohtml -r doc - dodoc README - - # Create the state directory - diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - 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 "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/default.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - elog - elog "To use the ESounD wrapper while using a system-wide daemon, you also" - elog "need to enable auth-anonymous for the esound-unix module, or to copy" - elog "/var/run/pulse/.esd_auth into each home directory." - elog - elog "If you want to make use of realtime capabilities of PulseAudio" - elog "you should follow the realtime guide to create and set up a realtime" - elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" - elog "Make sure you also have baselayout installed with pam USE flag" - elog "enabled, if you're using the rlimit method." - 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." - elog - elog "Please note that the BlueTooth proximity module seems itself" - elog "still experimental, so please report to upstream if you have" - elog "problems with it." - fi - - eselect esd update --if-unset -} diff --git a/media-sound/pulseaudio/pulseaudio-0.9.10.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.10.ebuild deleted file mode 100644 index 11c0735b6fe7..000000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.10.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.10.ebuild,v 1.4 2009/02/24 11:16:21 flameeyes Exp $ - -EAPI=1 - -inherit eutils libtool autotools flag-o-matic - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" -IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib" - -RDEPEND="X? ( x11-libs/libX11 ) - caps? ( sys-libs/libcap ) - >=media-libs/audiofile-0.2.6-r1 - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - >=media-libs/libsndfile-1.0.10 - >=dev-libs/liboil-0.3.6 - alsa? ( >=media-libs/alsa-lib-1.0.10 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12 ) - >=dev-libs/liboil-0.3.0 - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - hal? ( - >=sys-apps/hal-0.5.7 - >=sys-apps/dbus-1.0.0 - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3 - >=sys-apps/dbus-1.0.0 - ) - policykit? ( sys-auth/policykit ) - asyncns? ( net-libs/libasyncns ) - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used -DEPEND="${RDEPEND} - dev-libs/libatomic_ops - dev-util/pkgconfig" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez-utils dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-utils-3 )" - -pkg_setup() { - if use avahi && ! built_with_use net-dns/avahi dbus ; then - echo - eerror "In order to compile pulseaudio with avahi support, you need to have" - eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" - eerror "flag, re-emerge avahi, and then emerge pulseaudio again." - die "net-dns/avahi is missing the D-Bus bindings." - fi - - enewgroup audio 18 # Just make sure it exists - enewgroup realtime - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-caps.patch" - - eautoreconf - elibtoolize -} - -src_compile() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - $(use_enable glib) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - $(use_enable hal) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable policykit polkit) \ - $(use_with caps) \ - $(use_with X x) \ - --disable-ltdl-install \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "make install failed" - - newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio - - local neededservices - use alsa && neededservices="$neededservices alsasound" - use avahi && neededservices="$neededservices avahi-daemon" - use hal && neededservices="$neededservices hald" - use bluetooth && neededservices="$neededservices bluetooth" - [[ -n ${neededservices} ]] && sed -e "s/@neededservices@/need $neededservices/" "${FILESDIR}/pulseaudio.init.d-2" > "${T}/pulseaudio" - doinitd "${T}/pulseaudio" - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" - - dohtml -r doc - dodoc README - - # Create the state directory - diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse -} - -pkg_postinst() { - 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 "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/default.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - elog - elog "To use the ESounD wrapper while using a system-wide daemon, you also" - elog "need to enable auth-anonymous for the esound-unix module, or to copy" - elog "/var/run/pulse/.esd_auth into each home directory." - elog - elog "If you want to make use of realtime capabilities of PulseAudio" - elog "you should follow the realtime guide to create and set up a realtime" - elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" - elog "Make sure you also have baselayout installed with pam USE flag" - elog "enabled, if you're using the rlimit method." - 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." - elog - elog "Please note that the BlueTooth proximity module seems itself" - elog "still experimental, so please report to upstream if you have" - elog "problems with it." - fi - - eselect esd update --if-unset -} diff --git a/media-sound/pulseaudio/pulseaudio-0.9.11-r1.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.11-r1.ebuild deleted file mode 100644 index be5fd6a58c6c..000000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.11-r1.ebuild +++ /dev/null @@ -1,199 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.11-r1.ebuild,v 1.4 2009/02/24 11:16:21 flameeyes Exp $ - -EAPI=1 - -inherit eutils libtool autotools flag-o-matic - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" -IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib" - -RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libXau x11-libs/libXdmcp ) - caps? ( sys-libs/libcap ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - alsa? ( >=media-libs/alsa-lib-1.0.17 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12 ) - >=dev-libs/liboil-0.3.0 - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - hal? ( - >=sys-apps/hal-0.5.7 - >=sys-apps/dbus-1.0.0 - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3 - >=sys-apps/dbus-1.0.0 - ) - policykit? ( sys-auth/policykit ) - asyncns? ( net-libs/libasyncns ) - >=media-libs/audiofile-0.2.6-r1 - >=media-libs/speex-1.2_beta - >=media-libs/libsndfile-1.0.10 - >=dev-libs/liboil-0.3.6 - sys-libs/gdbm - sys-apps/openrc - >=sys-apps/baselayout-2.0_rc5 - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used -DEPEND="${RDEPEND} - X? ( x11-proto/xproto ) - dev-libs/libatomic_ops - dev-util/pkgconfig - dev-util/unifdef" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez-utils dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-utils-3 )" - -pkg_setup() { - if use avahi && ! built_with_use net-dns/avahi dbus ; then - echo - eerror "In order to compile pulseaudio with avahi support, you need to have" - eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" - eerror "flag, re-emerge avahi, and then emerge pulseaudio again." - die "net-dns/avahi is missing the D-Bus bindings." - fi - - enewgroup audio 18 # Just make sure it exists - enewgroup realtime - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Avoid building - and especially linking - test programs - # outside of make check - sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ - "${S}/src/Makefile.am" - - eautoreconf - elibtoolize -} - -src_compile() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - $(use_enable glib) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - $(use_enable hal) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable policykit polkit) \ - $(use_with caps) \ - $(use_with X x) \ - --disable-ltdl-install \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "make install failed" - - 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 "${FILESDIR}/pulseaudio.init.d-3" \ - $(use_define hal) \ - $(use_define avahi) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - > "${T}/pulseaudio" - doinitd "${T}/pulseaudio" - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" - - dohtml -r doc - dodoc README - - # Create the state directory - diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - 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 "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/default.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - elog - elog "To use the ESounD wrapper while using a system-wide daemon, you also" - elog "need to enable auth-anonymous for the esound-unix module, or to copy" - elog "/var/run/pulse/.esd_auth into each home directory." - elog - elog "If you want to make use of realtime capabilities of PulseAudio" - elog "you should follow the realtime guide to create and set up a realtime" - elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" - elog "Make sure you also have baselayout installed with pam USE flag" - elog "enabled, if you're using the rlimit method." - 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." - elog - elog "Please note that the BlueTooth proximity module seems itself" - elog "still experimental, so please report to upstream if you have" - elog "problems with it." - fi - if use alsa; then - local pkg="media-plugins/alsa-plugins" - if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then - elog - elog "You have alsa support enabled so you probably want to install" - elog "${pkg} with pulseaudio support to have" - elog "alsa using applications route their sound through pulseaudio" - fi - fi - - eselect esd update --if-unset -} diff --git a/media-sound/pulseaudio/pulseaudio-0.9.11-r2.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.11-r2.ebuild deleted file mode 100644 index a7636cda395d..000000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.11-r2.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.11-r2.ebuild,v 1.3 2009/02/24 11:16:21 flameeyes Exp $ - -EAPI=1 - -inherit eutils libtool autotools flag-o-matic - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" -IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib" - -RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libXau x11-libs/libXdmcp ) - caps? ( sys-libs/libcap ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - alsa? ( >=media-libs/alsa-lib-1.0.17-r1 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12 ) - >=dev-libs/liboil-0.3.0 - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - hal? ( - >=sys-apps/hal-0.5.7 - >=sys-apps/dbus-1.0.0 - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3 - >=sys-apps/dbus-1.0.0 - ) - policykit? ( sys-auth/policykit ) - asyncns? ( net-libs/libasyncns ) - >=media-libs/audiofile-0.2.6-r1 - >=media-libs/speex-1.2_beta - >=media-libs/libsndfile-1.0.10 - >=dev-libs/liboil-0.3.6 - sys-libs/gdbm - || ( sys-apps/openrc >=sys-apps/baselayout-2.0_rc5 ) - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used -DEPEND="${RDEPEND} - X? ( x11-proto/xproto ) - dev-libs/libatomic_ops - dev-util/pkgconfig - dev-util/unifdef" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez-utils dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-utils-3 )" - -pkg_setup() { - if use avahi && ! built_with_use net-dns/avahi dbus ; then - echo - eerror "In order to compile pulseaudio with avahi support, you need to have" - eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" - eerror "flag, re-emerge avahi, and then emerge pulseaudio again." - die "net-dns/avahi is missing the D-Bus bindings." - fi - - enewgroup audio 18 # Just make sure it exists - enewgroup realtime - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Avoid building - and especially linking - test programs - # outside of make check - sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ - "${S}/src/Makefile.am" - - eautoreconf - elibtoolize -} - -src_compile() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - $(use_enable glib) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - $(use_enable hal) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable policykit polkit) \ - $(use_with caps) \ - $(use_with X x) \ - --disable-ltdl-install \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "make install failed" - - 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 "${FILESDIR}/pulseaudio.init.d-4" \ - $(use_define hal) \ - $(use_define avahi) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - > "${T}/pulseaudio" - doinitd "${T}/pulseaudio" - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" - - dohtml -r doc - dodoc README - - # this should fix system daemon startup #233789 - cp "${D}/etc/pulse/default.pa" "${D}/etc/pulse/system.pa" - - # Create the state directory - diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - 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 "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/default.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - elog - elog "To use the ESounD wrapper while using a system-wide daemon, you also" - elog "need to enable auth-anonymous for the esound-unix module, or to copy" - elog "/var/run/pulse/.esd_auth into each home directory." - elog - elog "If you want to make use of realtime capabilities of PulseAudio" - elog "you should follow the realtime guide to create and set up a realtime" - elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" - elog "Make sure you also have baselayout installed with pam USE flag" - elog "enabled, if you're using the rlimit method." - 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." - elog - elog "Please note that the BlueTooth proximity module seems itself" - elog "still experimental, so please report to upstream if you have" - elog "problems with it." - fi - if use alsa; then - local pkg="media-plugins/alsa-plugins" - if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then - elog - elog "You have alsa support enabled so you probably want to install" - elog "${pkg} with pulseaudio support to have" - elog "alsa using applications route their sound through pulseaudio" - fi - fi - - eselect esd update --if-unset -} diff --git a/media-sound/pulseaudio/pulseaudio-0.9.11.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.11.ebuild deleted file mode 100644 index 10057a2fe7ae..000000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.11.ebuild +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.11.ebuild,v 1.3 2009/02/24 11:16:21 flameeyes Exp $ - -EAPI=1 - -inherit eutils libtool autotools flag-o-matic - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" -IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns speex +glib" - -RDEPEND="X? ( x11-libs/libX11 ) - caps? ( sys-libs/libcap ) - >=media-libs/audiofile-0.2.6-r1 - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - >=media-libs/libsndfile-1.0.10 - >=dev-libs/liboil-0.3.6 - alsa? ( >=media-libs/alsa-lib-1.0.17 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12 ) - >=dev-libs/liboil-0.3.0 - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - speex? ( >=media-libs/speex-1.2_rc1 ) - hal? ( - >=sys-apps/hal-0.5.7 - >=sys-apps/dbus-1.0.0 - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3 - >=sys-apps/dbus-1.0.0 - ) - policykit? ( sys-auth/policykit ) - asyncns? ( net-libs/libasyncns ) - sys-libs/gdbm - sys-apps/openrc - >=sys-apps/baselayout-2.0_rc5 - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used -DEPEND="${RDEPEND} - dev-libs/libatomic_ops - dev-util/pkgconfig - dev-util/unifdef" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez-utils dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-utils-3 )" - -pkg_setup() { - if use avahi && ! built_with_use net-dns/avahi dbus ; then - echo - eerror "In order to compile pulseaudio with avahi support, you need to have" - eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" - eerror "flag, re-emerge avahi, and then emerge pulseaudio again." - die "net-dns/avahi is missing the D-Bus bindings." - fi - - enewgroup audio 18 # Just make sure it exists - enewgroup realtime - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Avoid building - and especially linking - test programs - # outside of make check - sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ - "${S}/src/Makefile.am" - - eautoreconf - elibtoolize -} - -src_compile() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - $(use_enable glib) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - $(use_enable hal) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable policykit polkit) \ - $(use_with caps) \ - $(use_with X x) \ - --disable-ltdl-install \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "make install failed" - - 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 "${FILESDIR}/pulseaudio.init.d-3" \ - $(use_define hal) \ - $(use_define avahi) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - > "${T}/pulseaudio" - doinitd "${T}/pulseaudio" - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" - - dohtml -r doc - dodoc README - - # Create the state directory - diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - 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 "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/default.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - elog - elog "To use the ESounD wrapper while using a system-wide daemon, you also" - elog "need to enable auth-anonymous for the esound-unix module, or to copy" - elog "/var/run/pulse/.esd_auth into each home directory." - elog - elog "If you want to make use of realtime capabilities of PulseAudio" - elog "you should follow the realtime guide to create and set up a realtime" - elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" - elog "Make sure you also have baselayout installed with pam USE flag" - elog "enabled, if you're using the rlimit method." - 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." - elog - elog "Please note that the BlueTooth proximity module seems itself" - elog "still experimental, so please report to upstream if you have" - elog "problems with it." - fi - - eselect esd update --if-unset -} diff --git a/media-sound/pulseaudio/pulseaudio-0.9.12-r1.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.12-r1.ebuild deleted file mode 100644 index b9b39b6cec43..000000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.12-r1.ebuild +++ /dev/null @@ -1,193 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.12-r1.ebuild,v 1.4 2009/02/24 11:16:21 flameeyes Exp $ - -EAPI=2 - -inherit eutils libtool autotools flag-o-matic - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" -IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib" - -RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libXau x11-libs/libXdmcp ) - caps? ( sys-libs/libcap ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - alsa? ( >=media-libs/alsa-lib-1.0.17-r1 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12[dbus] ) - >=dev-libs/liboil-0.3.0 - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - hal? ( - >=sys-apps/hal-0.5.7 - >=sys-apps/dbus-1.0.0 - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3 - >=sys-apps/dbus-1.0.0 - ) - policykit? ( sys-auth/policykit ) - asyncns? ( net-libs/libasyncns ) - >=media-libs/audiofile-0.2.6-r1 - >=media-libs/speex-1.2_beta - >=media-libs/libsndfile-1.0.10 - >=dev-libs/liboil-0.3.6 - sys-libs/gdbm - || ( sys-apps/openrc >=sys-apps/baselayout-2.0_rc5 ) - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used -DEPEND="${RDEPEND} - >=sys-devel/autoconf-2.62 - X? ( x11-proto/xproto ) - dev-libs/libatomic_ops - dev-util/pkgconfig - || ( dev-util/unifdef sys-freebsd/freebsd-ubin )" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez-utils dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-utils-3 )" - -pkg_setup() { - enewgroup audio 18 # Just make sure it exists - enewgroup realtime - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Avoid building - and especially linking - test programs - # outside of make check - sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ - "${S}/src/Makefile.am" - - eautoreconf - elibtoolize -} - -src_configure() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - $(use_enable glib) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - $(use_enable hal) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable policykit polkit) \ - $(use_with caps) \ - $(use_with X x) \ - --disable-ltdl-install \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "make install failed" - - 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 hal) \ - $(use_define avahi) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - "${FILESDIR}/pulseaudio.init.d-4" \ - > "${T}/pulseaudio" - doinitd "${T}/pulseaudio" - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" - - dohtml -r doc - dodoc README - - # this should fix system daemon startup #233789 - cp "${D}/etc/pulse/default.pa" "${D}/etc/pulse/system.pa" - - # Create the state directory - diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - 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 "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/default.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - elog - elog "To use the ESounD wrapper while using a system-wide daemon, you also" - elog "need to enable auth-anonymous for the esound-unix module, or to copy" - elog "/var/run/pulse/.esd_auth into each home directory." - elog - elog "If you want to make use of realtime capabilities of PulseAudio" - elog "you should follow the realtime guide to create and set up a realtime" - elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" - elog "Make sure you also have baselayout installed with pam USE flag" - elog "enabled, if you're using the rlimit method." - 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." - elog - elog "Please note that the BlueTooth proximity module seems itself" - elog "still experimental, so please report to upstream if you have" - elog "problems with it." - fi - if use alsa; then - local pkg="media-plugins/alsa-plugins" - if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then - elog - elog "You have alsa support enabled so you probably want to install" - elog "${pkg} with pulseaudio support to have" - elog "alsa using applications route their sound through pulseaudio" - fi - fi - - eselect esd update --if-unset -} diff --git a/media-sound/pulseaudio/pulseaudio-0.9.12.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.12.ebuild deleted file mode 100644 index 71d2703d1cff..000000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.12.ebuild +++ /dev/null @@ -1,202 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.12.ebuild,v 1.5 2009/02/24 11:16:21 flameeyes Exp $ - -EAPI=1 - -inherit eutils libtool autotools flag-o-matic - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" -IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib" - -RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libXau x11-libs/libXdmcp ) - caps? ( sys-libs/libcap ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - alsa? ( >=media-libs/alsa-lib-1.0.17-r1 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12 ) - >=dev-libs/liboil-0.3.0 - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - hal? ( - >=sys-apps/hal-0.5.7 - >=sys-apps/dbus-1.0.0 - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3 - >=sys-apps/dbus-1.0.0 - ) - policykit? ( sys-auth/policykit ) - asyncns? ( net-libs/libasyncns ) - >=media-libs/audiofile-0.2.6-r1 - >=media-libs/speex-1.2_beta - >=media-libs/libsndfile-1.0.10 - >=dev-libs/liboil-0.3.6 - sys-libs/gdbm - || ( sys-apps/openrc >=sys-apps/baselayout-2.0_rc5 ) - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used -DEPEND="${RDEPEND} - >=sys-devel/autoconf-2.62 - X? ( x11-proto/xproto ) - dev-libs/libatomic_ops - dev-util/pkgconfig - || ( dev-util/unifdef sys-freebsd/freebsd-ubin )" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez-utils dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-utils-3 )" - -pkg_setup() { - if use avahi && ! built_with_use net-dns/avahi dbus ; then - echo - eerror "In order to compile pulseaudio with avahi support, you need to have" - eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" - eerror "flag, re-emerge avahi, and then emerge pulseaudio again." - die "net-dns/avahi is missing the D-Bus bindings." - fi - - enewgroup audio 18 # Just make sure it exists - enewgroup realtime - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Avoid building - and especially linking - test programs - # outside of make check - sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ - "${S}/src/Makefile.am" - - eautoreconf - elibtoolize -} - -src_compile() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - $(use_enable glib) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - $(use_enable hal) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable policykit polkit) \ - $(use_with caps) \ - $(use_with X x) \ - --disable-ltdl-install \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "make install failed" - - 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 hal) \ - $(use_define avahi) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - "${FILESDIR}/pulseaudio.init.d-4" \ - > "${T}/pulseaudio" - doinitd "${T}/pulseaudio" - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" - - dohtml -r doc - dodoc README - - # this should fix system daemon startup #233789 - cp "${D}/etc/pulse/default.pa" "${D}/etc/pulse/system.pa" - - # Create the state directory - diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - 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 "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/default.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - elog - elog "To use the ESounD wrapper while using a system-wide daemon, you also" - elog "need to enable auth-anonymous for the esound-unix module, or to copy" - elog "/var/run/pulse/.esd_auth into each home directory." - elog - elog "If you want to make use of realtime capabilities of PulseAudio" - elog "you should follow the realtime guide to create and set up a realtime" - elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" - elog "Make sure you also have baselayout installed with pam USE flag" - elog "enabled, if you're using the rlimit method." - 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." - elog - elog "Please note that the BlueTooth proximity module seems itself" - elog "still experimental, so please report to upstream if you have" - elog "problems with it." - fi - if use alsa; then - local pkg="media-plugins/alsa-plugins" - if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then - elog - elog "You have alsa support enabled so you probably want to install" - elog "${pkg} with pulseaudio support to have" - elog "alsa using applications route their sound through pulseaudio" - fi - fi - - eselect esd update --if-unset -} diff --git a/media-sound/pulseaudio/pulseaudio-0.9.13.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.13.ebuild deleted file mode 100644 index fbba64406966..000000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.13.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.13.ebuild,v 1.4 2009/02/24 11:16:21 flameeyes Exp $ - -EAPI=2 - -inherit eutils libtool autotools flag-o-matic - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" -IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib nls" - -RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libXau x11-libs/libXdmcp ) - caps? ( sys-libs/libcap ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - alsa? ( >=media-libs/alsa-lib-1.0.17-r1 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12[dbus] ) - >=dev-libs/liboil-0.3.0 - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - hal? ( - >=sys-apps/hal-0.5.7 - >=sys-apps/dbus-1.0.0 - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3 - >=sys-apps/dbus-1.0.0 - ) - policykit? ( sys-auth/policykit ) - asyncns? ( net-libs/libasyncns ) - >=media-libs/audiofile-0.2.6-r1 - >=media-libs/speex-1.2_beta - >=media-libs/libsndfile-1.0.10 - >=dev-libs/liboil-0.3.6 - sys-libs/gdbm - || ( sys-apps/openrc >=sys-apps/baselayout-2.0_rc5 ) - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used - -# Remove autoconf when >=2.62 stable and pulled in by autotools.eclass -DEPEND="${RDEPEND} - >=sys-devel/autoconf-2.62 - X? ( x11-proto/xproto ) - dev-libs/libatomic_ops - dev-util/pkgconfig - || ( dev-util/unifdef sys-freebsd/freebsd-ubin ) - nls? ( sys-devel/gettext dev-util/intltool )" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez-utils dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-utils-3 )" - -pkg_setup() { - enewgroup audio 18 # Just make sure it exists - enewgroup realtime - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Avoid building - and especially linking - test programs - # outside of make check - sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ - "${S}/src/Makefile.am" - - eautoreconf - elibtoolize -} - -src_configure() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - $(use_enable glib) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - $(use_enable hal) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable policykit polkit) \ - $(use_with caps) \ - $(use_with X x) \ - --disable-ltdl-install \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "make install failed" - - 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 hal) \ - $(use_define avahi) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - "${FILESDIR}/pulseaudio.init.d-4" \ - > "${T}/pulseaudio" - - # Specific fix for 0.9.13, drop at .14! - sed -i -e '/start-stop-daemon --start/s:$: --exit-idle-time=-1:' \ - "${T}"/pulseaudio - - doinitd "${T}/pulseaudio" - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" - - dohtml -r doc - dodoc README - - # this should fix system daemon startup #233789 - cp "${D}/etc/pulse/default.pa" "${D}/etc/pulse/system.pa" - - # Create the state directory - diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - 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 "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/default.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - elog - elog "To use the ESounD wrapper while using a system-wide daemon, you also" - elog "need to enable auth-anonymous for the esound-unix module, or to copy" - elog "/var/run/pulse/.esd_auth into each home directory." - elog - elog "If you want to make use of realtime capabilities of PulseAudio" - elog "you should follow the realtime guide to create and set up a realtime" - elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" - elog "Make sure you also have baselayout installed with pam USE flag" - elog "enabled, if you're using the rlimit method." - 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." - elog - elog "Please note that the BlueTooth proximity module seems itself" - elog "still experimental, so please report to upstream if you have" - elog "problems with it." - fi - if use alsa; then - local pkg="media-plugins/alsa-plugins" - if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then - elog - elog "You have alsa support enabled so you probably want to install" - elog "${pkg} with pulseaudio support to have" - elog "alsa using applications route their sound through pulseaudio" - fi - fi - - eselect esd update --if-unset -} diff --git a/media-sound/pulseaudio/pulseaudio-0.9.14.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.14.ebuild deleted file mode 100644 index 21e06942bbad..000000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.14.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.14.ebuild,v 1.5 2009/02/24 11:16:21 flameeyes Exp $ - -EAPI=2 - -inherit eutils libtool autotools flag-o-matic - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org/" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" -IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib" - -RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libXau x11-libs/libXdmcp ) - caps? ( sys-libs/libcap ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) - alsa? ( >=media-libs/alsa-lib-1.0.17-r1 ) - glib? ( >=dev-libs/glib-2.4.0 ) - avahi? ( >=net-dns/avahi-0.6.12[dbus] ) - >=dev-libs/liboil-0.3.0 - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - tcpd? ( sys-apps/tcp-wrappers ) - lirc? ( app-misc/lirc ) - dbus? ( >=sys-apps/dbus-1.0.0 ) - gnome? ( >=gnome-base/gconf-2.4.0 ) - hal? ( - >=sys-apps/hal-0.5.7 - >=sys-apps/dbus-1.0.0 - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3 - >=sys-apps/dbus-1.0.0 - ) - policykit? ( sys-auth/policykit ) - asyncns? ( net-libs/libasyncns ) - >=media-libs/audiofile-0.2.6-r1 - >=media-libs/speex-1.2_beta - >=media-libs/libsndfile-1.0.10 - >=dev-libs/liboil-0.3.6 - sys-libs/gdbm - || ( sys-apps/openrc >=sys-apps/baselayout-2.0_rc5 ) - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used - -# Remove autoconf when >=2.62 stable and pulled in by autotools.eclass -DEPEND="${RDEPEND} - >=sys-devel/autoconf-2.62 - X? ( x11-proto/xproto ) - dev-libs/libatomic_ops - dev-util/pkgconfig - || ( dev-util/unifdef sys-freebsd/freebsd-ubin ) - dev-util/intltool" - -# alsa-utils dep is for the alsasound init.d script (see bug #155707) -# bluez-utils dep is for the bluetooth init.d script -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( >=net-wireless/bluez-utils-3 )" - -pkg_setup() { - enewgroup audio 18 # Just make sure it exists - enewgroup realtime - enewgroup pulse-access - enewgroup pulse - enewuser pulse -1 -1 /var/run/pulse pulse,audio -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Avoid building - and especially linking - test programs - # outside of make check - sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ - "${S}/src/Makefile.am" - - eautoreconf - elibtoolize -} - -src_configure() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - $(use_enable glib) \ - --disable-solaris \ - $(use_enable asyncns) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable lirc) \ - $(use_enable tcpd tcpwrap) \ - $(use_enable jack) \ - $(use_enable lirc) \ - $(use_enable avahi) \ - $(use_enable hal) \ - $(use_enable dbus) \ - $(use_enable gnome gconf) \ - $(use_enable libsamplerate samplerate) \ - $(use_enable bluetooth bluez) \ - $(use_enable policykit polkit) \ - $(use_with caps) \ - $(use_with X x) \ - --disable-ltdl-install \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "make install failed" - - 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 hal) \ - $(use_define avahi) \ - $(use_define alsa) \ - $(use_define bluetooth) \ - "${FILESDIR}/pulseaudio.init.d-4" \ - > "${T}/pulseaudio" - - doinitd "${T}/pulseaudio" - - use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" - - dohtml -r doc - dodoc README - - # Create the state directory - diropts -o pulse -g pulse -m0755 - keepdir /var/run/pulse - - find "${D}" -name '*.la' -delete -} - -pkg_postinst() { - 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 "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/default.pa to be able to use PulseAudio" - elog "with a system-wide instance." - fi - elog - elog "To use the ESounD wrapper while using a system-wide daemon, you also" - elog "need to enable auth-anonymous for the esound-unix module, or to copy" - elog "/var/run/pulse/.esd_auth into each home directory." - elog - elog "If you want to make use of realtime capabilities of PulseAudio" - elog "you should follow the realtime guide to create and set up a realtime" - elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" - elog "Make sure you also have baselayout installed with pam USE flag" - elog "enabled, if you're using the rlimit method." - 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." - elog - elog "Please note that the BlueTooth proximity module seems itself" - elog "still experimental, so please report to upstream if you have" - elog "problems with it." - fi - if use alsa; then - local pkg="media-plugins/alsa-plugins" - if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then - elog - elog "You have alsa support enabled so you probably want to install" - elog "${pkg} with pulseaudio support to have" - elog "alsa using applications route their sound through pulseaudio" - fi - fi - - eselect esd update --if-unset -} |