arcan: add arcan_sdl subpackage

arcan_sdl allows the running of arcan nested within a different
display server.
This commit is contained in:
George Matsumura 2021-07-12 04:17:31 -06:00 committed by Érico Nogueira Rolim
parent 7ad1cfd3c4
commit b5ad35e9f8
2 changed files with 12 additions and 2 deletions

View file

@ -1,17 +1,18 @@
# 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
-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
vlc-devel SDL2-devel
$(vopt_if tts 'libespeak-ng-devel')
$(vopt_if luajit 'LuaJIT-devel' 'lua51-devel')
$(vopt_if tesseract 'tesseract-ocr-devel leptonica-devel')
@ -74,3 +75,11 @@ arcan-devel_package() {
vmove usr/include
}
}
arcan_sdl_package() {
short_desc+=" - SDL platform server binary"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin/arcan_sdl
}
}

1
srcpkgs/arcan_sdl Symbolic link
View file

@ -0,0 +1 @@
arcan