arcan: remove arch-specific checks

This commit is contained in:
q66 2020-02-08 16:20:32 +01:00
parent 9729e03713
commit fdd3521d71
1 changed files with 13 additions and 16 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'arcan' # Template file for 'arcan'
pkgname=arcan pkgname=arcan
version=0.5.5.2 version=0.5.5.2
revision=2 revision=3
build_wrksrc=src build_wrksrc=src
build_style=cmake build_style=cmake
configure_args="-DDISTR_TAG='Void Linux' -DVIDEO_PLATFORM=egl-dri" configure_args="-DDISTR_TAG='Void Linux' -DVIDEO_PLATFORM=egl-dri"
makedepends="ffmpeg-devel harfbuzz-devel liblzma-devel makedepends="ffmpeg-devel harfbuzz-devel liblzma-devel MesaLib-devel
libopenal-devel libusb-devel libvncserver-devel libxkbcommon-devel sqlite-devel libopenal-devel libusb-devel libvncserver-devel libxkbcommon-devel sqlite-devel
$(vopt_if tesseract 'tesseract-ocr-devel leptonica-devel') vlc-devel" $(vopt_if tesseract 'tesseract-ocr-devel leptonica-devel') vlc-devel"
short_desc="Combined display server, multimedia framework and game engine" short_desc="Combined display server, multimedia framework and game engine"
@ -18,20 +18,17 @@ distfiles="https://github.com/letoram/${pkgname}/archive/${version}.tar.gz
checksum="a5f775789e22f6a4f16742ae9375bb5b7999aab83398adeab2bdc3f70c321cc0 checksum="a5f775789e22f6a4f16742ae9375bb5b7999aab83398adeab2bdc3f70c321cc0
3a50a87c05b67c466a868cc77f8dc7f9cfc9466aeeafcd823daca0d108c504da" 3a50a87c05b67c466a868cc77f8dc7f9cfc9466aeeafcd823daca0d108c504da"
case "${XBPS_TARGET_MACHINE}" in if [ "$CROSS_BUILD" -a "$XBPS_TARGET_WORDSIZE" != "$XBPS_WORDSIZE" ]; then
i686*|x86_64*|ppc64*) configure_args+=" -DDISABLE_JIT=ON"
makedepends+=" LuaJIT-devel" makedepends+=" lua51-devel"
;; else
armv7*|aarch64*) makedepends+=" LuaJIT-devel"
configure_args+=" -DDISABLE_JIT=ON" fi
makedepends+=" MesaLib-devel lua51-devel"
;; if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
armv[56]*|ppc*) makedepends+=" libatomic-devel"
configure_args+=" -DDISABLE_JIT=ON" CFLAGS+=" -latomic"
makedepends+=" MesaLib-devel lua51-devel libatomic-devel" fi
CFLAGS+=" -latomic"
;;
esac
build_options="tesseract" build_options="tesseract"
desc_option_tesseract="Enable support for OCR via tesseract" desc_option_tesseract="Enable support for OCR via tesseract"