summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/freerdp/freerdp-9999.ebuild')
-rw-r--r--net-misc/freerdp/freerdp-9999.ebuild43
1 files changed, 20 insertions, 23 deletions
diff --git a/net-misc/freerdp/freerdp-9999.ebuild b/net-misc/freerdp/freerdp-9999.ebuild
index 9587efaef60c..271191f5513f 100644
--- a/net-misc/freerdp/freerdp-9999.ebuild
+++ b/net-misc/freerdp/freerdp-9999.ebuild
@@ -86,30 +86,27 @@ DEPEND="${RDEPEND}
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)
+ -DWITH_ALSA=$(usex alsa)
+ -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 neon)
+ -DWITH_PULSE=$(usex pulseaudio)
+ -DWITH_SERVER=$(usex server)
+ -DWITH_PCSC=$(usex smartcard)
+ -DWITH_LIBSYSTEMD=$(usex systemd)
+ -DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+ -DCHANNEL_URBDRC=$(usex usb)
+ -DWITH_X11=$(usex X)
+ -DWITH_XINERAMA=$(usex xinerama)
+ -DWITH_XV=$(usex xv)
+ -DBUILD_TESTING=$(usex test)
+ -DWITH_WAYLAND=$(usex wayland)
)
cmake-utils_src_configure
}