summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-03-14 03:31:00 +0000
committerMike Gilbert <floppym@gentoo.org>2012-03-14 03:31:00 +0000
commita24f391bfe1c79c659b861883f755d957cb19201 (patch)
treed423ad2890709247da770c41735d45576867aa75 /x11-terms
parentBump and old version cleanup (diff)
downloadgentoo-2-a24f391bfe1c79c659b861883f755d957cb19201.tar.gz
gentoo-2-a24f391bfe1c79c659b861883f755d957cb19201.tar.bz2
gentoo-2-a24f391bfe1c79c659b861883f755d957cb19201.zip
Call python2 from wrapper scripts.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/guake/ChangeLog7
-rw-r--r--x11-terms/guake/guake-0.4.2-r1.ebuild64
2 files changed, 70 insertions, 1 deletions
diff --git a/x11-terms/guake/ChangeLog b/x11-terms/guake/ChangeLog
index 6aaaf7de0aa5..e5e20b721abc 100644
--- a/x11-terms/guake/ChangeLog
+++ b/x11-terms/guake/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-terms/guake
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/guake/ChangeLog,v 1.12 2012/01/07 16:20:14 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/guake/ChangeLog,v 1.13 2012/03/14 03:31:00 floppym Exp $
+
+*guake-0.4.2-r1 (14 Mar 2012)
+
+ 14 Mar 2012; Mike Gilbert <floppym@gentoo.org> +guake-0.4.2-r1.ebuild:
+ Call python2 from wrapper scripts.
07 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> guake-0.4.2.ebuild:
Revert commit for bug 388129 because notify-python has depend on libnotify
diff --git a/x11-terms/guake/guake-0.4.2-r1.ebuild b/x11-terms/guake/guake-0.4.2-r1.ebuild
new file mode 100644
index 000000000000..129209d9d0f4
--- /dev/null
+++ b/x11-terms/guake/guake-0.4.2-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/guake/guake-0.4.2-r1.ebuild,v 1.1 2012/03/14 03:31:00 floppym Exp $
+
+EAPI=3
+
+GCONF_DEBUG=no
+PYTHON_DEPEND="2:2.7"
+
+inherit eutils gnome2 python multilib
+
+DESCRIPTION="A dropdown terminal made for the GNOME desktop"
+HOMEPAGE="http://guake.org/"
+SRC_URI="mirror://debian/pool/main/g/${PN}/${PN}_${PV}.orig.tar.gz"
+#SRC_URI="http://guake.org/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=x11-libs/gtk+-2.10:2
+ dev-python/pygtk
+ x11-libs/vte:0[python]
+ dev-python/notify-python
+ dev-python/gconf-python
+ dev-python/dbus-python
+ >=gnome-base/gconf-2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( dev-util/intltool )"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+ G2CONF="--disable-static
+ --disable-dependency-tracking
+ $(use_enable nls)"
+ python_set_active_version 2
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-int-ssl-port.patch \
+ "${FILESDIR}"/${P}-prefs-spinbox.patch
+
+ sed -i -e s:/usr/bin/python:/usr/bin/python2: src/guake*.in || die
+
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+ find "${D}" -name '*.la' -exec rm -f {} +
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_mod_optimize /usr/$(get_libdir)/${PN}
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
+}