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

Contents of /x11-terms/guake/guake-0.4.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Aug 3 22:28:03 2012 UTC (2 years ago) by hwoarang
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable on amd64 wrt bug #428754

(Portage version: 2.2.0_alpha120/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.3.ebuild,v 1.3 2012/07/31 06:56:13 jdhore Exp $
4
5 EAPI=4
6
7 GCONF_DEBUG=no
8 GNOME2_LA_PUNT=yes
9 PYTHON_DEPEND="2:2.7"
10 DEB_REV=1
11
12 inherit eutils gnome2 python
13
14 DESCRIPTION="A dropdown terminal made for the GTK+ desktops"
15 HOMEPAGE="http://guake.org/"
16 DEB_URI="mirror://debian/pool/main/${PN:0:1}/${PN}"
17 SRC_URI="${DEB_URI}/${PN}_${PV}.orig.tar.gz
18 ${DEB_URI}/${PN}_${PV}-${DEB_REV}.debian.tar.gz"
19
20 LICENSE="GPL-2"
21 SLOT="0"
22 KEYWORDS="amd64 ~arm x86"
23 IUSE=""
24
25 RDEPEND="dev-python/dbus-python
26 dev-python/gconf-python
27 dev-python/notify-python
28 dev-python/pygtk
29 dev-python/pyxdg
30 gnome-base/gconf
31 >=x11-libs/gtk+-2.10:2
32 x11-libs/libX11
33 x11-libs/vte:0[python]"
34 DEPEND="${RDEPEND}
35 dev-util/intltool
36 virtual/pkgconfig"
37
38 pkg_setup() {
39 DOCS="AUTHORS ChangeLog NEWS README TODO"
40 G2CONF="--disable-static"
41 python_set_active_version 2
42 python_pkg_setup
43 }
44
45 src_prepare() {
46 local d=${WORKDIR}/debian/patches
47 EPATCH_SOURCE=${d} epatch $(<"${d}"/series)
48
49 python_convert_shebangs 2 src/{guake,prefs.py}
50
51 # We byte-compile in pkg_postinst()
52 >py-compile
53
54 # Validate with desktop-file-utils
55 sed -i -e '/^Encoding/d' data/*.desktop.in || die
56
57 gnome2_src_prepare
58 }
59
60 pkg_postinst() {
61 gnome2_pkg_postinst
62 python_mod_optimize ${PN}
63 }
64
65 pkg_postrm() {
66 gnome2_pkg_postrm
67 python_mod_cleanup ${PN}
68 }

  ViewVC Help
Powered by ViewVC 1.1.20