From d850c3a011f6682709e6e85d75a7ed4846dbd8b7 Mon Sep 17 00:00:00 2001 From: George Matsumura Date: Mon, 12 Jul 2021 04:17:31 -0600 Subject: [PATCH] arcan: Add option for hybrid sdl This change allows the arcan_sdl binary to be built with a build option, which in turn allows the running of arcan nested within a different display server. Signed-off-by: George Matsumura --- srcpkgs/arcan/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template index f436db94479c..ce276cff7ccf 100644 --- a/srcpkgs/arcan/template +++ b/srcpkgs/arcan/template @@ -1,17 +1,19 @@ # Template file for 'arcan' pkgname=arcan version=0.6.0.1 -revision=1 +revision=2 build_wrksrc=src build_style=cmake make_cmd=make configure_args="-DDISTR_TAG='Void Linux' -DVIDEO_PLATFORM=egl-dri + $(vopt_if hybrid_sdl '-DHYBRID_SDL=On') $(vopt_if luajit '-DDISABLE_JIT=OFF' '-DDISABLE_JIT=ON')" hostmakedepends="pkg-config $(vopt_if wayland wayland-devel)" makedepends="MesaLib-devel ffmpeg-devel file-devel freetype-devel liblzma-devel libopenal-devel libusb-devel libvncserver-devel libxkbcommon-devel sqlite-devel vlc-devel + $(vopt_if hybrid_sdl 'SDL2-devel') $(vopt_if tts 'libespeak-ng-devel') $(vopt_if luajit 'LuaJIT-devel' 'lua51-devel') $(vopt_if tesseract 'tesseract-ocr-devel leptonica-devel') @@ -31,7 +33,7 @@ export CMAKE_GENERATOR="Unix Makefiles" replaces="arcan-wayland>=0" -build_options="luajit tesseract tts wayland" +build_options="luajit tesseract tts wayland hybrid_sdl" desc_option_tts="Enable support for text-to-speech via espeak" desc_option_tesseract="Enable support for OCR via tesseract" desc_option_luajit="Enable support for LuaJIT"