summaryrefslogtreecommitdiff
blob: d3bbbff2f1ed5d3e19036d4557f03fb6cd503099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/gephex/gephex-0.0.4.ebuild,v 1.3 2004/04/27 20:53:09 agriffis Exp $

inherit eutils

MY_P=${P/_/}
DESCRIPTION="GePhex is a modular video effect framework."
HOMEPAGE="http://www.gephex.org"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"

IUSE="static mmx aalib"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

S="${WORKDIR}/${MY_P}"

DEPEND="virtual/x11
	>=x11-libs/qt-3
	>=media-libs/libsdl-1.2.6-r3
	>=media-libs/libpng-1.2.5-r4
	>=media-libs/sdl-ttf-2.0.6
	>=media-libs/alsa-lib-0.9.8
	>=media-video/avifile-0.7.38.20030710
	aalib?	( >=media-libs/aalib-1.4_rc4-r2 )"

src_compile() {
	cd ${S}
	epatch ${FILESDIR}/0.0.4-alsa-api-fix.patch || die
	epatch ${FILESDIR}/0.0.4-makefile.in.patch || die
	local myconf
	myconf="--with-gnu-ld"
	econf \
	`use_enable mmx` \
	`use_enable static` \
	${myconf} \
	|| die
	emake || die
}

src_install() {
	emake DESTDIR=${D} install || die
	dodoc AUTHORS ChangeLog NEWS README TODO

	einfo "Please read /usr/share/doc/gephex/html/documentation.html to get started."

}