mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-03-04 00:35:48 +01:00
28 lines
674 B
Bash
28 lines
674 B
Bash
# 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.5 2006/09/10 08:39:35 vapier Exp $
|
|
|
|
IUSE="ipv6 mmx 3dnow"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86"
|
|
|
|
DEPEND=">=media-sound/xmms-1.2.10"
|
|
|
|
PLUGIN_PATH="Input/mpg123"
|
|
|
|
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
|
|
}
|