commit:     8b17e3543da1c86ea2f7718887a82ba822ca0927
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 20:53:57 2019 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 20:55:03 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b17e354

Revert "net-misc/freerdp: remove old"

Restore stable ebuild for ppc/ppc64.

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 net-misc/freerdp/Manifest                    |   1 +
 net-misc/freerdp/freerdp-2.0.0_rc2-r1.ebuild | 119 +++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/net-misc/freerdp/Manifest b/net-misc/freerdp/Manifest
index ba46460b9ec..4b61307e109 100644
--- a/net-misc/freerdp/Manifest
+++ b/net-misc/freerdp/Manifest
@@ -1 +1,2 @@
+DIST freerdp-2.0.0-rc2.tar.gz 6611081 BLAKE2B 
564abd6289f0c9d3947b9074111ade8c2e7b6e6dce9af8a06ef1772d0e76822c5df80932a5cbac2f23c4d2a76d4796c12bd4fa067c6ef21ea84a1b8423be1ce3
 SHA512 
cb765b3b9559c4877be4c10e5df9e95d11a0184ce34e89564097c3234f859de8e82b6de6217396628e5f70c85c40c65ccd75f9b0f7f89daaed7e0e971a833589
 DIST freerdp-2.0.0-rc4.tar.gz 6662044 BLAKE2B 
50bc72336841e421b8fd89ce4f2be6a0b1a9f052933c4cd5bad33261689e6a6b54bc5563fb1ace8cc7a2271990c0ff4c7fe239243f5d75140af497ee6ff9bcd6
 SHA512 
63cf89aecc6d7ac55db8c7aca60f4ba29cfa54ad70d0fa87fdab011cd16500a3d184659119cd08b7596b7236346db3b61b46282c5325d7f0ca6da09b42d0df20

diff --git a/net-misc/freerdp/freerdp-2.0.0_rc2-r1.ebuild 
b/net-misc/freerdp/freerdp-2.0.0_rc2-r1.ebuild
new file mode 100644
index 00000000000..7e5cfb6e590
--- /dev/null
+++ b/net-misc/freerdp/freerdp-2.0.0_rc2-r1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 2011-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit cmake-utils
+
+if [[ ${PV} != 9999 ]]; then
+       MY_P=${P/_/-}
+       S="${WORKDIR}/${MY_P}"
+       SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz";
+       KEYWORDS="alpha amd64 arm ppc ppc64 x86"
+else
+       inherit git-r3
+       SRC_URI=""
+       EGIT_REPO_URI="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_arm_neon cups debug doc ffmpeg gstreamer jpeg 
libav libressl openh264 pulseaudio server smartcard systemd test usb wayland X 
xinerama xv"
+
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
+       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? (
+               libav? ( media-video/libav:0= )
+               !libav? ( media-video/ffmpeg:0= )
+       )
+       gstreamer? (
+               media-libs/gstreamer:1.0
+               media-libs/gst-plugins-base:1.0
+               x11-libs/libXrandr
+       )
+       jpeg? ( virtual/jpeg:0 )
+       openh264? ( media-libs/openh264 )
+       pulseaudio? ( media-sound/pulseaudio )
+       server? (
+               X? (
+                       x11-libs/libXcursor
+                       x11-libs/libXdamage
+                       x11-libs/libXext
+                       x11-libs/libXfixes
+                       x11-libs/libXrandr
+                       x11-libs/libXtst
+                       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
+       ) ) )
+"
+
+PATCHES=(
+       "${FILESDIR}"/2.0.0-rc2-primitives.patch
+)
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_TESTING=$(usex test)
+               -DCHANNEL_URBDRC=$(usex usb)
+               -DWITH_ALSA=$(usex alsa)
+               -DWITH_CCACHE=OFF
+               -DWITH_CLIENT=$(usex client)
+               -DWITH_CUPS=$(usex cups)
+               -DWITH_DEBUG_ALL=$(usex debug)
+               -DWITH_MANPAGES=$(usex doc)
+               -DWITH_FFMPEG=$(usex ffmpeg)
+               -DWITH_GSTREAMER_1_0=$(usex gstreamer)
+               -DWITH_JPEG=$(usex jpeg)
+               -DWITH_NEON=$(usex cpu_flags_arm_neon)
+               -DWITH_OPENH264=$(usex openh264)
+               -DWITH_PULSE=$(usex pulseaudio)
+               -DWITH_SERVER=$(usex server)
+               -DWITH_PCSC=$(usex smartcard)
+               -DWITH_LIBSYSTEMD=$(usex systemd)
+               -DWITH_X11=$(usex X)
+               -DWITH_XINERAMA=$(usex xinerama)
+               -DWITH_XV=$(usex xv)
+               -DWITH_WAYLAND=$(usex wayland)
+       )
+       cmake-utils_src_configure
+}

Reply via email to