diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-15 00:35:27 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-15 00:35:27 +0000 |
commit | 16dcde0d3bcc05bf99e25465925d0bd1efd2ee87 (patch) | |
tree | e692b03cdc5b6dd1a560a76ee124d31be46a8da7 | |
parent | Version bump. (diff) | |
download | gentoo-2-16dcde0d3bcc05bf99e25465925d0bd1efd2ee87.tar.gz gentoo-2-16dcde0d3bcc05bf99e25465925d0bd1efd2ee87.tar.bz2 gentoo-2-16dcde0d3bcc05bf99e25465925d0bd1efd2ee87.zip |
Version bump with Debian patchset since we are using the .orig.tar.gz from their mirrors as is. Remove unknown -prefs-spinbox.patch wrt #336068.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
-rw-r--r-- | x11-terms/guake/ChangeLog | 8 | ||||
-rw-r--r-- | x11-terms/guake/guake-0.4.3.ebuild | 68 |
2 files changed, 75 insertions, 1 deletions
diff --git a/x11-terms/guake/ChangeLog b/x11-terms/guake/ChangeLog index d7e7f988eb70..f1f982a90573 100644 --- a/x11-terms/guake/ChangeLog +++ b/x11-terms/guake/ChangeLog @@ -1,6 +1,12 @@ # 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.20 2012/06/14 23:58:16 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-terms/guake/ChangeLog,v 1.21 2012/06/15 00:35:27 ssuominen Exp $ + +*guake-0.4.3 (15 Jun 2012) + + 15 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +guake-0.4.3.ebuild: + Version bump with Debian patchset since we are using the .orig.tar.gz from + their mirrors as is. Remove unknown -prefs-spinbox.patch wrt #336068. 14 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> -guake-0.4.2.ebuild, -guake-0.4.2-r1.ebuild: diff --git a/x11-terms/guake/guake-0.4.3.ebuild b/x11-terms/guake/guake-0.4.3.ebuild new file mode 100644 index 000000000000..c01725be5746 --- /dev/null +++ b/x11-terms/guake/guake-0.4.3.ebuild @@ -0,0 +1,68 @@ +# 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.3.ebuild,v 1.1 2012/06/15 00:35:27 ssuominen Exp $ + +EAPI=4 + +GCONF_DEBUG=no +GNOME2_LA_PUNT=yes +PYTHON_DEPEND="2:2.7" +DEB_REV=1 + +inherit eutils gnome2 python + +DESCRIPTION="A dropdown terminal made for the GTK+ desktops" +HOMEPAGE="http://guake.org/" +DEB_URI="mirror://debian/pool/main/${PN:0:1}/${PN}" +SRC_URI="${DEB_URI}/${PN}_${PV}.orig.tar.gz + ${DEB_URI}/${PN}_${PV}-${DEB_REV}.debian.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/dbus-python + dev-python/gconf-python + dev-python/notify-python + dev-python/pygtk + dev-python/pyxdg + gnome-base/gconf + >=x11-libs/gtk+-2.10:2 + x11-libs/libX11 + x11-libs/vte:0[python]" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig" + +pkg_setup() { + DOCS="AUTHORS ChangeLog NEWS README TODO" + G2CONF="--disable-static" + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + local d=${WORKDIR}/debian/patches + EPATCH_SOURCE=${d} epatch $(<"${d}"/series) + + python_convert_shebangs 2 src/{guake,prefs.py} + + # We byte-compile in pkg_postinst() + >py-compile + + # Validate with desktop-file-utils + sed -i -e '/^Encoding/d' data/*.desktop.in || die + + gnome2_src_prepare +} + +pkg_postinst() { + gnome2_pkg_postinst + python_mod_optimize ${PN} +} + +pkg_postrm() { + gnome2_pkg_postrm + python_mod_cleanup ${PN} +} |