summaryrefslogtreecommitdiff
blob: c7bff71c761cbb696711aa7d06257767e3b1fe7b (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/eq-audacious/eq-audacious-0.9.ebuild,v 1.1 2007/01/13 08:33:33 beandog Exp $

DESCRIPTION="31-band equalizer for Audacious"
HOMEPAGE="http://audacious-media-player.org/~nenolod/audacious/plugins.php"
SRC_URI="http://audacious-media-player.org/~nenolod/audacious/plugins/${P}.tgz"

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

DEPEND="dev-util/pkgconfig
	media-sound/audacious"
RDEPEND=""

pkg_config() {
	econf $(use_enable debug)
		$(use_enable mmx)
		$(use_enable sse)
		$(use_enable sse2) || die "econf died"
}

src_install() {
	emake DESTDIR="${D}" libdir=`pkg-config audacious --variable=effect_plugin_dir` install || emake install died

	dodoc AUTHORS BUGS ChangeLog NEWS README README.BSD SKINS TODO
}