/[gentoo-x86]/net-misc/freerdp/freerdp-0.8.2.ebuild
Gentoo

Contents of /net-misc/freerdp/freerdp-0.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jul 8 00:33:41 2012 UTC (7 years, 7 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/freerdp/freerdp-0.8.2.ebuild,v 1.3 2011/03/12 12:10:57 hwoarang Exp $
4
5 EAPI=2
6 WANT_AUTOMAKE="1.11"
7
8 inherit base versionator
9
10 DESCRIPTION="A Remote Desktop Protocol Client, forked from rdesktop"
11 HOMEPAGE="http://www.freerdp.com/"
12 SRC_URI="mirror://sourceforge/${PN}/$(get_version_component_range 1-2)/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="alsa cups debug gnutls iconv ipv6 libsamplerate nss polarssl \
18 ssl X"
19
20 DEPEND="
21 x11-libs/libX11
22 ssl? ( >=dev-libs/openssl-0.9.8a )
23 nss? ( dev-libs/nss )
24 gnutls? ( >=net-libs/gnutls-2.10.1 )
25 polarssl? ( >=net-libs/polarssl-0.14.0 )
26 alsa? ( media-libs/alsa-lib )
27 libsamplerate? ( media-libs/libsamplerate )
28 cups? ( net-print/cups )
29 iconv? ( virtual/libiconv )"
30 RDEPEND="${DEPEND}
31 x11-apps/setxkbmap"
32
33 DOCS=( AUTHORS ChangeLog NEWS README )
34
35 pkg_setup() {
36 MY_CRYPTOBACKEND="simple"
37 if use polarssl; then
38 MY_CRYPTOBACKEND="polarssl"
39 fi
40 if use nss; then
41 if [[ "${MY_CRYPTOBACKEND}" != "simple" ]]; then
42 ewarn "You have enabled ${MY_CRYPTOBACKEND} and nss."
43 ewarn "Only one will be selected"
44 fi
45 MY_CRYPTOBACKEND="nss"
46 fi
47 if use gnutls; then
48 if [[ "${MY_CRYPTOBACKEND}" != "simple" ]]; then
49 ewarn "You have enabled ${MY_CRYPTOBACKEND} and gnutls."
50 ewarn "Only one will be selected"
51 fi
52 MY_CRYPTOBACKEND="gnutls"
53 fi
54 if use ssl; then
55 if [[ "${MY_CRYPTOBACKEND}" != "simple" ]]; then
56 ewarn "You have enabled ${MY_CRYPTOBACKEND} and openssl."
57 ewarn "Only one will be selected"
58 fi
59 MY_CRYPTOBACKEND="openssl"
60 fi
61
62 einfo "The selected crypto-backend is: ${MY_CRYPTOBACKEND}"
63
64 if ! use ssl; then
65 ewarn "You do not have OpenSSL as the crypto-backend,"
66 ewarn "TLS-connections will not be available."
67 ewarn "TLS-connectios currently need OpenSSL as crypto-backend."
68 fi
69 }
70
71 src_configure() {
72 # chipcard and directfb are configurable according to ./configure
73 # but they are currently not usable...
74 econf \
75 --enable-largefile \
76 --with-crypto="${MY_CRYPTOBACKEND}" \
77 $(use_enable ssl tls) \
78 $(use_with debug) \
79 $(use_with debug debug-channel) \
80 $(use_with debug debug-kbd) \
81 $(use_with debug debug-rdp5) \
82 $(use_with debug debug-serial) \
83 $(use_with debug debug-sound) \
84 $(use_with alsa sound alsa) \
85 $(use_with cups printer cups) \
86 $(use_enable iconv) \
87 $(use_enable ipv6) \
88 $(use_with libsamplerate) \
89 $(use_with X x)
90 }

  ViewVC Help
Powered by ViewVC 1.1.20