# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-pda/gtkpod/gtkpod-0.99.4.ebuild,v 1.2 2006/04/09 01:21:13 tester Exp $ DESCRIPTION="GUI for iPod using GTK2" HOMEPAGE="http://gtkpod.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" 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.3.2 aac? ( media-libs/libmp4v2 )" src_unpack() { unpack ${A} # Disable aac forcefully if not enabled cd ${S} use aac || sed -i -e s/MP4FileInfo/MP4FileInfoDisabled/g configure } src_install() { einstall || die dodoc README ${DISTDIR}/Local_Playcounts.README }