diff options
author | Thomas Sachau <tommy@gentoo.org> | 2009-07-19 23:45:04 +0200 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2009-07-19 23:45:04 +0200 |
commit | 941a59db6648afe38729c15355c662b257b06eb7 (patch) | |
tree | 74505e7d9792e414211ff30391297279ae3e98d7 /media-sound | |
parent | Drop media-sound/wavpack (diff) | |
download | multilib-portage-941a59db6648afe38729c15355c662b257b06eb7.tar.gz multilib-portage-941a59db6648afe38729c15355c662b257b06eb7.tar.bz2 multilib-portage-941a59db6648afe38729c15355c662b257b06eb7.zip |
Drop media-sound/pulseaudio
Diffstat (limited to 'media-sound')
13 files changed, 0 insertions, 799 deletions
diff --git a/media-sound/pulseaudio/Manifest b/media-sound/pulseaudio/Manifest deleted file mode 100644 index 96511c6f6..000000000 --- a/media-sound/pulseaudio/Manifest +++ /dev/null @@ -1,14 +0,0 @@ -AUX pulseaudio-0.9.15-bsd.patch 549 RMD160 d44e309557353c115281e860bfa643b197d04921 SHA1 0cd07acc70c0e53984e7a639d9668b4817cb804c SHA256 d044e27ad71424b601f0de37e29321226579146203c6c557434d11e298798787 -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 -AUX pulseaudio-0.9.8-polkit.patch 766 RMD160 20bafbeae68fb9092dd3ef2d6d7facca86091d42 SHA1 490aeea34db54e779b84e9922bdb372e1cdcde7e SHA256 112d4da6597783e4dd3d69b73fe08c91631e280b23e84a41c2f1f8b3d9c8d368 -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-4 2344 RMD160 3bfc1f05a6a4d9e4794bbf985501f3422f426d50 SHA1 104148a552c30aad040a8b88e73dc2551238161d SHA256 a7c5a409775b24d54d9361b8b9fae5a9316ea50c356b8d13e175e835768faec3 -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.15-r1.ebuild 4783 RMD160 bb050fb1bbeabc56dd7948b713e81349427a859d SHA1 8f115b9337ec891ed4a3f030051f340a61c5423f SHA256 73d2506240afbbaa1468b6108e73594dedf15c2daa1b5f97d3c99883b52e73f0 -EBUILD pulseaudio-0.9.15-r50.ebuild 6509 RMD160 5a77523e3c0a29352d7eb90a6d8f1621ebc34431 SHA1 d2ce4a5934d9c75f2462bc06185bfb7c00862577 SHA256 3be9e898ba9cf5122d7571ccfd496cc13b76d143b29d4aa0d6d567f0ee01cb5b -EBUILD pulseaudio-0.9.9.ebuild 6049 RMD160 33f58fc6e1065ebc5db40b1bcd45a403d7aaa408 SHA1 f4724fef7739c667f0ab26828b1041627131d81a SHA256 ea3e354753941d680e9ab1fe16eee72bef0da94a7bbe013dbfefaa06ceadb30d diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.15-bsd.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.15-bsd.patch deleted file mode 100644 index 42e414645..000000000 --- a/media-sound/pulseaudio/files/pulseaudio-0.9.15-bsd.patch +++ /dev/null @@ -1,18 +0,0 @@ -commit ff5b7fb222db265dfbc5f44dc3d55ce6396d78ca -Author: Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> -Date: Fri May 15 23:42:43 2009 +0200 - - Add missing headers' include to build on FreeBSD 7.1. - -diff --git a/src/modules/rtp/rtsp_client.c b/src/modules/rtp/rtsp_client.c -index 629328a..cb037de 100644 ---- a/src/modules/rtp/rtsp_client.c -+++ b/src/modules/rtp/rtsp_client.c -@@ -30,6 +30,7 @@ - #include <arpa/inet.h> - #include <unistd.h> - #include <sys/ioctl.h> -+#include <netinet/in.h> - - #ifdef HAVE_SYS_FILIO_H - #include <sys/filio.h> diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-bt-nohal.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-bt-nohal.patch deleted file mode 100644 index 95ffbb5d3..000000000 --- a/media-sound/pulseaudio/files/pulseaudio-0.9.8-bt-nohal.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: pulseaudio-0.9.8/configure.ac -=================================================================== ---- pulseaudio-0.9.8.orig/configure.ac -+++ pulseaudio-0.9.8/configure.ac -@@ -836,7 +836,7 @@ if test "x$HAVE_HAL" = x1 ; then - dbus=yes - fi - --if test "x${dbus}" != xno ; then -+if test "x${dbus}" != xno || test "x${bluez}" != xno || "x${hal}" != xno ; then - - PKG_CHECK_MODULES(DBUS, [ dbus-1 >= 1.0.0 ], - [ -Index: pulseaudio-0.9.8/src/Makefile.am -=================================================================== ---- pulseaudio-0.9.8.orig/src/Makefile.am -+++ pulseaudio-0.9.8/src/Makefile.am -@@ -1424,8 +1424,8 @@ module_jack_source_la_CFLAGS = $(AM_CFLA - # HAL - libdbus_util_la_SOURCES = modules/dbus-util.c modules/dbus-util.h - libdbus_util_la_LDFLAGS = -avoid-version --libdbus_util_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) libpulsecore.la --libdbus_util_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS) -+libdbus_util_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la -+libdbus_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) - - module_hal_detect_la_SOURCES = modules/module-hal-detect.c - module_hal_detect_la_LDFLAGS = -module -avoid-version diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch deleted file mode 100644 index 92bb2ebf4..000000000 --- a/media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch +++ /dev/null @@ -1,21 +0,0 @@ -Index: src/pulsecore/core-util.c -=================================================================== ---- src/pulsecore/core-util.c (revision 2077) -+++ src/pulsecore/core-util.c (revision 2078) -@@ -1129,8 +1129,15 @@ - - if ((e = getenv("PULSE_CONFIG_PATH"))) - fn = lfn = pa_sprintf_malloc("%s/%s", e, local); -- else if (pa_get_home_dir(h, sizeof(h))) -+ else if (pa_get_home_dir(h, sizeof(h))) { -+ char *d; -+ -+ d = pa_sprintf_malloc("%s/.pulse", h); -+ mkdir(d, 0755); -+ pa_xfree(d); -+ - fn = lfn = pa_sprintf_malloc("%s/.pulse/%s", h, local); -+ } - - if (lfn) { - FILE *f; diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-esoundpath.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-esoundpath.patch deleted file mode 100644 index 317d39a59..000000000 --- a/media-sound/pulseaudio/files/pulseaudio-0.9.8-esoundpath.patch +++ /dev/null @@ -1,49 +0,0 @@ -Index: src/modules/module-protocol-stub.c -=================================================================== ---- src/modules/module-protocol-stub.c (revision 2082) -+++ src/modules/module-protocol-stub.c (working copy) -@@ -218,9 +218,13 @@ - char tmp[PATH_MAX]; - - #if defined(USE_PROTOCOL_ESOUND) -- char tmp2[PATH_MAX]; -+#if defined(USE_PERUSER_ESOUND_SOCKET) -+ char esdsocketpath[PATH_MAX]; -+#else -+ const char esdsocketpath[] = "/tmp/.esd/socket"; - #endif - #endif -+#endif - - pa_assert(m); - -@@ -265,8 +269,10 @@ - - #if defined(USE_PROTOCOL_ESOUND) - -- snprintf(tmp2, sizeof(tmp2), "/tmp/.esd-%lu/socket", (unsigned long) getuid()); -- pa_runtime_path(pa_modargs_get_value(ma, "socket", tmp2), tmp, sizeof(tmp)); -+#if defined(USE_PERUSER_ESOUND_SOCKET) -+ snprintf(esdsocketpath, sizeof(esdsocketpath), "/tmp/.esd-%lu/socket", (unsigned long) getuid()); -+#endif -+ pa_runtime_path(pa_modargs_get_value(ma, "socket", esdsocketpath), tmp, sizeof(tmp)); - u->socket_path = pa_xstrdup(tmp); - - /* This socket doesn't reside in our own runtime dir but in -Index: configure.ac -=================================================================== ---- configure.ac (revision 2082) -+++ configure.ac (working copy) -@@ -982,6 +982,12 @@ - AC_SUBST(PA_ACCESS_GROUP) - AC_DEFINE_UNQUOTED(PA_ACCESS_GROUP,"$PA_ACCESS_GROUP", [Access group]) - -+AC_ARG_WITH(peruser_esound, AS_HELP_STRING([--with-peruser-esound-socket], [Use per-user esound socket directory, like /tmp/.esd-UID/socket.])) -+ -+if test "x$with_peruser_esound" = "xyes"; then -+ AC_DEFINE([USE_PERUSER_ESOUND_SOCKET], [1], [Define this if you want per-user esound socket directories]) -+fi -+ - #### PulseAudio system runtime dir #### - PA_SYSTEM_RUNTIME_PATH="${localstatedir}/run/pulse" - AC_SUBST(PA_SYSTEM_RUNTIME_PATH) diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-polkit.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-polkit.patch deleted file mode 100644 index fcd0183ff..000000000 --- a/media-sound/pulseaudio/files/pulseaudio-0.9.8-polkit.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: pulseaudio-0.9.8/configure.ac -=================================================================== ---- pulseaudio-0.9.8.orig/configure.ac -+++ pulseaudio-0.9.8/configure.ac -@@ -881,11 +881,11 @@ if test "x${polkit}" != xno ; then - [ - HAVE_POLKIT=1 - saved_LIBS="$LIBS" -- LIBS="$LIBS POLKIT_LIBS" -+ LIBS="$LIBS $POLKIT_LIBS" - AC_CHECK_FUNCS(polkit_context_is_caller_authorized) - LIBS="$saved_LIBS" - AC_DEFINE([HAVE_POLKIT], 1, [Have PolicyKit]) -- policydir=`pkg-config --variable prefix`/usr/share/PolicyKit/policy/ -+ policydir=`pkg-config polkit-dbus --variable prefix`/share/PolicyKit/policy/ - AC_SUBST(policydir) - ], - [ diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-svn2074.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-svn2074.patch deleted file mode 100644 index 707abef78..000000000 --- a/media-sound/pulseaudio/files/pulseaudio-0.9.8-svn2074.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: src/pulse/stream.c -=================================================================== ---- src/pulse/stream.c (revision 2073) -+++ src/pulse/stream.c (revision 2074) -@@ -586,7 +586,7 @@ - } - } - -- if (s->context->version >= 12) { -+ if (s->context->version >= 12 && s->direction != PA_STREAM_UPLOAD) { - pa_sample_spec ss; - pa_channel_map cm; - const char *dn = NULL; diff --git a/media-sound/pulseaudio/files/pulseaudio.conf.d b/media-sound/pulseaudio/files/pulseaudio.conf.d deleted file mode 100644 index 1d31d342a..000000000 --- a/media-sound/pulseaudio/files/pulseaudio.conf.d +++ /dev/null @@ -1,7 +0,0 @@ -# Config file for /etc/init.d/pulseaudio -# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.conf.d,v 1.6 2006/07/29 15:34:18 flameeyes Exp $ - -# For more see "pulseaudio -h". - -# Startup options -PA_OPTS="--log-target=syslog --disallow-module-loading=1" diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d-2 b/media-sound/pulseaudio/files/pulseaudio.init.d-2 deleted file mode 100644 index 179d1885e..000000000 --- a/media-sound/pulseaudio/files/pulseaudio.init.d-2 +++ /dev/null @@ -1,23 +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-2,v 1.5 2007/11/07 12:07:10 flameeyes Exp $ - -depend() { - need localmount - use net - @neededservices@ -} - -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/files/pulseaudio.init.d-4 b/media-sound/pulseaudio/files/pulseaudio.init.d-4 deleted file mode 100644 index 02d3ae010..000000000 --- a/media-sound/pulseaudio/files/pulseaudio.init.d-4 +++ /dev/null @@ -1,81 +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-4,v 1.3 2009/06/22 10:57:21 flameeyes Exp $ - -depend() { - need localmount - use net - - local script="/etc/pulse/system.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 - - if egrep -q '^[[:space:]]*load-module[[:space:]]+module-console-kit' "$script"; then - needs="${needs} consolekit" - 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() { - if [ -z "${PULSEAUDIO_SHOULD_NOT_GO_SYSTEMWIDE}" ]; then - eerror "Please don't use system wide PulseAudio unless you read the" - eerror "documentation available at http://www.pulseaudio.org/wiki/WhatIsWrongWithSystemMode" - eerror "" - eerror "When you're done, please set the variable PULSEAUDIO_SHOULD_NOT_GO_SYSTEMWIDE in" - eerror "/etc/conf.d/pulseaudio . Please remember that upstream does not support this mode" - eerror "when used for standard desktop configurations." - return 1 - fi - 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.15-r1.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.15-r1.ebuild deleted file mode 100644 index 121b2ebe9..000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.15-r1.ebuild +++ /dev/null @@ -1,153 +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.15-r1.ebuild,v 1.1 2009/06/22 10:52:39 flameeyes Exp $ - -EAPI=2 - -inherit eutils libtool flag-o-matic multilib-native - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org/" -if [[ ${PV/_rc/} == ${PV} ]]; then - SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" -else - SRC_URI="http://0pointer.de/public/${P/_rc/-test}.tar.gz" -fi - -S="${WORKDIR}/${P/_rc/-test}" - -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 test" - -RDEPEND="X? ( x11-libs/libX11[lib32?] x11-libs/libSM[lib32?] x11-libs/libICE[lib32?] x11-libs/libXtst[lib32?] ) - caps? ( sys-libs/libcap[lib32?] ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1[lib32?] ) - alsa? ( >=media-libs/alsa-lib-1.0.19[lib32?] ) - glib? ( >=dev-libs/glib-2.4.0[lib32?] ) - avahi? ( >=net-dns/avahi-0.6.12[dbus,lib32?] ) - >=dev-libs/liboil-0.3.0[lib32?] - jack? ( >=media-sound/jack-audio-connection-kit-0.100[lib32?] ) - tcpd? ( sys-apps/tcp-wrappers[lib32?] ) - lirc? ( app-misc/lirc[lib32?] ) - dbus? ( >=sys-apps/dbus-1.0.0[lib32?] ) - gnome? ( >=gnome-base/gconf-2.4.0[lib32?] ) - hal? ( - >=sys-apps/hal-0.5.7[lib32?] - >=sys-apps/dbus-1.0.0[lib32?] - ) - app-admin/eselect-esd - bluetooth? ( - || ( >=net-wireless/bluez-4[lib32?] - >=net-wireless/bluez-libs-3[lib32?] ) - >=sys-apps/dbus-1.0.0[lib32?] - ) - policykit? ( sys-auth/policykit[lib32?] ) - asyncns? ( net-libs/libasyncns[lib32?] ) - >=media-libs/audiofile-0.2.6-r1[lib32?] - >=media-libs/speex-1.2_beta[lib32?] - >=media-libs/libsndfile-1.0.10[lib32?] - >=dev-libs/liboil-0.3.6[lib32?] - sys-libs/gdbm[lib32?] - >=sys-devel/libtool-2.2.4[lib32?]" # it's a valid RDEPEND, libltdl.so is used - -DEPEND="${RDEPEND} - X? ( x11-proto/xproto ) - dev-libs/libatomic_ops - dev-util/pkgconfig - dev-util/intltool" - -RDEPEND="${RDEPEND} - gnome-extra/gnome-audio" - -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 -} - -multilib-native_src_prepare_internal() { - epatch "${FILESDIR}/${P}-bsd.patch" - elibtoolize -} - -multilib-native_src_configure_internal() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - append-ldflags -Wl,--no-as-needed - - econf \ - --enable-largefile \ - $(use_enable glib glib2) \ - --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_enable X x11) \ - $(use_enable test default-build-tests) \ - $(use_with caps) \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" -} - -multilib-native_src_install_internal() { - emake DESTDIR="${D}" install || die "make install failed" - - 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 "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.15-r50.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.15-r50.ebuild deleted file mode 100644 index c3a24f70d..000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.15-r50.ebuild +++ /dev/null @@ -1,198 +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.15-r50.ebuild,v 1.1 2009/06/22 10:52:39 flameeyes Exp $ - -EAPI=2 - -inherit eutils libtool flag-o-matic multilib-native - -DESCRIPTION="A networked sound server with an advanced plugin system" -HOMEPAGE="http://www.pulseaudio.org/" -if [[ ${PV/_rc/} == ${PV} ]]; then - SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" -else - SRC_URI="http://0pointer.de/public/${P/_rc/-test}.tar.gz" -fi - -S="${WORKDIR}/${P/_rc/-test}" - -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 test" - -RDEPEND="X? ( x11-libs/libX11[lib32?] x11-libs/libSM[lib32?] x11-libs/libICE[lib32?] x11-libs/libXtst[lib32?] ) - caps? ( sys-libs/libcap[lib32?] ) - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1[lib32?] ) - alsa? ( >=media-libs/alsa-lib-1.0.19[lib32?] ) - glib? ( >=dev-libs/glib-2.4.0[lib32?] ) - avahi? ( >=net-dns/avahi-0.6.12[dbus,lib32?] ) - >=dev-libs/liboil-0.3.0[lib32?] - jack? ( >=media-sound/jack-audio-connection-kit-0.100[lib32?] ) - tcpd? ( sys-apps/tcp-wrappers[lib32?] ) - lirc? ( app-misc/lirc[lib32?] ) - dbus? ( >=sys-apps/dbus-1.0.0[lib32?] ) - gnome? ( >=gnome-base/gconf-2.4.0[lib32?] ) - hal? ( - >=sys-apps/hal-0.5.7[lib32?] - >=sys-apps/dbus-1.0.0[lib32?] - ) - app-admin/eselect-esd - bluetooth? ( - || ( >=net-wireless/bluez-4[lib32?] - >=net-wireless/bluez-libs-3[lib32?] ) - >=sys-apps/dbus-1.0.0[lib32?] - ) - policykit? ( sys-auth/policykit[lib32?] ) - asyncns? ( net-libs/libasyncns[lib32?] ) - >=media-libs/audiofile-0.2.6-r1[lib32?] - >=media-libs/speex-1.2_beta[lib32?] - >=media-libs/libsndfile-1.0.10[lib32?] - >=dev-libs/liboil-0.3.6[lib32?] - sys-libs/gdbm[lib32?] - >=sys-devel/libtool-2.2.4[lib32?]" # 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 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} - sys-apps/openrc - gnome-extra/gnome-audio - alsa? ( media-sound/alsa-utils ) - bluetooth? ( - || ( >=net-wireless/bluez-4 - >=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 -} - -multilib-native_src_prepare_internal() { - epatch "${FILESDIR}/${P}-bsd.patch" - elibtoolize -} - -multilib-native_src_configure_internal() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - append-ldflags -Wl,--no-as-needed - - econf \ - --enable-largefile \ - $(use_enable glib glib2) \ - --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_enable X x11) \ - $(use_enable test default-build-tests) \ - $(use_with caps) \ - --localstatedir=/var \ - --with-realtime-group=realtime \ - --disable-per-user-esound-socket \ - || die "econf failed" -} - -multilib-native_src_install_internal() { - emake 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 "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 - 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.9.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.9.ebuild deleted file mode 100644 index e28fa7968..000000000 --- a/media-sound/pulseaudio/pulseaudio-0.9.9.ebuild +++ /dev/null @@ -1,176 +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.9.ebuild,v 1.10 2009/04/28 14:30:42 armin76 Exp $ - -EAPI="2" - -inherit eutils libtool autotools flag-o-matic multilib-native - -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" - -RDEPEND="X? ( x11-libs/libX11[lib32?] ) - caps? ( sys-libs/libcap[lib32?] ) - >=media-libs/audiofile-0.2.6-r1[lib32?] - libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1[lib32?] ) - >=media-libs/libsndfile-1.0.10[lib32?] - >=dev-libs/liboil-0.3.6[lib32?] - alsa? ( >=media-libs/alsa-lib-1.0.10[lib32?] ) - >=dev-libs/glib-2.4.0[lib32?] - avahi? ( >=net-dns/avahi-0.6.12[lib32?] ) - >=dev-libs/liboil-0.3.0[lib32?] - jack? ( >=media-sound/jack-audio-connection-kit-0.100[lib32?] ) - tcpd? ( sys-apps/tcp-wrappers[lib32?] ) - lirc? ( app-misc/lirc[lib32?] ) - dbus? ( >=sys-apps/dbus-1.0.0[lib32?] ) - gnome? ( >=gnome-base/gconf-2.4.0[lib32?] ) - hal? ( - >=sys-apps/hal-0.5.7[lib32?] - >=sys-apps/dbus-1.0.0[lib32?] - ) - app-admin/eselect-esd - bluetooth? ( - >=net-wireless/bluez-libs-3[lib32?] - >=sys-apps/dbus-1.0.0[lib32?] - ) - policykit? ( sys-auth/policykit[lib32?] ) - asyncns? ( net-libs/libasyncns[lib32?] ) - >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used -DEPEND="${RDEPEND} - dev-libs/libatomic_ops[lib32?] - 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}/${PN}-0.9.8-svn2074.patch" - epatch "${FILESDIR}/${PN}-0.9.8-polkit.patch" - epatch "${FILESDIR}/${PN}-0.9.8-bt-nohal.patch" - epatch "${FILESDIR}/${PN}-0.9.8-esoundpath.patch" - epatch "${FILESDIR}/${PN}-0.9.8-create-directory.patch" - - eautoreconf - elibtoolize -} - -multilib-native_src_compile_internal() { - # To properly fix CVE-2008-0008 - append-flags -UNDEBUG - - econf \ - --enable-largefile \ - --enable-glib2 \ - --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 \ - || die "econf failed" - emake || die "emake failed" -} - -multilib-native_src_install_internal() { - 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 -} |