blob: 7f76bde1766c1a6b9192c9f79d472eb14c1b3221 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gwget/gwget-1.0.2.ebuild,v 1.1 2009/08/18 14:51:50 mrpouet Exp $
EAPI="2"
inherit gnome2
DESCRIPTION="GTK2 WGet Frontend"
HOMEPAGE="http://gnome.org/projects/gwget/"
KEYWORDS="~amd64 ~ppc ~x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="epiphany libnotify"
# FIXME: dbus should be optional
# needs patching for linguas/intltool
RDEPEND="net-misc/wget
>=x11-libs/gtk+-2.6
>=dev-libs/glib-2.16.0
>=gnome-base/gconf-2
>=gnome-base/libglade-2
>=gnome-base/libgnomeui-2
>=dev-libs/dbus-glib-0.70
epiphany? ( >=www-client/epiphany-1.4 )
libnotify? ( >=x11-libs/libnotify-0.2.2 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=dev-util/intltool-0.35.0
>=sys-devel/gettext-0.10.4"
DOCS="AUTHORS ChangeLog NEWS README THANKS TODO"
pkg_setup() {
G2CONF="${G2CONF}
$(use_enable epiphany epiphany-extension)
$(use_enable libnotify)
--disable-static
--disable-schemas-install"
}
src_prepare() {
#FIXME: report upstream their package is broken
#Fix intltoolize broken file, see upstream #577133
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
|| die "sed failed"
}
src_install() {
gnome2_src_install
# remove /var/lib, which is created without any reason
rm -rf "${D}/var"
}
|