summaryrefslogtreecommitdiff
blob: 4551785a41798988e78ce6aa81eeaa40c3ceda82 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/gtkpod/gtkpod-0.99.8-r1.ebuild,v 1.3 2007/02/27 18:17:54 mabi Exp $

inherit eutils

DESCRIPTION="GUI for iPod using GTK2"
HOMEPAGE="http://gtkpod.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
	mirror://sourceforge/${PN}/${P}_libgpod-0.4.2.diff"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc ~sparc x86"
IUSE="aac"

DEPEND=">=x11-libs/gtk+-2.4.0
	>=media-libs/libid3tag-0.15
	>=gnome-base/libglade-2
	>=media-libs/libgpod-0.4.2
	aac? ( media-libs/libmp4v2 )"

src_unpack() {
	unpack ${A}

	cd ${S}
	epatch ${DISTDIR}/${P}_libgpod-0.4.2.diff

	# Disable aac forcefully if not enabled
	use aac || sed -i -e s/MP4FileInfo/MP4FileInfoDisabled/g configure
}

src_install() {
	make install DESTDIR=${D} || die
	dodoc README TROUBLESHOOTING
}