[WIP] Build libkiwix using `error_response_i18n`
See kiwix/libkwix#1032
This commit is contained in:
parent
939f323709
commit
e191d1c8a3
|
@ -2,6 +2,7 @@ REM ========================================================
|
||||||
REM Install libkiwix
|
REM Install libkiwix
|
||||||
git clone https://github.com/kiwix/libkiwix.git || exit /b 1
|
git clone https://github.com/kiwix/libkiwix.git || exit /b 1
|
||||||
cd libkiwix
|
cd libkiwix
|
||||||
|
git checkout error_response_i18n || exit /b 1
|
||||||
set CPPFLAGS="-I%EXTRA_DIR%/include"
|
set CPPFLAGS="-I%EXTRA_DIR%/include"
|
||||||
meson . build --prefix %EXTRA_DIR% --default-library static --buildtype release || exit /b 1
|
meson . build --prefix %EXTRA_DIR% --default-library static --buildtype release || exit /b 1
|
||||||
cd build
|
cd build
|
||||||
|
|
|
@ -14,6 +14,7 @@ class Libkiwix(Dependency):
|
||||||
class Source(GitClone):
|
class Source(GitClone):
|
||||||
git_remote = "https://github.com/kiwix/libkiwix.git"
|
git_remote = "https://github.com/kiwix/libkiwix.git"
|
||||||
git_dir = "libkiwix"
|
git_dir = "libkiwix"
|
||||||
|
git_ref = "error_response_i18n"
|
||||||
|
|
||||||
class Builder(MesonBuilder):
|
class Builder(MesonBuilder):
|
||||||
dependencies = ["pugixml", "libzim", "zlib", "lzma", "libcurl", "libmicrohttpd", "icu4c", "mustache", "xapian-core"]
|
dependencies = ["pugixml", "libzim", "zlib", "lzma", "libcurl", "libmicrohttpd", "icu4c", "mustache", "xapian-core"]
|
||||||
|
|
Loading…
Reference in New Issue