diff --git a/common/shlibs b/common/shlibs index e26ee0f5464..54f715d7914 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3077,3 +3077,8 @@ libzuluCrypt-exe.so.1.2.0 zulucrypt-5.2.0_1 libzuluCrypt.so.1.2.0 zulucrypt-5.2.0_1 libnfdump-1.6.15.so nfdump-1.6.15_1 libttfautohint.so.1 ttfautohint-1.8.1_1 +libkrfbprivate.so.5.0 krfb-17.08.1_1 +libarcan_shmif.so.0.11 arcan-0.5.4.3_1 +libarcan_shmif_ext.so.0.11 arcan-0.5.4.3_1 +libarcan_shmif_server.so.0.11 arcan-0.5.4.3_1 +libarcan_tui.so.0.11 arcan-0.5.4.3_1 diff --git a/srcpkgs/arcan-devel b/srcpkgs/arcan-devel new file mode 120000 index 00000000000..fb6a95edcfe --- /dev/null +++ b/srcpkgs/arcan-devel @@ -0,0 +1 @@ +arcan \ No newline at end of file diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template new file mode 100644 index 00000000000..3f84284a858 --- /dev/null +++ b/srcpkgs/arcan/template @@ -0,0 +1,55 @@ +# Template file for 'arcan' +pkgname=arcan +version=0.5.4.3 +revision=1 +build_style=cmake +build_wrksrc=src +short_desc="Combined display server, multimedia framework and game engine" +maintainer="Piraty " +license="GPL-2" +homepage="https://arcan-fe.com/" +distfiles="https://github.com/letoram/${pkgname}/archive/${version}.tar.gz" +checksum="94a64dbce762c3bf81d3282414ffd337b0eb4b47dbdf35f02c3f5095dabf81cf" + +# the _lwa part of the build relies on a patched openAL implementation +# that is statically linked +_versionOpenal=0.5.4 +distfiles+=" https://github.com/letoram/openal/archive/${_versionOpenal}.tar.gz>openal_arcan.${_versionOpenal}.tar.gz" +checksum+=" 3a50a87c05b67c466a868cc77f8dc7f9cfc9466aeeafcd823daca0d108c504da" + +only_for_archs="i686 i686-musl x86_64 x86_64-musl" + +configure_args=" -DDISTR_TAG='Void Linux' + -DCMAKE_BUILD_TYPE=Release -DBUILD_TAG='release' -DSTATIC_SQLITE3=Off + -DSTATIC_OPENAL=Off -DSTATIC_FREETYPE=Off + -DVIDEO_PLATFORM=egl-dri -DENABLE_SIMD=On -DENABLE_LTO=Off" + +makedepends="libgbm libGL libdrm-devel MesaLib-devel libEGL LuaJIT-devel + freetype-devel sqlite-devel libusb-devel libxkbcommon-devel harfbuzz-devel + libopenal-devel vlc-devel ffmpeg-devel bzip2-devel liblzma-devel + libvncserver-devel $(vopt_if tesseract tesseract-ocr-devel)" + +build_options="tesseract" +desc_option_tesseract="Enable support for OCR via tesseract" +build_options_default="tesseract" + +post_extract() { + # provide patched openAL + ln -s ${XBPS_BUILDDIR}/openal-${_versionOpenal} ${XBPS_BUILDDIR}/arcan-${version}/external/git/openal +} + +post_install() { + # need suid for drmMaster, dropped immediately after open+master + chmod u+s ${DESTDIR}/usr/bin/arcan +} + +arcan-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/lib/*.so + vmove usr/lib/*.a + vmove usr/lib/pkgconfig + vmove usr/include + } +}