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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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

1 # Copyright 1999-2012 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.0.ebuild,v 1.4 2012/04/23 20:31:07 mgorny Exp $
4
5 EAPI="4"
6
7 inherit cmake-utils
8
9 DESCRIPTION="Free implementation of the Remote Desktop Protocol"
10 HOMEPAGE="http://www.freerdp.com/"
11 SRC_URI="mirror://github/FreeRDP/FreeRDP/${P}.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_configure() {
56 local mycmakeargs=(
57 $(cmake-utils_use_with alsa ALSA)
58 $(cmake-utils_use_with cups CUPS)
59 $(cmake-utils_use_with doc MANPAGES)
60 $(cmake-utils_use_with directfb DIRECTFB)
61 $(cmake-utils_use_with ffmpeg FFMPEG)
62 $(cmake-utils_use_with pulseaudio PULSEAUDIO)
63 $(cmake-utils_use_with smartcard PCSC)
64 $(cmake-utils_use_with sse2 SSE2)
65 $(cmake-utils_use_with test CUNIT)
66 $(cmake-utils_use_with X X11)
67 $(cmake-utils_use_with X XCURSOR)
68 $(cmake-utils_use_with X XEXT)
69 $(cmake-utils_use_with X XKBFILE)
70 $(cmake-utils_use_with xinerama XINERAMA)
71 $(cmake-utils_use_with xv XV)
72 )
73 for i in ${FREERDP_DEBUG}; do
74 mycmakeargs+=(
75 $(cmake-utils_use_with debug-${i} DEBUG_$(LC_ALL=C echo ${i} | tr a-z A-Z))
76 )
77 done
78 cmake-utils_src_configure
79 }

  ViewVC Help
Powered by ViewVC 1.1.20