diff options
Diffstat (limited to 'media-libs/libgpod/libgpod-0.6.0.ebuild')
-rw-r--r-- | media-libs/libgpod/libgpod-0.6.0.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/libgpod/libgpod-0.6.0.ebuild b/media-libs/libgpod/libgpod-0.6.0.ebuild new file mode 100644 index 000000000000..9766dc4efdc1 --- /dev/null +++ b/media-libs/libgpod/libgpod-0.6.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgpod/libgpod-0.6.0.ebuild,v 1.1 2007/11/16 15:39:52 tester Exp $ + +inherit eutils + +DESCRIPTION="Shared library to access the contents of an iPod" +HOMEPAGE="http://www.gtkpod.org/libgpod.html" +SRC_URI="mirror://sourceforge/gtkpod/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="gtk python doc" + +RDEPEND=">=dev-libs/glib-2.4 + =sys-apps/hal-0.5* + sys-apps/sg3_utils + gtk? ( >=x11-libs/gtk+-2 ) + python? ( >=dev-lang/python-2.3 + >=dev-lang/swig-1.3.24 + >=x11-libs/gtk+-2 + media-libs/mutagen + gtk? ( >=dev-python/pygobject-2 ) ) + test? ( media-libs/taglib )" +DEPEND="${RDEPEND} + doc? ( dev-util/gtk-doc ) + dev-util/pkgconfig" + +src_compile() { + + local myconf + + if use gtk; then + myconf="--enable-pygobject" + else + myconf="--disable-pygobject" + fi + + econf ${myconf} \ + $(use_enable doc gtk-doc) \ + $(use_enable gtk gdk-pixbuf) \ + $(use_with python) || die "configure failed" + + emake || die "make failed" + +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + dodoc README TROUBLESHOOTING AUTHORS NEWS README.SysInfo +} + +pkg_postinst() { + einfo "If you use a newer Ipod like the Ipod classic, make sure to read" + einfo "the information in /usr/share/doc/${P}/README.SysInfo.bz2" + einfo "This is no needed if HAL is installed and works correctly." +} |