mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-20 01:55:50 +01:00
42 lines
912 B
Bash
42 lines
912 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-smpeg/xmms-smpeg-0.3.5-r1.ebuild,v 1.7 2005/09/03 23:14:24 flameeyes Exp $
|
|
|
|
IUSE="sdl"
|
|
|
|
inherit eutils gnuconfig
|
|
|
|
MY_PN="smpeg-xmms"
|
|
MY_P="${MY_PN}-${PV}"
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
DESCRIPTION="A MPEG Plugin for XMMS"
|
|
SRC_URI="ftp://ftp.xmms.org/xmms/plugins/smpeg-xmms/${MY_P}.tar.gz"
|
|
HOMEPAGE="http://www.xmms.org/plugins_input.html"
|
|
|
|
DEPEND=">=media-sound/xmms-1.2.4
|
|
>=media-libs/smpeg-0.4.4-r3
|
|
sdl? ( >=media-libs/libsdl-1.2.2 )"
|
|
|
|
SLOT="0"
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~x86 ~ppc ~amd64 ppc64"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
|
|
cd ${S}
|
|
epatch ${FILESDIR}/${P}-gcc.patch
|
|
gnuconfig_update
|
|
}
|
|
|
|
src_compile() {
|
|
econf `use_enable sdl sdltest` || die
|
|
emake || die
|
|
}
|
|
|
|
src_install () {
|
|
make DESTDIR=${D} install || die
|
|
dodoc AUTHORS README TODO ChangeLog
|
|
}
|