blob: 569aa35a39dabbcc0a1e14b5dab1cb477ea9aa42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2011 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.ebuild,v 1.4 2011/03/23 06:22:50 ssuominen Exp $
EAPI=2
GCONF_DEBUG=no
PYTHON_DEPEND="2:2.6"
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
gnome2_src_prepare
}
src_install() {
gnome2_src_install
find "${D}" -name '*.la' -delete
}
pkg_postinst() {
gnome2_pkg_postinst
python_mod_optimize /usr/$(get_libdir)/${PN}
}
pkg_postrm() {
gnome2_pkg_postrm
python_mod_cleanup /usr/$(get_libdir)/${PN}
}
|