mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-01-06 05:44:15 +01:00
31 lines
707 B
Bash
31 lines
707 B
Bash
# Copyright 1999-2006 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.10 2006/07/05 06:12:02 vapier Exp $
|
|
|
|
PATCH_VER="2.2.2"
|
|
M4_VER="1.1"
|
|
inherit xmms-plugin
|
|
|
|
SLOT="0"
|
|
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86"
|
|
IUSE="oss"
|
|
|
|
DEPEND=">=media-sound/xmms-1.2.10
|
|
>=media-sound/esound-0.2.22"
|
|
|
|
PLUGIN_PATH="Output/esd"
|
|
|
|
src_unpack() {
|
|
xmms-plugin_src_unpack
|
|
|
|
cd "${S}"/${PLUGIN_PATH}
|
|
cp ../OSS/soundcard.h . || die
|
|
|
|
sed -i 's:<Output/OSS/soundcard.h>:"soundcard.h":' *.{h,c}
|
|
}
|
|
|
|
src_compile() {
|
|
myconf="--enable-esd $(use_enable oss)"
|
|
xmms-plugin_src_compile
|
|
}
|