diff options
author | 2016-07-31 18:32:08 -0400 | |
---|---|---|
committer | 2016-07-31 18:35:14 -0400 | |
commit | 284e8df14016d82111de37cc8b24f8e11d6442a3 (patch) | |
tree | 9f45c19fedba6a6955325a2029b5938d8e4dd3b3 /net-misc/freerdp/freerdp-2.0.0_pre20160722.ebuild | |
parent | net-misc/freerdp: convert to EAPI 6 (diff) | |
download | gentoo-284e8df14016d82111de37cc8b24f8e11d6442a3.tar.gz gentoo-284e8df14016d82111de37cc8b24f8e11d6442a3.tar.bz2 gentoo-284e8df14016d82111de37cc8b24f8e11d6442a3.zip |
net-misc/freerdp: new snapshot for 2.0.0
Diffstat (limited to 'net-misc/freerdp/freerdp-2.0.0_pre20160722.ebuild')
-rw-r--r-- | net-misc/freerdp/freerdp-2.0.0_pre20160722.ebuild | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/net-misc/freerdp/freerdp-2.0.0_pre20160722.ebuild b/net-misc/freerdp/freerdp-2.0.0_pre20160722.ebuild new file mode 100644 index 000000000000..f11763bf6996 --- /dev/null +++ b/net-misc/freerdp/freerdp-2.0.0_pre20160722.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit cmake-utils + +if [[ ${PV} != 9999 ]]; then + inherit vcs-snapshot + COMMIT="5b2455f3147aca395a441fc65b602938600f0788" + SRC_URI="https://github.com/FreeRDP/FreeRDP/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86" +else + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="git://github.com/FreeRDP/FreeRDP.git + https://github.com/FreeRDP/FreeRDP.git" +fi + +DESCRIPTION="Free implementation of the Remote Desktop Protocol" +HOMEPAGE="http://www.freerdp.com/" + +LICENSE="Apache-2.0" +SLOT="0/2" +IUSE="alsa +client cpu_flags_x86_sse2 cups debug doc ffmpeg gstreamer jpeg libressl neon pulseaudio server smartcard systemd test usb wayland X xinerama xv" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + sys-libs/zlib:0 + alsa? ( media-libs/alsa-lib ) + cups? ( net-print/cups ) + client? ( + usb? ( + virtual/libudev:0= + sys-apps/util-linux:0= + dev-libs/dbus-glib:0= + virtual/libusb:1= + ) + X? ( + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + xv? ( x11-libs/libXv ) + ) + ) + ffmpeg? ( virtual/ffmpeg ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + x11-libs/libXrandr + ) + jpeg? ( virtual/jpeg:0 ) + pulseaudio? ( media-sound/pulseaudio ) + server? ( + X? ( + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + xinerama? ( x11-libs/libXinerama ) + ) + ) + smartcard? ( sys-apps/pcsc-lite ) + systemd? ( sys-apps/systemd:0= ) + wayland? ( + dev-libs/wayland + x11-libs/libxkbcommon + ) + X? ( + x11-libs/libX11 + x11-libs/libxkbfile + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + client? ( X? ( doc? ( + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + ) ) ) +" + +DOCS=( README ) + +src_configure() { + onoff() { + usex "$1" ON OFF + } + local mycmakeargs=( + -DWITH_ALSA=$(onoff alsa) + -DWITH_CLIENT=$(onoff client) + -DWITH_CUPS=$(onoff cups) + -DWITH_DEBUG_ALL=$(onoff debug) + -DWITH_MANPAGES=$(onoff doc) + -DWITH_FFMPEG=$(onoff ffmpeg) + -DWITH_GSTREAMER_1_0=$(onoff gstreamer) + -DWITH_JPEG=$(onoff jpeg) + -DWITH_NEON=$(onoff neon) + -DWITH_PULSE=$(onoff pulseaudio) + -DWITH_SERVER=$(onoff server) + -DWITH_PCSC=$(onoff smartcard) + -DWITH_LIBSYSTEMD=$(onoff systemd) + -DWITH_SSE2=$(onoff cpu_flags_x86_sse2) + -DCHANNEL_URBDRC=$(onoff usb) + -DWITH_X11=$(onoff X) + -DWITH_XINERAMA=$(onoff xinerama) + -DWITH_XV=$(onoff xv) + -DBUILD_TESTING=$(onoff test) + -DWITH_WAYLAND=$(onoff wayland) + ) + cmake-utils_src_configure +} |