diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-04-03 16:33:03 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-04-03 16:33:03 +0000 |
commit | 9582c72179687abbbeb768b38e2355d2fc5182ad (patch) | |
tree | 3a6af664b02425e05d27f44fe98c6f9561923db9 /app-misc/hachoir-metadata | |
parent | Force -O0 for amd64 and include stdlib.h for warnings wrt #214384. (diff) | |
download | gentoo-2-9582c72179687abbbeb768b38e2355d2fc5182ad.tar.gz gentoo-2-9582c72179687abbbeb768b38e2355d2fc5182ad.tar.bz2 gentoo-2-9582c72179687abbbeb768b38e2355d2fc5182ad.zip |
Version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-misc/hachoir-metadata')
-rw-r--r-- | app-misc/hachoir-metadata/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/hachoir-metadata/hachoir-metadata-1.1.ebuild | 54 |
2 files changed, 61 insertions, 2 deletions
diff --git a/app-misc/hachoir-metadata/ChangeLog b/app-misc/hachoir-metadata/ChangeLog index 3ea6c5904a21..e1948a7c5492 100644 --- a/app-misc/hachoir-metadata/ChangeLog +++ b/app-misc/hachoir-metadata/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/hachoir-metadata -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/hachoir-metadata/ChangeLog,v 1.2 2007/07/31 15:54:25 phreak Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/hachoir-metadata/ChangeLog,v 1.3 2008/04/03 16:33:03 cedk Exp $ + +*hachoir-metadata-1.1 (03 Apr 2008) + + 03 Apr 2008; Cédric Krier <cedk@gentoo.org> +hachoir-metadata-1.1.ebuild: + Version bump 31 Jul 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Correcting <herd> tag, it's either no <herd> tag at all, or just diff --git a/app-misc/hachoir-metadata/hachoir-metadata-1.1.ebuild b/app-misc/hachoir-metadata/hachoir-metadata-1.1.ebuild new file mode 100644 index 000000000000..a5f02c321a1a --- /dev/null +++ b/app-misc/hachoir-metadata/hachoir-metadata-1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/hachoir-metadata/hachoir-metadata-1.1.ebuild,v 1.1 2008/04/03 16:33:03 cedk Exp $ + +NEED_PYTHON=2.4 + +inherit distutils + +DESCRIPTION="tool to extract metadata from multimedia files" +HOMEPAGE="http://hachoir.org/wiki/hachoir-metadata" +SRC_URI="http://cheeseshop.python.org/packages/source/h/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="gnome gtk kde" + +DEPEND="" +RDEPEND=">=dev-python/hachoir-core-1.1 + >=dev-python/hachoir-parser-1.1 + gtk? ( >=dev-python/pygtk-2.0 ) + gnome? ( gnome-base/nautilus gnome-extra/zenity ) + kde? ( kde-base/konqueror )" + +PYTHON_MODNAME="hachoir_metadata" + +src_install() { + distutils_src_install + + if use gnome; then + exeinto /usr/share/nautilus-scripts + doexe gnome/hachoir + fi + + if use kde; then + exeinto /usr/bin + doexe kde/hachoir-metadata-kde + insinto /usr/share/apps/konqueror/servicemenus + doins kde/hachoir.desktop + fi + + if ! use gtk; then + rm "${D}"/usr/bin/hachoir-metadata-gtk + fi +} + +pkg_postinst() { + if use gnome; then + elog "To enable the nautilus script symlink it with:" + elog " $ mkdir -p ~/.gnome2/nautilus-scripts" + elog " $ ln -s /usr/share/nautilus-scripts/hachoir " \ + "~/.gnome2/nautilus-script" + fi +} |