mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
arcan: fix build
This commit is contained in:
parent
ab0be79c23
commit
d60853f226
2 changed files with 25 additions and 2 deletions
22
srcpkgs/arcan/patches/show-message.patch
Normal file
22
srcpkgs/arcan/patches/show-message.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
Index: a/src/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- a/src/CMakeLists.txt
|
||||||
|
+++ b/src/CMakeLists.txt
|
||||||
|
@@ -1,16 +1,8 @@
|
||||||
|
# tried playing nice by using REQUIRE_QUIET but some built-in modules
|
||||||
|
# (CheckLibraryExists, ...) wouldn't listen so how about a nice cup
|
||||||
|
# of shut up.
|
||||||
|
-function(message)
|
||||||
|
- list(GET ARGV 0 TYPE)
|
||||||
|
- if (TYPE STREQUAL "FATAL_ERROR")
|
||||||
|
- list(REMOVE_AT ARGV 0)
|
||||||
|
- _message(${TYPE} ${CL_RED} "${ARGV}" ${CL_RST})
|
||||||
|
- endif()
|
||||||
|
-endfunction()
|
||||||
|
-
|
||||||
|
function(amsg msg)
|
||||||
|
- _message("" ${msg})
|
||||||
|
+ message("" ${msg})
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
if (CLIENT_LIBRARY_BUILD OR BUILD_PRESET STREQUAL "client")
|
|
@ -12,7 +12,7 @@ hostmakedepends="pkg-config
|
||||||
$(vopt_if wayland wayland-devel)"
|
$(vopt_if wayland wayland-devel)"
|
||||||
makedepends="MesaLib-devel ffmpeg-devel file-devel freetype-devel liblzma-devel
|
makedepends="MesaLib-devel ffmpeg-devel file-devel freetype-devel liblzma-devel
|
||||||
libopenal-devel libusb-devel libvncserver-devel libxkbcommon-devel sqlite-devel
|
libopenal-devel libusb-devel libvncserver-devel libxkbcommon-devel sqlite-devel
|
||||||
vlc-devel SDL2-devel
|
vlc-devel SDL2-devel xcb-util-devel xcb-util-wm-devel
|
||||||
$(vopt_if tts 'libespeak-ng-devel')
|
$(vopt_if tts 'libespeak-ng-devel')
|
||||||
$(vopt_if luajit 'LuaJIT-devel' 'lua51-devel')
|
$(vopt_if luajit 'LuaJIT-devel' 'lua51-devel')
|
||||||
$(vopt_if tesseract 'tesseract-ocr-devel leptonica-devel')
|
$(vopt_if tesseract 'tesseract-ocr-devel leptonica-devel')
|
||||||
|
@ -48,7 +48,8 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
CFLAGS="-latomic"
|
CFLAGS="-latomic"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
post_patch() {
|
||||||
|
rm -f platform/cmake/modules/FindPkgConfig.cmake
|
||||||
# provide patched openAL. the _lwa part of the build relies on a patched
|
# provide patched openAL. the _lwa part of the build relies on a patched
|
||||||
# openAL implementation that is statically linked
|
# openAL implementation that is statically linked
|
||||||
ln -s ${XBPS_BUILDDIR}/openal-${_versionOpenal} ${XBPS_BUILDDIR}/arcan-${version}/external/git/openal
|
ln -s ${XBPS_BUILDDIR}/openal-${_versionOpenal} ${XBPS_BUILDDIR}/arcan-${version}/external/git/openal
|
||||||
|
|
Loading…
Add table
Reference in a new issue