summaryrefslogtreecommitdiff
blob: 7ca7e191e240608381b448bc25e4d4a542e131f1 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/vino/vino-2.10.0-r1.ebuild,v 1.1 2005/08/26 09:29:13 flameeyes Exp $

inherit gnome2 eutils

DESCRIPTION="VNC server"
HOMEPAGE="http://www.gnome.org"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
#IUSE="jpeg zlib gnutls crypt"
IUSE="jpeg gnutls crypt"

RDEPEND=">=x11-libs/gtk+-2
	>=gnome-base/gconf-2
	>=gnome-base/libglade-2
	>=gnome-base/libgnomeui-2.5.2
	>=gnome-base/orbit-2
	>=gnome-base/libbonobo-2
	sys-libs/zlib
	jpeg? ( media-libs/jpeg )
	gnutls? ( >=net-libs/gnutls-1 )
	crypt? ( >=dev-libs/libgcrypt-1.1.90 )"
#	zlib? ( sys-libs/zlib )

DEPEND="${RDEPEND}
	dev-util/pkgconfig
	>=dev-util/intltool-0.29"

USE_DESTDIR="1"

G2CONF="${G2CONF} \
	--with-zlib \
	$(use_with jpeg) \
	$(use_enable gnutls) \
	$(use_enable crypt gcrypt)"
#	$(use_with zlib) \

DOCS="AUTHORS ChangeLog NEWS README"

src_unpack() {
	unpack ${A}
	cd ${S}

	epatch ${FILESDIR}/${P}-fbsd.patch
}