diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-02-19 09:44:50 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-02-19 09:44:50 +0000 |
commit | cf63711623d44cf76e5073a7a2237516418f4b0f (patch) | |
tree | 1957c8ba2227d785d5ac5fc7780f4b3bd1285a07 /media-plugins/xmms-musepack | |
parent | Added the patch for the mremap/munmap vulnerability. Bug #42024. Also masked ... (diff) | |
download | gentoo-2-cf63711623d44cf76e5073a7a2237516418f4b0f.tar.gz gentoo-2-cf63711623d44cf76e5073a7a2237516418f4b0f.tar.bz2 gentoo-2-cf63711623d44cf76e5073a7a2237516418f4b0f.zip |
Added USE flag option for esd support. Closes bug #40970.
Diffstat (limited to 'media-plugins/xmms-musepack')
-rw-r--r-- | media-plugins/xmms-musepack/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/xmms-musepack/xmms-musepack-0.98-r1.ebuild | 21 |
2 files changed, 19 insertions, 8 deletions
diff --git a/media-plugins/xmms-musepack/ChangeLog b/media-plugins/xmms-musepack/ChangeLog index 7566de400f91..8f77f89c76e6 100644 --- a/media-plugins/xmms-musepack/ChangeLog +++ b/media-plugins/xmms-musepack/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/xmms-musepack # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-musepack/ChangeLog,v 1.7 2004/02/10 12:11:02 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-musepack/ChangeLog,v 1.8 2004/02/19 09:44:50 eradicator Exp $ + + 19 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org> + xmms-musepack-0.98-r1.ebuild: + Added USE flag option for esd support. Closes bug #40970. 10 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org> xmms-musepack-0.98-r1.ebuild: diff --git a/media-plugins/xmms-musepack/xmms-musepack-0.98-r1.ebuild b/media-plugins/xmms-musepack/xmms-musepack-0.98-r1.ebuild index e5e817cb4157..15d5d109a5d7 100644 --- a/media-plugins/xmms-musepack/xmms-musepack-0.98-r1.ebuild +++ b/media-plugins/xmms-musepack/xmms-musepack-0.98-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-musepack/xmms-musepack-0.98-r1.ebuild,v 1.2 2004/02/10 12:11:02 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-musepack/xmms-musepack-0.98-r1.ebuild,v 1.3 2004/02/19 09:44:50 eradicator Exp $ inherit flag-o-matic eutils @@ -19,20 +19,27 @@ RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="" +IUSE="esd" -DEPEND="media-sound/xmms - media-sound/esound" +RDEPEND="media-sound/xmms + esd? ( media-sound/esound )" + +DEPEND="${RDEPEND} + sys-apps/sed" DOCS="ChangeLog README_mpc-plugin_english.txt README_mpc-plugin_finnish.txt README_mpc-plugin_german.txt README_mpc-plugin_korean.txt README_mpc-plugin_spanish.txt" src_unpack() { - mkdir ${WORKDIR}/${P}; - cd ${WORKDIR}/${P} + mkdir ${S} + cd ${S} unpack ${A} # Fix up the atrocious Makefile. - cd ${S}; epatch ${FILESDIR}/${P}-bad-makefile.patch + epatch ${FILESDIR}/${P}-bad-makefile.patch + + if ! use esd; then + sed -i 's:#define USE_ESD_AUDIO:#undef USE_ESD_AUDIO:' mpp.h + fi } src_compile() { |