/[gentoo-x86]/net-misc/gwget/gwget-1.0.4.ebuild
Gentoo

Contents of /net-misc/gwget/gwget-1.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Jul 21 16:18:17 2012 UTC (7 years, 6 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +6 -7 lines
Let it compile against glib-2.32

(Portage version: 2.1.11.9/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/net-misc/gwget/gwget-1.0.4.ebuild,v 1.7 2012/05/05 03:20:43 jdhore Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 GNOME_TARBALL_SUFFIX="bz2"
9
10 inherit eutils gnome2
11
12 DESCRIPTION="GTK2 WGet Frontend"
13 HOMEPAGE="http://gnome.org/projects/gwget/"
14
15 KEYWORDS="amd64 ppc x86"
16 LICENSE="GPL-2"
17 SLOT="0"
18 IUSE="epiphany libnotify"
19
20 # FIXME: dbus should be optional
21 # needs patching for linguas/intltool
22 RDEPEND="net-misc/wget
23 >=x11-libs/gtk+-2.6:2
24 >=dev-libs/glib-2.16.0:2
25 >=gnome-base/gconf-2:2
26 >=gnome-base/libgnomeui-2
27 >=dev-libs/dbus-glib-0.70
28 epiphany? ( >=www-client/epiphany-1.4 )
29 libnotify? ( >=x11-libs/libnotify-0.2.2 )"
30 DEPEND="${RDEPEND}
31 virtual/pkgconfig
32 >=dev-util/intltool-0.35.0
33 >=sys-devel/gettext-0.10.4"
34
35 pkg_setup() {
36 DOCS="AUTHORS ChangeLog NEWS README THANKS TODO"
37 G2CONF="${G2CONF}
38 $(use_enable epiphany epiphany-extension)
39 $(use_enable libnotify)
40 --disable-static
41 --disable-schemas-install"
42 }
43
44 src_prepare() {
45 epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
46 epatch "${FILESDIR}"/${P}-glib-single-include.patch
47 gnome2_src_prepare
48 }
49
50 src_install() {
51 gnome2_src_install
52
53 # remove /var/lib, which is created without any reason
54 rm -rf "${D}"/var || die "rm failed"
55 }

  ViewVC Help
Powered by ViewVC 1.1.20