/[gentoo-x86]/x11-terms/guake/guake-0.4.2-r2.ebuild
Gentoo

Contents of /x11-terms/guake/guake-0.4.2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jun 14 23:57:21 2012 UTC (2 years, 5 months ago) by ssuominen
Branch: MAIN
Changes since 1.1: +2 -2 lines
amd64/x86 stable

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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 $
4
5 EAPI=4
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 PYTHON_DEPEND="2:2.7"
9
10 inherit eutils gnome2 python multilib
11
12 DESCRIPTION="A dropdown terminal made for the GNOME desktop"
13 HOMEPAGE="http://guake.org/"
14 SRC_URI="mirror://debian/pool/main/g/${PN}/${PN}_${PV}.orig.tar.gz"
15 #SRC_URI="http://guake.org/files/${P}.tar.gz"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE="nls"
21
22 RDEPEND=">=x11-libs/gtk+-2.10:2
23 dev-python/pygtk
24 x11-libs/vte:0[python]
25 dev-python/notify-python
26 dev-python/gconf-python
27 dev-python/dbus-python
28 >=gnome-base/gconf-2"
29 DEPEND="${RDEPEND}
30 virtual/pkgconfig
31 nls? ( dev-util/intltool )"
32
33 pkg_setup() {
34 DOCS="AUTHORS ChangeLog NEWS README TODO"
35 G2CONF="--disable-static
36 --disable-dependency-tracking
37 $(use_enable nls)"
38 python_set_active_version 2
39 python_pkg_setup
40 }
41
42 src_prepare() {
43 epatch \
44 "${FILESDIR}"/${P}-int-ssl-port.patch \
45 "${FILESDIR}"/${P}-prefs-spinbox.patch \
46 "${FILESDIR}"/${P}-glib2.32.patch \
47 "${FILESDIR}"/${P}-vte-titles.patch \
48 "${FILESDIR}"/${P}-window-title.patch
49
50 sed -i -e s:/usr/bin/python:/usr/bin/python2: src/guake*.in || die
51
52 gnome2_src_prepare
53 }
54
55 pkg_postinst() {
56 gnome2_pkg_postinst
57 python_mod_optimize /usr/$(get_libdir)/${PN}
58 }
59
60 pkg_postrm() {
61 gnome2_pkg_postrm
62 python_mod_cleanup /usr/$(get_libdir)/${PN}
63 }

  ViewVC Help
Powered by ViewVC 1.1.20