/[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 - (hide annotations) (download)
Wed Feb 15 00:54:12 2012 UTC (8 years, 1 month 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 hwoarang 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 floppym 1.6 # $Header: /var/cvsroot/gentoo-x86/net-misc/freerdp/freerdp-9999.ebuild,v 1.5 2011/09/04 16:34:45 floppym Exp $
4 hwoarang 1.1
5 floppym 1.5 EAPI="4"
6 hwoarang 1.1
7 floppym 1.5 inherit autotools-utils git-2
8 hwoarang 1.1
9 floppym 1.5 EGIT_REPO_URI="git://github.com/FreeRDP/FreeRDP-old.git"
10 hwoarang 1.1
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 floppym 1.5 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 hwoarang 1.1
23 floppym 1.5 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 hwoarang 1.1 gnutls? ( >=net-libs/gnutls-2.10.1 )
31 floppym 1.5 !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 hwoarang 1.1
45     DOCS=( AUTHORS ChangeLog NEWS README )
46    
47     pkg_setup() {
48 floppym 1.5 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 hwoarang 1.1 }
62    
63     src_configure() {
64 floppym 1.5 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 hwoarang 1.1 $(use_with X x)
85 floppym 1.5 $(use_with X xkbfile)
86     $(use_with xv xvideo)
87     )
88     autotools-utils_src_configure
89 hwoarang 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20