summaryrefslogtreecommitdiff
blob: 537f8efcc6489a55701cce6ebfe086cedf3eb8a2 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-goom/xmms-goom-2004.0.ebuild,v 1.9 2006/07/03 02:25:50 metalgod Exp $

inherit eutils flag-o-matic

MY_PN=${PN/xmms-/}
MY_PV=2k4-0

DESCRIPTION="Trippy Visualisation for XMMS using SDL."
HOMEPAGE="http://www.ios-software.com/index.php3?page=projet&quoi=1"
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${MY_PV}-src.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ~mips ppc ppc64 sparc x86"
IUSE=""

DEPEND="media-sound/xmms
	media-libs/libsdl"

S=${WORKDIR}/${MY_PN}${MY_PV}

src_compile() {

	strip-flags -fomit-frame-pointer

	econf || die "econf failed"
	emake OPT="$CFLAGS" || die "emake failed"
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"
	dodoc README AUTHORS NEWS KNOWNBUGS ChangeLog
}

pkg_postinst() {
	einfo "Press TAB for Fullscreen, +/- for resolution."
}