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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Feb 15 00:54:12 2012 UTC (8 years ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Rename old live ebuild to freerdp-0.9999.

(Portage version: 2.2.0_alpha86/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-9999.ebuild,v 1.5 2011/09/04 16:34:45 floppym Exp $
4
5 EAPI="4"
6
7 inherit autotools-utils git-2
8
9 EGIT_REPO_URI="git://github.com/FreeRDP/FreeRDP-old.git"
10
11 DESCRIPTION="A Remote Desktop Protocol Client, forked from rdesktop"
12 HOMEPAGE="http://www.freerdp.com/"
13 SRC_URI=""
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS=""
18 IUSE="alsa cups debug-assert debug-gdi debug-kbd debug-nla
19 debug-proto debug-serial debug-smartcard debug-sound
20 debug-stream-assert directfb ffmpeg gnutls iconv ipv6 nss polarssl
21 pulseaudio smartcard static-libs X xv"
22
23 DEPEND="alsa? ( media-libs/alsa-lib )
24 cups? ( net-print/cups )
25 directfb? ( dev-libs/DirectFB )
26 ffmpeg? ( virtual/ffmpeg )
27 iconv? ( virtual/libiconv )
28 pulseaudio? ( media-sound/pulseaudio )
29 smartcard? ( sys-apps/pcsc-lite )
30 gnutls? ( >=net-libs/gnutls-2.10.1 )
31 !gnutls? (
32 nss? ( dev-libs/nss )
33 !nss? (
34 polarssl? ( >=net-libs/polarssl-0.14.0 )
35 !polarssl? ( >=dev-libs/openssl-0.9.8a )
36 )
37 )
38 X? ( x11-libs/libX11
39 x11-libs/libXcursor
40 x11-libs/libxkbfile )
41 xv? ( x11-libs/libXext
42 x11-libs/libXv )"
43 RDEPEND="${DEPEND}"
44
45 DOCS=( AUTHORS ChangeLog NEWS README )
46
47 pkg_setup() {
48 crypto=(
49 $(usev gnutls)
50 $(usev nss)
51 $(usev polarssl)
52 openssl
53 )
54 [[ ${#crypto[@]} > 1 ]] && \
55 ewarn "${crypto[0]} crypto backend selected; this will disable tls support"
56 }
57
58 src_prepare() {
59 autotools-utils_src_prepare
60 eautoreconf
61 }
62
63 src_configure() {
64 local myeconfargs=(
65 $(use_enable iconv)
66 $(use_enable ipv6)
67 --enable-largefile
68 $(use_with alsa)
69 --with-crypto=${crypto[0]}
70 $(use_with cups printer cups)
71 $(use_with debug-assert)
72 $(use_with debug-gdi)
73 $(use_with debug-kbd)
74 $(use_with debug-nla)
75 $(use_with debug-proto debug)
76 $(use_with debug-serial)
77 $(use_with debug-smartcard)
78 $(use_with debug-sound)
79 $(use_with debug-stream-assert)
80 $(use_with directfb dfb)
81 $(use_with ffmpeg)
82 $(use_with pulseaudio pulse)
83 $(use_with smartcard)
84 $(use_with X x)
85 $(use_with X xkbfile)
86 $(use_with xv xvideo)
87 )
88 autotools-utils_src_configure
89 }

  ViewVC Help
Powered by ViewVC 1.1.20