diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-12 07:43:59 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-12 07:43:59 +0000 |
commit | dc06108b5fc525dfef3dc97b82b702b5e6234fea (patch) | |
tree | db1028ea7743615135f31af396522a68a58b67f1 /media-plugins | |
parent | New release (0.8). Closing bug #78070. (diff) | |
download | gentoo-2-dc06108b5fc525dfef3dc97b82b702b5e6234fea.tar.gz gentoo-2-dc06108b5fc525dfef3dc97b82b702b5e6234fea.tar.bz2 gentoo-2-dc06108b5fc525dfef3dc97b82b702b5e6234fea.zip |
Fixed missing oss header file when using installed sdk (xmms-1.2.10-r13 and later). Added IUSE="oss"
(Portage version: 2.0.51-r15)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/xmms-esd/ChangeLog | 7 | ||||
-rw-r--r-- | media-plugins/xmms-esd/xmms-esd-1.2.10-r1.ebuild | 19 | ||||
-rw-r--r-- | media-plugins/xmms-esd/xmms-esd-1.2.10.ebuild | 19 |
3 files changed, 38 insertions, 7 deletions
diff --git a/media-plugins/xmms-esd/ChangeLog b/media-plugins/xmms-esd/ChangeLog index 5fdda969a8b5..56257a9baa4d 100644 --- a/media-plugins/xmms-esd/ChangeLog +++ b/media-plugins/xmms-esd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-plugins/xmms-esd # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-esd/ChangeLog,v 1.1 2005/02/12 03:07:47 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-esd/ChangeLog,v 1.2 2005/02/12 07:43:59 eradicator Exp $ + + 11 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + xmms-esd-1.2.10-r1.ebuild, xmms-esd-1.2.10.ebuild: + Fixed missing oss header file when using installed sdk (xmms-1.2.10-r13 and + later). Added IUSE=oss *xmms-esd-1.2.10 (11 Feb 2005) diff --git a/media-plugins/xmms-esd/xmms-esd-1.2.10-r1.ebuild b/media-plugins/xmms-esd/xmms-esd-1.2.10-r1.ebuild index 7132dd812eca..5f2af4f0a3d8 100644 --- a/media-plugins/xmms-esd/xmms-esd-1.2.10-r1.ebuild +++ b/media-plugins/xmms-esd/xmms-esd-1.2.10-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-esd/xmms-esd-1.2.10-r1.ebuild,v 1.1 2005/02/12 03:07:47 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-esd/xmms-esd-1.2.10-r1.ebuild,v 1.2 2005/02/12 07:43:59 eradicator Exp $ -IUSE="" +IUSE="oss" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" @@ -15,5 +15,18 @@ PLUGIN_PATH="Output/esd" M4_VER="1.0" -myconf="--enable-esd" inherit xmms-plugin + +src_unpack() { + xmms-plugin_src_unpack + + cd ${S}/${PLUGIN_PATH} + cp ../OSS/soundcard.h . + + sed -i 's:<Output/OSS/soundcard.h>:"soundcard.h":' *.{h,c} +} + +src_compile() { + myconf="--enable-esd $(use_enable oss)" + xmms-plugin_src_compile +} diff --git a/media-plugins/xmms-esd/xmms-esd-1.2.10.ebuild b/media-plugins/xmms-esd/xmms-esd-1.2.10.ebuild index 157c1708ae52..0670a0722023 100644 --- a/media-plugins/xmms-esd/xmms-esd-1.2.10.ebuild +++ b/media-plugins/xmms-esd/xmms-esd-1.2.10.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-esd/xmms-esd-1.2.10.ebuild,v 1.1 2005/02/12 03:07:47 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-esd/xmms-esd-1.2.10.ebuild,v 1.2 2005/02/12 07:43:59 eradicator Exp $ -IUSE="" +IUSE="oss" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" @@ -13,5 +13,18 @@ PLUGIN_PATH="Output/esd" M4_VER="1.0" -myconf="--enable-esd" inherit xmms-plugin + +src_unpack() { + xmms-plugin_src_unpack + + cd ${S}/${PLUGIN_PATH} + cp ../OSS/soundcard.h . + + sed -i 's:<Output/OSS/soundcard.h>:"soundcard.h":' *.{h,c} +} + +src_compile() { + myconf="--enable-esd $(use_enable oss)" + xmms-plugin_src_compile +} |