Skip to content

Commit

Permalink
net-misc/freerdp: add logic for libswscale / cairo
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/698392
Package-Manager: Portage-2.3.80_p5, Repoman-2.3.19_p4
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
floppym committed Dec 12, 2019
1 parent f1a0831 commit 8a0b6b3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion net-misc/freerdp/freerdp-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ 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"
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"
RESTRICT="!test? ( test )"

RDEPEND="
Expand Down Expand Up @@ -49,6 +49,9 @@ RDEPEND="
libav? ( media-video/libav:0= )
!libav? ( media-video/ffmpeg:0= )
)
!ffmpeg? (
x11-libs/cairo:0=
)
gstreamer? (
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
Expand Down Expand Up @@ -103,6 +106,8 @@ src_configure() {
-DWITH_DEBUG_ALL=$(usex-on-off debug)
-DWITH_MANPAGES=$(usex-on-off doc)
-DWITH_FFMPEG=$(usex-on-off ffmpeg)
-DWITH_SWSCALE=$(usex-on-off ffmpeg)
-DWITH_CAIRO=$(usex ffmpeg OFF ON)
-DWITH_DSP_FFMPEG=$(usex-on-off ffmpeg)
-DWITH_GSTREAMER_1_0=$(usex-on-off gstreamer)
-DWITH_JPEG=$(usex-on-off jpeg)
Expand Down

0 comments on commit 8a0b6b3

Please sign in to comment.