diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2007-05-30 15:09:20 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2007-05-30 15:09:20 +0000 |
commit | ba6f41564090aef28cec0763fb2f6b23c3c6e113 (patch) | |
tree | 5c8138dec1bbbe3853f35bac51f1919baf31c413 /media-sound/esound | |
parent | New revision bump, completed patch. (diff) | |
download | historical-ba6f41564090aef28cec0763fb2f6b23c3c6e113.tar.gz historical-ba6f41564090aef28cec0763fb2f6b23c3c6e113.tar.bz2 historical-ba6f41564090aef28cec0763fb2f6b23c3c6e113.zip |
Bump to 0.2.38
* Fix 100% CPU problem introduced in 0.2.37 (Joe Marcus Clarke)
* Fix libesddsp not linking against libesd (Loïc Minier)
* Fix file descriptor leaks (Pierre Ossman)
* Fix a build problem with the read/write wrapper (Jean Bréfort)
* chdir to "/" when starting up (Dan Winship)
* Only install the esddsp man page if we build the binary
(<yselkowitz@users.sourceforge.net>)
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'media-sound/esound')
-rw-r--r-- | media-sound/esound/ChangeLog | 15 | ||||
-rw-r--r-- | media-sound/esound/esound-0.2.38.ebuild | 74 | ||||
-rw-r--r-- | media-sound/esound/files/digest-esound-0.2.38 | 3 | ||||
-rw-r--r-- | media-sound/esound/files/esound-0.2.38-as-needed.patch | 12 |
4 files changed, 103 insertions, 1 deletions
diff --git a/media-sound/esound/ChangeLog b/media-sound/esound/ChangeLog index 75ed7586b1cb..69de048d0f07 100644 --- a/media-sound/esound/ChangeLog +++ b/media-sound/esound/ChangeLog @@ -1,6 +1,19 @@ # ChangeLog for media-sound/esound # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/ChangeLog,v 1.95 2007/05/10 08:08:16 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/ChangeLog,v 1.96 2007/05/30 15:09:20 dang Exp $ + +*esound-0.2.38 (30 May 2007) + + 30 May 2007; Daniel Gryniewicz <dang@gentoo.org> + +files/esound-0.2.38-as-needed.patch, +esound-0.2.38.ebuild: + Bump to 0.2.38 + * Fix 100% CPU problem introduced in 0.2.37 (Joe Marcus Clarke) + * Fix libesddsp not linking against libesd (Loïc Minier) + * Fix file descriptor leaks (Pierre Ossman) + * Fix a build problem with the read/write wrapper (Jean Bréfort) + * chdir to "/" when starting up (Dan Winship) + * Only install the esddsp man page if we build the binary + (<yselkowitz@users.sourceforge.net>) 10 May 2007; Fabian Groffen <grobian@gentoo.org> -files/esound-0.2.36-ppc-macos.patch, esound-0.2.36-r1.ebuild, diff --git a/media-sound/esound/esound-0.2.38.ebuild b/media-sound/esound/esound-0.2.38.ebuild new file mode 100644 index 000000000000..543a8a5d5366 --- /dev/null +++ b/media-sound/esound/esound-0.2.38.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.38.ebuild,v 1.1 2007/05/30 15:09:20 dang Exp $ + +WANT_AUTOMAKE=1.10 +inherit libtool gnome.org eutils autotools flag-o-matic + +DESCRIPTION="The Enlightened Sound Daemon" +HOMEPAGE="http://www.tux.org/~ricdude/EsounD.html" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="alsa debug ipv6 tcpd" + +# esound comes with arts support, but it hasn't been tested yet, feel free to +# submit patches/improvements +DEPEND=">=media-libs/audiofile-0.1.5 + alsa? ( >=media-libs/alsa-lib-0.5.10b ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )" +# arts? ( kde-base/arts ) + +RDEPEND="${DEPEND} + app-admin/eselect-esd" + +src_unpack() { + + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-0.2.32-amd64.patch" + + epatch "${FILESDIR}/${PN}-0.2.36-mode_t.patch" + epatch "${FILESDIR}/${PN}-0.2.38-as-needed.patch" + + AT_M4DIR="m4" eautoreconf +} + +src_compile() { + # Strict aliasing problem + append-flags -fno-strict-aliasing + + econf \ + --sysconfdir=/etc/esd \ + $(use_enable ipv6) \ + $(use_enable debug debugging) \ + $(use_enable alsa) \ + $(use_with tcpd libwrap) \ + --disable-dependency-tracking \ + || die "Configure failed" + + emake || die "Make failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "Installation failed" + mv "${D}/usr/bin/"{esd,esound-esd} + + dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TIPS TODO + + [[ -d "docs/html" ]] && dohtml -r docs/html/* + + newconfd "${FILESDIR}/esound.conf.d" esound + + extradepend="" + use tcpd && extradepend=" portmap" + use alsa && extradepend="$extradepend alsasound" + sed -e "s/@extradepend@/$extradepend/" "${FILESDIR}/esound.init.d.2" >"${T}/esound" + doinitd "${T}/esound" +} + +pkg_postinst() { + eselect esd update --if-unset +} diff --git a/media-sound/esound/files/digest-esound-0.2.38 b/media-sound/esound/files/digest-esound-0.2.38 new file mode 100644 index 000000000000..9e67ac80cc9d --- /dev/null +++ b/media-sound/esound/files/digest-esound-0.2.38 @@ -0,0 +1,3 @@ +MD5 1c48c100b450d617b58dacb59837d34f esound-0.2.38.tar.bz2 393758 +RMD160 d12605bcd24b697a5525b0e266d2bbca43edea32 esound-0.2.38.tar.bz2 393758 +SHA256 08ea208cb3948650250bb068de5c75b877e78902d679e8af5d0a14062c939b37 esound-0.2.38.tar.bz2 393758 diff --git a/media-sound/esound/files/esound-0.2.38-as-needed.patch b/media-sound/esound/files/esound-0.2.38-as-needed.patch new file mode 100644 index 000000000000..6da0befce592 --- /dev/null +++ b/media-sound/esound/files/esound-0.2.38-as-needed.patch @@ -0,0 +1,12 @@ +diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN esound-0.2.38.orig/Makefile.am esound-0.2.38/Makefile.am +--- esound-0.2.38.orig/Makefile.am 2007-04-19 10:43:59.000000000 -0400 ++++ esound-0.2.38/Makefile.am 2007-05-30 11:03:00.000000000 -0400 +@@ -61,7 +61,7 @@ AUDIO_BACKENDS = \ + audio_win32.c + + libesddsp_la_LDFLAGS = -version-info $(ESD_VERSION_INFO) +-libesddsp_la_LIBADD = $(DL_LIB) -lm libesd.la ++libesddsp_la_LIBADD = libesd.la $(DL_LIB) -lm + + libesddsp_la_SOURCES = \ + esddsp.c |