summaryrefslogtreecommitdiff
blob: e5627dd8b70ad6ff79ab378a4cb167110fc0abb5 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/acme/acme-2.4.2-r2.ebuild,v 1.5 2004/07/14 15:21:53 agriffis Exp $

inherit gnome2 eutils

DESCRIPTION="GNOME tool to make use of the multimedia buttons on laptops and internet keyboards"
HOMEPAGE="http://www.hadess.net/misc-code.php3"

IUSE="alsa"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64 ~ia64 ~mips"

RDEPEND=">=gnome-base/libgnomeui-2
	>=gnome-base/libglade-2
	>=x11-libs/libwnck-2.2
	>=gnome-base/gconf-2.4
	alsa? ( >=media-libs/alsa-lib-0.9 )"

DEPEND="${RDEPEND}
	>=dev-util/intltool-0.20
	>=sys-devel/autoconf-2.58
	dev-util/pkgconfig"

G2CONF="${G2CONF} $(use_enable alsa)"

src_unpack () {
	unpack ${A}
	epatch ${FILESDIR}/alsa-${P}.patch
	cd ${S}
	export WANT_AUTOCONF=2.5
	autoconf
}

DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README"