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

Contents of /net-misc/freerdp/freerdp-1.0.1_p20120704.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 8 00:56:06 2012 UTC (7 years, 7 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove version bump; should have tested first.

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

  ViewVC Help
Powered by ViewVC 1.1.20