summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <vlooe@web.de>2009-07-04 19:43:32 +0200
committerFlorian Fischer <vlooe@web.de>2009-07-04 19:43:32 +0200
commit578cb5d425f039f2ac4da60317b9af4feedb8cea (patch)
tree235de5f369e0bfd3d298bf72583387c6eb58d40a /media-sound
parentsynced media-video/ffmpeg with portage tree (diff)
downloadmultilib-portage-578cb5d425f039f2ac4da60317b9af4feedb8cea.tar.gz
multilib-portage-578cb5d425f039f2ac4da60317b9af4feedb8cea.tar.bz2
multilib-portage-578cb5d425f039f2ac4da60317b9af4feedb8cea.zip
synced media-sound/pulseaudio with portage tree
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pulseaudio/Manifest3
-rw-r--r--media-sound/pulseaudio/files/pulseaudio.init.d-44
-rw-r--r--media-sound/pulseaudio/pulseaudio-0.9.15.ebuild197
3 files changed, 3 insertions, 201 deletions
diff --git a/media-sound/pulseaudio/Manifest b/media-sound/pulseaudio/Manifest
index 2cbc993e7..96511c6f6 100644
--- a/media-sound/pulseaudio/Manifest
+++ b/media-sound/pulseaudio/Manifest
@@ -6,10 +6,9 @@ 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-4 2344 RMD160 172421648cafd1a3b1ff13cc33547c38d08744a1 SHA1 acdb473279e1429d0079794b77f688187773d496 SHA256 677b5606382f61162971efd12120332b6377fef2d96c9cfb92c68c17be096a38
+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.15.ebuild 6485 RMD160 a654d7899c047e22cbab7c00d2e4431025bdbfb9 SHA1 b82371f258a9d8704b04de33a764c539a9510320 SHA256 1f7d802b53589fdaafecb28a7e729687b0eb84c5f826c3d16bc717ffd77c3a46
EBUILD pulseaudio-0.9.9.ebuild 6049 RMD160 33f58fc6e1065ebc5db40b1bcd45a403d7aaa408 SHA1 f4724fef7739c667f0ab26828b1041627131d81a SHA256 ea3e354753941d680e9ab1fe16eee72bef0da94a7bbe013dbfefaa06ceadb30d
diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d-4 b/media-sound/pulseaudio/files/pulseaudio.init.d-4
index 37a1aafe7..02d3ae010 100644
--- a/media-sound/pulseaudio/files/pulseaudio.init.d-4
+++ b/media-sound/pulseaudio/files/pulseaudio.init.d-4
@@ -1,7 +1,7 @@
#!/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.2 2009/06/15 15:04:52 flameeyes Exp $
+# $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
@@ -59,7 +59,7 @@ depend() {
}
start() {
- if [[ -z ${PULSEAUDIO_SHOULD_NOT_GO_SYSTEMWIDE} ]]; then
+ 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 ""
diff --git a/media-sound/pulseaudio/pulseaudio-0.9.15.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.15.ebuild
deleted file mode 100644
index cc34ffbed..000000000
--- a/media-sound/pulseaudio/pulseaudio-0.9.15.ebuild
+++ /dev/null
@@ -1,197 +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.ebuild,v 1.7 2009/06/19 20:33:37 aballier 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" # it's a valid RDEPEND, libltdl.so is used
-
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto )
- dev-libs/libatomic_ops[lib32?]
- 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[lib32?]
- >=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_prepare() {
- 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
-}