Files
@ df976a178b95
Branch filter:
Location: portage-overlay.git/media-plugins/gst-spc/gst-spc-0.5.ebuild - annotation
df976a178b95
1.1 KiB
application/vnd.gentoo.ebuild
Bump EAPI to 5 for whole overlay
794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 df976a178b95 df976a178b95 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 | # Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit eutils
SLOT=0
LICENSE="LGPL-2"
KEYWORDS="~x86 ~amd64"
DESCRIPTION="gstreamer plugin to play Super Nintendo SPC music files."
HOMEPAGE="http://bugzilla.gnome.org/show_bug.cgi?id=348220"
# We'll be using source from gstreamer release, which is why we're using an
# exact version
SRC_URI="http://hg.c133.org/~clee/${P}.tar.bz2"
DEPEND=">=media-libs/gstreamer-0.10.4
>=media-libs/libopenspc-0.3.99"
src_unpack() {
unpack ${A}
cd ${S}
# Update gst-spc to way it is in gstreamer-plugins-bad-0.10.4
epatch "${FILESDIR}/${P}-fix-gstspc.h.patch.gz"
epatch "${FILESDIR}/${P}-fix-gstspc.c.patch.gz"
# Autogen is evil and will try to automatically run configure,
# so stop it. /foo/d just deletes the line in question.
sed -i -e "/.\/configure/d" autogen.sh
}
src_compile() {
./autogen.sh
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
|