diff options
author | 2005-11-29 04:58:11 +0000 | |
---|---|---|
committer | 2005-11-29 04:58:11 +0000 | |
commit | 3946a8a9c0a8eee213e722819de97cc13c73c829 (patch) | |
tree | 04257fbe50a63f3f30bdf3d60cd3d25b92409fa2 /media-libs/libgpod | |
parent | Added ~sparc keyword. (diff) | |
download | gentoo-2-3946a8a9c0a8eee213e722819de97cc13c73c829.tar.gz gentoo-2-3946a8a9c0a8eee213e722819de97cc13c73c829.tar.bz2 gentoo-2-3946a8a9c0a8eee213e722819de97cc13c73c829.zip |
eject dep
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-libs/libgpod')
-rw-r--r-- | media-libs/libgpod/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/libgpod/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libgpod/libgpod-0.2.0.ebuild | 30 |
3 files changed, 31 insertions, 6 deletions
diff --git a/media-libs/libgpod/ChangeLog b/media-libs/libgpod/ChangeLog index 6065906b8c99..8e4d137dfe9c 100644 --- a/media-libs/libgpod/ChangeLog +++ b/media-libs/libgpod/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libgpod # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgpod/ChangeLog,v 1.1 2005/11/29 03:10:22 joem Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgpod/ChangeLog,v 1.2 2005/11/29 04:58:11 joem Exp $ + + 29 Nov 2005; Joe McCann <joem@gentoo.org> libgpod-0.2.0.ebuild: + Add sys-apps/eject app thanks to Spider *libgpod-0.2.0 (29 Nov 2005) diff --git a/media-libs/libgpod/Manifest b/media-libs/libgpod/Manifest index 09774844e66f..fd542e7d4c00 100644 --- a/media-libs/libgpod/Manifest +++ b/media-libs/libgpod/Manifest @@ -1,4 +1,4 @@ MD5 784d018e09a5cbe7bafc1249a21f7380 ChangeLog 381 MD5 f263da0a6f7b7b2e32a4031f225b0931 files/digest-libgpod-0.2.0 65 -MD5 3d64bd5b8380ad50efcdf1f3c6476897 libgpod-0.2.0.ebuild 883 +MD5 27ef27dc991398b42e055d86df30ad9a libgpod-0.2.0.ebuild 1324 MD5 263e238ad2d029ebbee2e5ac213942fe metadata.xml 417 diff --git a/media-libs/libgpod/libgpod-0.2.0.ebuild b/media-libs/libgpod/libgpod-0.2.0.ebuild index 5273b9d73e69..792b23e217ef 100644 --- a/media-libs/libgpod/libgpod-0.2.0.ebuild +++ b/media-libs/libgpod/libgpod-0.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgpod/libgpod-0.2.0.ebuild,v 1.1 2005/11/29 03:10:22 joem Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgpod/libgpod-0.2.0.ebuild,v 1.2 2005/11/29 04:58:11 joem Exp $ DESCRIPTION="Shared library to access the contents of an iPod" HOMEPAGE="http://www.gtkpod.org/libgpod.html" @@ -15,14 +15,36 @@ RDEPEND=">=dev-libs/glib-2.4 gtk? ( >=x11-libs/gtk+-2 ) hal? ( >=sys-apps/dbus-0.5.2 >=sys-apps/hal-0.5 - >=sys-apps/pmount-0.9.6 )" + >=sys-apps/pmount-0.9.6 ) + sys-apps/eject" DEPEND="${RDEPEND} >=dev-util/intltool-0.2.9" +pkg_setup() { + local myconf="" + if use hal ; then + myconf="${myconf} --with-eject-comand=/usr/bin/eject \ + --with-unmount-command=/usr/bin/pmount" + else + myconf="${myconf} --with-eject-command=/usr/bin/eject \ + --with-unmount-command=/bin/umount" + fi + +} src_compile() { + + local myconf="" + if use hal ; then + myconf="${myconf} --with-eject-comand=/usr/bin/eject \ + --with-unmount-command=/usr/bin/pumount" + else + myconf="${myconf} + --with-eject-command=/usr/bin/eject \ + --with-unmount-command=/bin/umount" + fi + econf \ - $(use_with hal eject-command /usr/bin/eject) \ - $(use_with hal unmount-command /usr/bin/pumount) \ + ${myconf} \ || die "configure failed" emake || die "make failed" } |