summaryrefslogtreecommitdiff
blob: 720170a5df01b953c14f55c5c5bf04449ab5ac2e (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
41
42
43
44
45
46
47
48
49
50
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/grip/grip-3.1.9.ebuild,v 1.2 2004/04/03 23:52:26 eradicator Exp $

inherit eutils

DESCRIPTION="GTK+ based Audio CD Player/Ripper."
HOMEPAGE="http://www.nostatic.org/grip"
SRC_URI="mirror://sourceforge/grip/${P}.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"

DEPEND=">=x11-libs/gtk+-2.2
	x11-libs/vte
	=sys-libs/db-1*
	media-sound/lame
	media-sound/cdparanoia
	>=media-libs/id3lib-3.8.3
	>=gnome-base/libgnomeui-2.2.0
	gnome-base/ORBit2
	gnome-base/libghttp
	net-misc/curl
	oggvorbis? ( media-sound/vorbis-tools )
	nls? ( sys-devel/gettext )"

IUSE="nls oggvorbis"
SLOT="0"
KEYWORDS="~x86 ~ppc alpha ~amd64 ~hppa ~sparc"

src_unpack() {
	unpack ${A}
	cd ${S}

	# AMD64 SMP Crash Fix, submitted by Brian Silverthorn <bcs26@cornell.edu>
	epatch ${FILESDIR}/${P}-statuscheck-lp64.patch
}

src_compile() {
	econf --disable-dependency-tracking `use_enable nls` || die
	emake || die "emake failed"
}

src_install () {
	make DESTDIR=${D} install || die
	dodir /usr/share/gnome/apps/Multimedia
	dodir /usr/share/applnk/Multimedia
	cp ${D}/usr/share/applications/grip.desktop ${D}/usr/share/gnome/apps/Multimedia
	cp ${D}/usr/share/applications/grip.desktop ${D}/usr/share/applnk/Multimedia
	dodoc AUTHORS CREDITS ChangeLog README TODO || die "dodoc failed"
}