/[gentoo-x86]/net-misc/freerdp/freerdp-1.1.0_beta1_p20130710-r1.ebuild
Gentoo

Contents of /net-misc/freerdp/freerdp-1.1.0_beta1_p20130710-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sun Feb 8 19:03:41 2015 UTC (4 years, 9 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +2 -1 lines
Set upper-bound on cmake to work around bug 538278.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)

1 # Copyright 1999-2015 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.1.0_beta1_p20130710-r1.ebuild,v 1.11 2015/01/30 19:52:27 floppym Exp $
4
5 EAPI="5"
6
7 inherit cmake-utils vcs-snapshot
8
9 if [[ ${PV} != 9999* ]]; then
10 COMMIT="780d451afad21a22d2af6bd030ee71311856f038"
11 SRC_URI="https://github.com/FreeRDP/FreeRDP/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
12 KEYWORDS="alpha amd64 arm ppc ppc64 x86"
13 else
14 inherit git-2
15 SRC_URI=""
16 EGIT_REPO_URI="git://github.com/FreeRDP/FreeRDP.git
17 https://github.com/FreeRDP/FreeRDP.git"
18 KEYWORDS=""
19 fi
20
21 DESCRIPTION="Free implementation of the Remote Desktop Protocol"
22 HOMEPAGE="http://www.freerdp.com/"
23
24 LICENSE="Apache-2.0"
25 SLOT="0"
26 IUSE="alsa +channels +client cups debug directfb doc ffmpeg gstreamer jpeg
27 pulseaudio server smartcard cpu_flags_x86_sse2 test X xinerama xv"
28
29 RDEPEND="
30 dev-libs/openssl
31 sys-libs/zlib
32 alsa? ( media-libs/alsa-lib )
33 cups? ( net-print/cups )
34 client? (
35 X? (
36 x11-libs/libXcursor
37 x11-libs/libXext
38 x11-libs/libXi
39 x11-libs/libXrender
40 xinerama? ( x11-libs/libXinerama )
41 xv? ( x11-libs/libXv )
42 )
43 )
44 directfb? ( dev-libs/DirectFB )
45 ffmpeg? ( virtual/ffmpeg )
46 gstreamer? (
47 media-libs/gstreamer:0.10
48 media-libs/gst-plugins-base:0.10
49 x11-libs/libXrandr
50 )
51 jpeg? ( virtual/jpeg )
52 pulseaudio? ( media-sound/pulseaudio )
53 server? (
54 X? (
55 x11-libs/libXcursor
56 x11-libs/libXdamage
57 x11-libs/libXext
58 x11-libs/libXfixes
59 xinerama? ( x11-libs/libXinerama )
60 )
61 )
62 smartcard? ( sys-apps/pcsc-lite )
63 X? (
64 x11-libs/libX11
65 x11-libs/libxkbfile
66 )
67 "
68 DEPEND="${RDEPEND}
69 <dev-util/cmake-3.1
70 client? ( X? ( doc? (
71 app-text/docbook-xml-dtd:4.1.2
72 app-text/xmlto
73 ) ) )
74 "
75
76 DOCS=( README )
77
78 PATCHES=(
79 "${FILESDIR}/${P}-ffmpeg.patch"
80 "${FILESDIR}/${PN}-1.1-CVE-2014-0250.patch"
81 )
82
83 src_configure() {
84 local mycmakeargs=(
85 $(cmake-utils_use_with alsa ALSA)
86 $(cmake-utils_use_with channels CHANNELS)
87 $(cmake-utils_use_with client CLIENT)
88 $(cmake-utils_use_with cups CUPS)
89 $(cmake-utils_use_with debug DEBUG_ALL)
90 $(cmake-utils_use_with doc MANPAGES)
91 $(cmake-utils_use_with directfb DIRECTFB)
92 $(cmake-utils_use_with ffmpeg FFMPEG)
93 $(cmake-utils_use_with gstreamer GSTREAMER)
94 $(cmake-utils_use_with jpeg JPEG)
95 $(cmake-utils_use_with pulseaudio PULSE)
96 $(cmake-utils_use_with server SERVER)
97 $(cmake-utils_use_with smartcard PCSC)
98 $(cmake-utils_use_with cpu_flags_x86_sse2 SSE2)
99 $(cmake-utils_use_with X X11)
100 $(cmake-utils_use_with xinerama XINERAMA)
101 $(cmake-utils_use_with xv XV)
102 $(cmake-utils_use_build test TESTING)
103 )
104 cmake-utils_src_configure
105 }

  ViewVC Help
Powered by ViewVC 1.1.20