summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-06-04 18:56:16 +0000
committerMichael Weber <xmw@gentoo.org>2012-06-04 18:56:16 +0000
commit8e627afbfcc3c83a3787ebfa66abb714b140d140 (patch)
tree581566bf6c5b72d7b166fa881d1f453838417d6b /x11-terms/guake/guake-0.4.2-r2.ebuild
parentFix HOMEPAGE (reported by df, bug 415811) (diff)
downloadgentoo-2-8e627afbfcc3c83a3787ebfa66abb714b140d140.tar.gz
gentoo-2-8e627afbfcc3c83a3787ebfa66abb714b140d140.tar.bz2
gentoo-2-8e627afbfcc3c83a3787ebfa66abb714b140d140.zip
Revbump to include vte-titles and window-title patches (reported by df, bug 418047)
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Diffstat (limited to 'x11-terms/guake/guake-0.4.2-r2.ebuild')
-rw-r--r--x11-terms/guake/guake-0.4.2-r2.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/x11-terms/guake/guake-0.4.2-r2.ebuild b/x11-terms/guake/guake-0.4.2-r2.ebuild
new file mode 100644
index 000000000000..32c375ca6bf4
--- /dev/null
+++ b/x11-terms/guake/guake-0.4.2-r2.ebuild
@@ -0,0 +1,63 @@
+# 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-r2.ebuild,v 1.1 2012/06/04 18:56:16 xmw Exp $
+
+EAPI=4
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+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}
+ virtual/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
+ python_pkg_setup
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-int-ssl-port.patch \
+ "${FILESDIR}"/${P}-prefs-spinbox.patch \
+ "${FILESDIR}"/${P}-glib2.32.patch \
+ "${FILESDIR}"/${P}-vte-titles.patch \
+ "${FILESDIR}"/${P}-window-title.patch
+
+ sed -i -e s:/usr/bin/python:/usr/bin/python2: src/guake*.in || die
+
+ gnome2_src_prepare
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_mod_optimize /usr/$(get_libdir)/${PN}
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
+}