summaryrefslogtreecommitdiff
path: root/media-sound/gamix/gamix-1.99_p14-r3.ebuild
blob: b370ed8a4968289e1dcf079b570ed3a5fcae0971 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/gamix/gamix-1.99_p14-r2.ebuild,v 1.10 2008/04/14 12:50:40 drac Exp $
 
inherit eutils
 
MY_P=${P/_p/.p}
 
DESCRIPTION="GTK ALSA audio mixer"
HOMEPAGE="http://www1.tcnet.ne.jp/fmurata/linux/down"
SRC_URI="http://www1.tcnet.ne.jp/fmurata/linux/down/${MY_P}.tar.gz"
 
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ppc64 -sparc x86"
IUSE="nls"
 
RDEPEND="media-libs/alsa-lib
>=x11-libs/gtk+-2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
 
S=${WORKDIR}/${MY_P}
 
src_unpack() {
        unpack ${A}
        cd "${S}"
        epatch "${FILESDIR}"/gamix-vlabel.patch
}
 
src_compile() {
econf $(use_enable nls) --with-gtk-target=-2.0
emake || die "emake failed."
}
 
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS NEWS README README.euc TODO
}