Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 152932
Collapse All | Expand All

(-)pavuk-0.9.34-r1.ebuild (-26 / +7 lines)
Lines 11-34 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~amd64 ~ppc sparc ~x86"
13
KEYWORDS="~amd64 ~ppc sparc ~x86"
14
IUSE="gtk nls ssl"
14
IUSE="nls ssl"
15
15
16
DEPEND=">=sys-apps/sed-4
16
DEPEND=">=sys-apps/sed-4
17
	sys-devel/gettext
17
	sys-devel/gettext
18
	ssl? ( dev-libs/openssl )
18
	ssl? ( dev-libs/openssl )"
19
	=dev-libs/glib-1.2*
19
20
	gtk? (	>=x11-libs/gtk+-2.8.8
20
RDEPEND="virtual/libintl
21
		( || (	x11-proto/xproto
22
			virtual/x11 )
23
		) )"
24
25
RDEPEND="gtk? ( >=x11-libs/gtk+-2.8.8
26
	|| ( (	x11-libs/libXt
27
		x11-libs/libXmu
28
		x11-libs/libX11 )
29
		virtual/x11 )
30
	)
31
	virtual/libintl
32
	ssl? ( dev-libs/openssl )"
21
	ssl? ( dev-libs/openssl )"
33
22
34
src_unpack() {
23
src_unpack() {
Lines 41-47 Link Here
41
		--enable-threads \
30
		--enable-threads \
42
		--with-regex=auto \
31
		--with-regex=auto \
43
		--disable-socks \
32
		--disable-socks \
44
		$(use_enable gtk) \
33
		--disable-gtk \
45
		$(use_enable ssl) \
34
		$(use_enable ssl) \
46
		$(use_enable nls) \
35
		$(use_enable nls) \
47
		|| die "econf failed"
36
		|| die "econf failed"
Lines 50-66 Link Here
50
}
39
}
51
40
52
src_install() {
41
src_install() {
53
	# fix sandbox violation for gnome .desktop and icon, and gnome menu entry
42
	emake DESTDIR="${D}" install || die
54
	if use gnome
55
	then
56
		sed -i 's:GNOME_PREFIX = /usr:GNOME_PREFIX = ${D}usr:' Makefile
57
		sed -i 's:GNOME_PREFIX = /usr:GNOME_PREFIX = ${D}usr:' icons/Makefile
58
		sed -i 's:Type=Internet:Type=Application:' pavuk.desktop
59
	fi
60
61
	make DESTDIR="${D}" install || die
62
43
63
	dodoc README CREDITS FAQ NEWS AUTHORS BUGS \
44
	dodoc README CREDITS NEWS AUTHORS BUGS \
64
		TODO MAILINGLIST ChangeLog wget-pavuk.HOWTO jsbind.txt \
45
		TODO MAILINGLIST ChangeLog wget-pavuk.HOWTO jsbind.txt \
65
		pavuk_authinfo.sample  pavukrc.sample
46
		pavuk_authinfo.sample  pavukrc.sample
66
}
47
}

Return to bug 152932