diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-03-16 05:53:15 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-03-16 05:53:15 +0000 |
commit | e34ef16aa2db5a2fddfbe625411dc1ebfe1f3875 (patch) | |
tree | 31a95c0886503eae672e163a972b5d9b7c46f58e | |
parent | add some rev bumps (diff) | |
download | gentoo-2-e34ef16aa2db5a2fddfbe625411dc1ebfe1f3875.tar.gz gentoo-2-e34ef16aa2db5a2fddfbe625411dc1ebfe1f3875.tar.bz2 gentoo-2-e34ef16aa2db5a2fddfbe625411dc1ebfe1f3875.zip |
Fix --enable-simd choice thanks to psm.
(Portage version: 2.0.51.19)
4 files changed, 25 insertions, 7 deletions
diff --git a/media-plugins/xmms-mpg123/ChangeLog b/media-plugins/xmms-mpg123/ChangeLog index 60712e417b61..f2802805adde 100644 --- a/media-plugins/xmms-mpg123/ChangeLog +++ b/media-plugins/xmms-mpg123/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/xmms-mpg123 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mpg123/ChangeLog,v 1.5 2005/03/14 00:33:58 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mpg123/ChangeLog,v 1.6 2005/03/16 05:53:15 eradicator Exp $ + + 16 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org> + xmms-mpg123-1.2.10.ebuild, xmms-mpg123-1.2.10-r1.ebuild: + Fix --enable-simd choice thanks to psm. 13 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org> xmms-mpg123-1.2.10-r1.ebuild: diff --git a/media-plugins/xmms-mpg123/files/digest-xmms-mpg123-1.2.10 b/media-plugins/xmms-mpg123/files/digest-xmms-mpg123-1.2.10 index 6c72ae7c2cfb..bcf56814053d 100644 --- a/media-plugins/xmms-mpg123/files/digest-xmms-mpg123-1.2.10 +++ b/media-plugins/xmms-mpg123/files/digest-xmms-mpg123-1.2.10 @@ -1,2 +1,2 @@ MD5 03a85cfc5e1877a2e1f7be4fa1d3f63c xmms-1.2.10.tar.bz2 2418265 -MD5 20c6bdc86523cb9c1993078d2f5c331f xmms-1.2.10-gentoo-m4-1.0.tar.bz2 24874 +MD5 28314147dec40dbeaf4665bf1a9854b9 xmms-1.2.10-gentoo-m4-1.1.tar.bz2 26978 diff --git a/media-plugins/xmms-mpg123/xmms-mpg123-1.2.10-r1.ebuild b/media-plugins/xmms-mpg123/xmms-mpg123-1.2.10-r1.ebuild index 9cbdb0178e87..1d3690f7c0b1 100644 --- a/media-plugins/xmms-mpg123/xmms-mpg123-1.2.10-r1.ebuild +++ b/media-plugins/xmms-mpg123/xmms-mpg123-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-mpg123/xmms-mpg123-1.2.10-r1.ebuild,v 1.7 2005/03/14 00:33:58 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mpg123/xmms-mpg123-1.2.10-r1.ebuild,v 1.8 2005/03/16 05:53:15 eradicator Exp $ -IUSE="ipv6 ssl" +IUSE="ipv6 ssl mmx 3dnow" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" @@ -19,5 +19,12 @@ inherit xmms-plugin src_compile() { myconf="${myconf} --enable-mpg123 $(use_enable ipv6) $(use_enable ssl)" + + if use x86 && ! has_pic && { use mmx || use 3dnow; }; then + myconf="${myconf} --enable-simd" + else + myconf="${myconf} --disable-simd" + fi + xmms-plugin_src_compile } diff --git a/media-plugins/xmms-mpg123/xmms-mpg123-1.2.10.ebuild b/media-plugins/xmms-mpg123/xmms-mpg123-1.2.10.ebuild index 93194481009e..fb1ae718448c 100644 --- a/media-plugins/xmms-mpg123/xmms-mpg123-1.2.10.ebuild +++ b/media-plugins/xmms-mpg123/xmms-mpg123-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-mpg123/xmms-mpg123-1.2.10.ebuild,v 1.3 2005/02/28 10:53:10 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mpg123/xmms-mpg123-1.2.10.ebuild,v 1.4 2005/03/16 05:53:15 eradicator Exp $ -IUSE="ipv6" +IUSE="ipv6 mmx 3dnow" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" @@ -10,11 +10,18 @@ DEPEND=">=media-sound/xmms-1.2.10" PLUGIN_PATH="Input/mpg123" -M4_VER="1.0" +M4_VER="1.1" inherit xmms-plugin src_compile() { myconf="${myconf} --enable-mpg123 $(use_enable ipv6)" + + if use x86 && ! has_pic && { use mmx || use 3dnow; }; then + myconf="${myconf} --enable-simd" + else + myconf="${myconf} --disable-simd" + fi + xmms-plugin_src_compile } |