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

Contents of /net-misc/freerdp/freerdp-1.0_beta1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Jan 7 20:45:32 2012 UTC (7 years, 10 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bump. Remove old betas.

(Portage version: 2.2.0_alpha84/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-1.0_beta1.ebuild,v 1.4 2011/12/04 05:10:47 floppym Exp $
4
5 EAPI="4"
6
7 inherit cmake-utils
8
9 DESCRIPTION="Client-side implementation of the Remote Desktop Protocol"
10 HOMEPAGE="http://www.freerdp.com/"
11 SRC_URI="https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-${PV/_/-}.tar.gz"
12
13 LICENSE="Apache-2.0"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="alsa cups directfb doc ffmpeg pulseaudio smartcard sse2 test X xinerama xv"
17
18 FREERDP_DEBUG="transport chanman svc dvc kbd nla nego certificate license gdi
19 rfx x11 rail xv scard orders redir"
20 IUSE+=" $(printf 'debug-%s ' ${FREERDP_DEBUG})"
21
22 RDEPEND="
23 dev-libs/openssl
24 sys-libs/zlib
25 alsa? ( media-libs/alsa-lib )
26 cups? ( net-print/cups )
27 directfb? ( dev-libs/DirectFB )
28 ffmpeg? ( virtual/ffmpeg )
29 pulseaudio? ( media-sound/pulseaudio )
30 smartcard? ( sys-apps/pcsc-lite )
31 X? (
32 x11-libs/libX11
33 x11-libs/libXcursor
34 x11-libs/libXext
35 x11-libs/libxkbfile
36 xinerama? ( x11-libs/libXinerama )
37 xv? ( x11-libs/libXv )
38 )
39 "
40 DEPEND="${RDEPEND}
41 doc? (
42 X? (
43 app-text/docbook-xml-dtd:4.1.2
44 app-text/xmlto
45 )
46 )
47 test? ( dev-util/cunit )
48 "
49
50 DOCS=( README )
51
52 # Test suite segfaults
53 RESTRICT="test"
54
55 src_unpack() {
56 unpack ${A}
57 mv FreeRDP-* "${S}" || die
58 }
59
60 CMAKE_VERBOSE=1
61
62 src_configure() {
63 local mycmakeargs=(
64 $(cmake-utils_use_with alsa ALSA)
65 $(cmake-utils_use_with cups CUPS)
66 $(cmake-utils_use_with doc MANPAGES)
67 $(cmake-utils_use_with directfb DIRECTFB)
68 $(cmake-utils_use_with ffmpeg FFMPEG)
69 $(cmake-utils_use_with pulseaudio PULSEAUDIO)
70 $(cmake-utils_use_with smartcard PCSC)
71 $(cmake-utils_use_with sse2 SSE2)
72 $(cmake-utils_use_with test CUNIT)
73 $(cmake-utils_use_with X X11)
74 $(cmake-utils_use_with X XCURSOR)
75 $(cmake-utils_use_with X XEXT)
76 $(cmake-utils_use_with X XKBFILE)
77 $(cmake-utils_use_with xinerama XINERAMA)
78 $(cmake-utils_use_with xv XV)
79 )
80 for i in ${FREERDP_DEBUG}; do
81 mycmakeargs+=(
82 $(cmake-utils_use_with debug-${i} DEBUG_$(LC_ALL=C echo ${i} | tr a-z A-Z))
83 )
84 done
85 cmake-utils_src_configure
86 }

  ViewVC Help
Powered by ViewVC 1.1.20