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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Nov 29 04:39:19 2012 UTC (7 years, 2 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop broken cunit tests and add ctest support to live ebuild.

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

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_p20120726.ebuild,v 1.1 2012/07/28 19:39:32 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 RESTRICT="test"
30
31 RDEPEND="
32 dev-libs/openssl
33 sys-libs/zlib
34 alsa? ( media-libs/alsa-lib )
35 cups? ( net-print/cups )
36 directfb? ( dev-libs/DirectFB )
37 ffmpeg? ( virtual/ffmpeg )
38 pulseaudio? ( media-sound/pulseaudio )
39 smartcard? ( sys-apps/pcsc-lite )
40 X? (
41 x11-libs/libX11
42 x11-libs/libXcursor
43 x11-libs/libXext
44 x11-libs/libxkbfile
45 xinerama? ( x11-libs/libXinerama )
46 xv? ( x11-libs/libXv )
47 )
48 "
49 DEPEND="${RDEPEND}
50 doc? (
51 X? (
52 app-text/docbook-xml-dtd:4.1.2
53 app-text/xmlto
54 )
55 )
56 test? ( dev-util/cunit )
57 "
58
59 DOCS=( README )
60
61 src_configure() {
62 local mycmakeargs=(
63 $(cmake-utils_use_with alsa ALSA)
64 $(cmake-utils_use_with cups CUPS)
65 $(cmake-utils_use_with doc MANPAGES)
66 $(cmake-utils_use_with directfb DIRECTFB)
67 $(cmake-utils_use_with ffmpeg FFMPEG)
68 $(cmake-utils_use_with pulseaudio PULSEAUDIO)
69 $(cmake-utils_use_with smartcard PCSC)
70 $(cmake-utils_use_with sse2 SSE2)
71 $(cmake-utils_use_with test CUNIT)
72 $(cmake-utils_use_with X X11)
73 $(cmake-utils_use_with X XCURSOR)
74 $(cmake-utils_use_with X XEXT)
75 $(cmake-utils_use_with X XKBFILE)
76 $(cmake-utils_use_with xinerama XINERAMA)
77 $(cmake-utils_use_with xv XV)
78 )
79 cmake-utils_src_configure
80 }

  ViewVC Help
Powered by ViewVC 1.1.20