summaryrefslogtreecommitdiff
blob: 9219775d154f0ea1507f621cb6ef60afad445a7e (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit autotools base git

EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}"

DESCRIPTION="A Remote Desktop Protocol Client, forked from rdesktop"
HOMEPAGE="http://freerdp.sourceforge.net/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="alsa cups iconv ipv6 largefile X"

DEPEND="
	>=dev-libs/openssl-0.9.8a
	x11-libs/libX11
	alsa? ( media-libs/alsa-lib )
	cups? ( net-print/cups )
	iconv? ( virtual/libiconv )"
RDEPEND="${DEPEND}"

DOCS=( AUTHORS ChangeLog NEWS README )

src_prepare() {
	eautoreconf
}

src_configure() {
	# openssl is mandatory for now. Building without it 
	# is strongly discouraged according to upstream.
	# Warning: Do not trust "./configure --help"
	# it's wrong sometimes - esp. in --enable/--with parts...
	econf \
		--with-crypto=openssl \
		$(use_with alsa sound alsa) \
		$(use_with cups printer cups) \
		$(use_enable iconv) \
		$(use_enable ipv6) \
		$(use_enable largefile) \
		$(use_with X x)
}