summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Perier <mrpouet@gentoo.org>2009-10-16 16:53:27 +0000
committerRomain Perier <mrpouet@gentoo.org>2009-10-16 16:53:27 +0000
commitaecfc503b6b49a0795aaa48d77c213dabe435fdc (patch)
treeaeb23bce19ceee5f7aa413f9e1733f4a12586b74 /gnome-extra/gget
parentadded version 4.6.0_beta1 (diff)
downloadgentoo-2-aecfc503b6b49a0795aaa48d77c213dabe435fdc.tar.gz
gentoo-2-aecfc503b6b49a0795aaa48d77c213dabe435fdc.tar.bz2
gentoo-2-aecfc503b6b49a0795aaa48d77c213dabe435fdc.zip
New ebuild, import from bug #287574, thanks to Justin Lecher for his work
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/gget')
-rw-r--r--gnome-extra/gget/ChangeLog10
-rw-r--r--gnome-extra/gget/gget-0.0.4.ebuild50
-rw-r--r--gnome-extra/gget/metadata.xml12
3 files changed, 72 insertions, 0 deletions
diff --git a/gnome-extra/gget/ChangeLog b/gnome-extra/gget/ChangeLog
new file mode 100644
index 000000000000..9c6e85c56cd7
--- /dev/null
+++ b/gnome-extra/gget/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for gnome-extra/gget
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gget/ChangeLog,v 1.1 2009/10/16 16:53:27 mrpouet Exp $
+
+*gget-0.0.4 (16 Oct 2009)
+
+ 16 Oct 2009; Romain Perier <mrpouet@gentoo.org>
+ +gget-0.0.4.ebuild, +metadata.xml:
+ New ebuild, import from bug #287574, thanks to Justin Lecher for his work
+
diff --git a/gnome-extra/gget/gget-0.0.4.ebuild b/gnome-extra/gget/gget-0.0.4.ebuild
new file mode 100644
index 000000000000..49f19b8219e6
--- /dev/null
+++ b/gnome-extra/gget/gget-0.0.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gget/gget-0.0.4.ebuild,v 1.1 2009/10/16 16:53:27 mrpouet Exp $
+
+EAPI="1"
+GCONF_DEBUG="no"
+NEED_PYTHON="2.5"
+
+inherit gnome2 python
+
+DESCRIPTION="A DownLoad Manager for GNOME"
+HOMEPAGE="http://live.gnome.org/GGet"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="epiphany"
+
+RDEPEND=">=dev-python/dbus-python-0.82
+ >=dev-python/gnome-python-2.16
+ >=dev-python/gnome-python-extras-2.14.2
+ >=dev-python/notify-python-0.1.1
+ >=dev-python/pygtk-2.10
+ >=dev-python/pygobject-2.12
+ gnome-base/gconf:2
+ >=x11-libs/gtk+-2.10
+ epiphany? ( www-client/epiphany-extensions )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ $(use_enable epiphany epiphany-extension)
+ $(use_enable epiphany epiphany-extension-install)"
+}
+src_unpack() {
+ gnome2_src_unpack
+ # Being executable with python > 2.5
+ sed -e 's:/usr/bin/env python2.5:/usr/bin/python:g' -i bin/gget.in \
+ || die "sed 1 failed"
+ # Make configure script compatible with epy 2.26 and 2.28
+ # and cleanup this var
+ sed -e 's:\(VALID_EPIPHANY_VERSIONS=\)\".*\":\1"2.28 2.26 2.24":g' \
+ -i configure || die "sed 2 failed"
+}
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_mod_optimize "$(python_get_sitedir)"/gget/*.py
+}
diff --git a/gnome-extra/gget/metadata.xml b/gnome-extra/gget/metadata.xml
new file mode 100644
index 000000000000..6ed7887f40e4
--- /dev/null
+++ b/gnome-extra/gget/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>mrpouet@gentoo.org</email>
+ <name>Romain Perier</name>
+ </maintainer>
+ <use>
+ <flag name='epiphany'>Install epiphany extensions</flag>
+ </use>
+</pkgmetadata>