summaryrefslogtreecommitdiff
blob: 6d1483e5dfe97036a35bbbf2f15767af2ad82828 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator flag-o-matic

MY_P="${PN}-$(replace_version_separator 2 '-')"

DESCRIPTION="Sound visualisation gadget that works directly with ALSA"
HOMEPAGE="http://www.aufroof.org/?expand=marcel&detail=04_projekte"
SRC_URI="http://www.aufroof.org/marcel/04_projekte/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="mmx sse"

DEPEND="media-libs/libsdl
	media-libs/alsa-lib"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}

src_compile() {
	use sse && append-flags -DSSE
	use mmx && append-flags -DMMX
	econf
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
}