koreader-from-src: add most remaining sources
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
, gtk3-x11
|
||||
, luajit
|
||||
, pkg-config
|
||||
, ragel
|
||||
, sdcv
|
||||
, SDL2
|
||||
, substituteAll
|
||||
@@ -41,10 +42,10 @@ stdenv.mkDerivation rec {
|
||||
(name: src: fetchgit (
|
||||
{
|
||||
inherit name;
|
||||
} // src // {
|
||||
} // src.source // {
|
||||
# koreader sometimes specifies the rev as `tags/FOO`.
|
||||
# we need to remember that to place the repo where it expects, but we have to strip it here for fetchgit to succeed.
|
||||
rev = lib.removePrefix "tags/" src.rev;
|
||||
rev = lib.removePrefix "tags/" src.source.rev;
|
||||
}
|
||||
))
|
||||
sources.thirdparty
|
||||
@@ -72,6 +73,7 @@ stdenv.mkDerivation rec {
|
||||
libtool
|
||||
makeWrapper
|
||||
pkg-config
|
||||
ragel
|
||||
which
|
||||
# luajit_lua52.pkgs.luarocks
|
||||
];
|
||||
@@ -89,6 +91,8 @@ stdenv.mkDerivation rec {
|
||||
install_lib() {
|
||||
lib="$1"
|
||||
rev="$2"
|
||||
platform="$3"
|
||||
|
||||
lib_src="../$lib"
|
||||
|
||||
# link the nix clone into the directory koreader would use for checkout
|
||||
@@ -107,7 +111,7 @@ stdenv.mkDerivation rec {
|
||||
# instead, we replicate that effect here, and by creating these "stamp" files
|
||||
# koreader will know to skip the `git clone` and `git checkout` calls.
|
||||
# the logic we're spoofing lives in koreader/base/thirdparty/cmake_modules/koreader_thirdparty_git.cmake
|
||||
stamp_dir="base/thirdparty/$lib/build/x86_64-unknown-linux-gnu/git_checkout/stamp"
|
||||
stamp_dir="base/thirdparty/$lib/build/$platform/git_checkout/stamp"
|
||||
echo "creating stamp in $stamp_dir for rev $rev"
|
||||
# mkdir $(dirname ..) to handle the case where `$rev` contains slashes
|
||||
mkdir -p $(dirname "$stamp_dir/$lib-gitinfo-$rev.txt")
|
||||
@@ -118,7 +122,7 @@ stdenv.mkDerivation rec {
|
||||
# koreader would copy the checkout into this build/working directory,
|
||||
# but because we spoof the stamps to work around other git errors,
|
||||
# copy it there on koreader's behalf
|
||||
prefix="base/thirdparty/$lib/build/x86_64-unknown-linux-gnu/$lib-prefix"
|
||||
prefix="base/thirdparty/$lib/build/$platform/$lib-prefix"
|
||||
mkdir -p "$prefix/src"
|
||||
cp -R "$lib_src" "$prefix/src/$lib"
|
||||
# src dir needs to be writable for koreader to apply its own patches
|
||||
@@ -126,7 +130,7 @@ stdenv.mkDerivation rec {
|
||||
}
|
||||
|
||||
'' + builtins.concatStringsSep "\n" (lib.mapAttrsToList
|
||||
(name: src: ''install_lib "${name}" "${src.rev}"'')
|
||||
(name: src: ''install_lib "${name}" "${src.source.rev}" "${if src.buildInSource or false then "" else "x86_64-unknown-linux-gnu"}"'')
|
||||
sources.thirdparty
|
||||
) + ''
|
||||
|
||||
|
@@ -1,144 +1,252 @@
|
||||
{
|
||||
thirdparty = {
|
||||
curl = {
|
||||
url = "https://github.com/curl/curl.git";
|
||||
rev = "tags/curl-7_80_0";
|
||||
hash = "sha256-kzozc0Io+1f4UMivSV2IhzJDQXmad4wNhXN/Y2Lsg3Q=";
|
||||
source.url = "https://github.com/curl/curl.git";
|
||||
source.rev = "tags/curl-7_80_0";
|
||||
source.hash = "sha256-kzozc0Io+1f4UMivSV2IhzJDQXmad4wNhXN/Y2Lsg3Q=";
|
||||
};
|
||||
czmq = {
|
||||
url = "https://github.com/zeromq/czmq.git";
|
||||
rev = "2a0ddbc4b2dde623220d7f4980ddd60e910cfa78";
|
||||
hash = "sha256-p4Cl2PLVgRQ0S4qr3VClJXjvAd2LUBU9oRUvOCfVnyw=";
|
||||
source.url = "https://github.com/zeromq/czmq.git";
|
||||
source.rev = "2a0ddbc4b2dde623220d7f4980ddd60e910cfa78";
|
||||
source.hash = "sha256-p4Cl2PLVgRQ0S4qr3VClJXjvAd2LUBU9oRUvOCfVnyw=";
|
||||
};
|
||||
djvulibre = {
|
||||
url = "https://gitlab.com/koreader/djvulibre.git";
|
||||
rev = "6a1e5ba1c9ef81c205a4b270c3f121a1e106f4fc";
|
||||
hash = "sha256-OWSbxdr93FH3ed0D+NSFWIah7VDTcL3LIGOciY+f4dk=";
|
||||
# Completed
|
||||
source.url = "https://gitlab.com/koreader/djvulibre.git";
|
||||
source.rev = "6a1e5ba1c9ef81c205a4b270c3f121a1e106f4fc";
|
||||
source.hash = "sha256-OWSbxdr93FH3ed0D+NSFWIah7VDTcL3LIGOciY+f4dk=";
|
||||
};
|
||||
fbink = {
|
||||
url = "https://github.com/NiLuJe/FBInk.git";
|
||||
rev = "f562bc15a606524694a6d885bed5d83d03c7eb23";
|
||||
hash = "sha256-JlanCl4XQBFnrpRIEsowSeUI7wSa9RoQc5h3pkMHXA8=";
|
||||
source.url = "https://github.com/NiLuJe/FBInk.git";
|
||||
source.rev = "f562bc15a606524694a6d885bed5d83d03c7eb23";
|
||||
source.hash = "sha256-JlanCl4XQBFnrpRIEsowSeUI7wSa9RoQc5h3pkMHXA8=";
|
||||
};
|
||||
freetype2 = {
|
||||
url = "https://gitlab.com/koreader/freetype2.git";
|
||||
rev = "VER-2-13-1";
|
||||
hash = "sha256-rQN+hRzrs+KGgp8+n1VJzOOwtKUcRuSE/s/r8/xOUdI=";
|
||||
# Completed
|
||||
source.url = "https://gitlab.com/koreader/freetype2.git";
|
||||
source.rev = "VER-2-13-1";
|
||||
source.hash = "sha256-rQN+hRzrs+KGgp8+n1VJzOOwtKUcRuSE/s/r8/xOUdI=";
|
||||
};
|
||||
fribidi = {
|
||||
url = "https://github.com/fribidi/fribidi.git";
|
||||
rev = "tags/v1.0.12";
|
||||
hash = "sha256-L4m/F9rs8fiv9rSf8oy7P6cthhupc6R/lCv30PLiQ4M=";
|
||||
# Completed
|
||||
source.url = "https://github.com/fribidi/fribidi.git";
|
||||
source.rev = "tags/v1.0.12";
|
||||
source.hash = "sha256-L4m/F9rs8fiv9rSf8oy7P6cthhupc6R/lCv30PLiQ4M=";
|
||||
};
|
||||
giflib = {
|
||||
url = "https://gitlab.com/koreader/giflib.git";
|
||||
rev = "5.1.4";
|
||||
hash = "sha256-znbY4tliXHXVLBd8sTKrbglOdCUb7xhcCQsDDWcQfhw=";
|
||||
source.url = "https://gitlab.com/koreader/giflib.git";
|
||||
source.rev = "5.1.4";
|
||||
source.hash = "sha256-znbY4tliXHXVLBd8sTKrbglOdCUb7xhcCQsDDWcQfhw=";
|
||||
};
|
||||
glib = {
|
||||
url = "https://github.com/GNOME/glib.git";
|
||||
rev = "2.58.3";
|
||||
hash = "sha256-KmJXCJ6h2QhPyK1axk+Y9+yJzO0wnCczcogopxGShJc=";
|
||||
source.url = "https://github.com/GNOME/glib.git";
|
||||
source.rev = "2.58.3";
|
||||
source.hash = "sha256-KmJXCJ6h2QhPyK1axk+Y9+yJzO0wnCczcogopxGShJc=";
|
||||
};
|
||||
harfbuzz = {
|
||||
url = "https://github.com/harfbuzz/harfbuzz.git";
|
||||
rev = "8.0.1";
|
||||
hash = "sha256-qh04AsZlymNcUtZ3fytA9+Jk5PjPYm8UH75kBqZNsw4=";
|
||||
# Completed
|
||||
source.url = "https://github.com/harfbuzz/harfbuzz.git";
|
||||
source.rev = "8.0.1";
|
||||
source.hash = "sha256-qh04AsZlymNcUtZ3fytA9+Jk5PjPYm8UH75kBqZNsw4=";
|
||||
};
|
||||
kobo-usbms = {
|
||||
url = "https://github.com/koreader/KoboUSBMS.git";
|
||||
rev = "tags/v1.3.8";
|
||||
hash = "sha256-HZNcjLqkZk2YSnt0ynbUN9grJlBnF0zEwiN7fajNdrg=";
|
||||
source.url = "https://github.com/koreader/KoboUSBMS.git";
|
||||
source.rev = "tags/v1.3.8";
|
||||
source.hash = "sha256-HZNcjLqkZk2YSnt0ynbUN9grJlBnF0zEwiN7fajNdrg=";
|
||||
};
|
||||
leptonica = {
|
||||
url = "https://github.com/DanBloomberg/leptonica.git";
|
||||
rev = "1.74.1";
|
||||
hash = "sha256-SDXKam768xvZZvTbXe3sssvZyeLEEiY97Vrzx8hoc6g=";
|
||||
source.url = "https://github.com/DanBloomberg/leptonica.git";
|
||||
source.rev = "1.74.1";
|
||||
source.hash = "sha256-SDXKam768xvZZvTbXe3sssvZyeLEEiY97Vrzx8hoc6g=";
|
||||
};
|
||||
libjpeg-turbo = {
|
||||
url = "https://github.com/libjpeg-turbo/libjpeg-turbo.git";
|
||||
rev = "3.0.0";
|
||||
hash = "sha256-mIeSBP65+rWOCRS/33MPqGUpemBee2qR45CZ6H00Hak=";
|
||||
# Completed
|
||||
source.url = "https://github.com/libjpeg-turbo/libjpeg-turbo.git";
|
||||
source.rev = "3.0.0";
|
||||
source.hash = "sha256-mIeSBP65+rWOCRS/33MPqGUpemBee2qR45CZ6H00Hak=";
|
||||
};
|
||||
libk2pdfopt = {
|
||||
url = "https://github.com/koreader/libk2pdfopt.git";
|
||||
rev = "60b82eeecf71d1776951da970fe8cd2cc5735ded";
|
||||
hash = "sha256-9UcDr9e4GZCZ78moRs1ADAt4Xl7z3vR93KDexXEHvhw=";
|
||||
# Completed
|
||||
source.url = "https://github.com/koreader/libk2pdfopt.git";
|
||||
source.rev = "60b82eeecf71d1776951da970fe8cd2cc5735ded";
|
||||
source.hash = "sha256-9UcDr9e4GZCZ78moRs1ADAt4Xl7z3vR93KDexXEHvhw=";
|
||||
};
|
||||
libpng = {
|
||||
url = "https://github.com/glennrp/libpng.git";
|
||||
rev = "v1.6.40";
|
||||
hash = "sha256-Rad7Y5Z9PUCipBTQcB7LEP8fIVTG3JsnMeknUkZ/rRg=";
|
||||
# Completed
|
||||
source.url = "https://github.com/glennrp/libpng.git";
|
||||
source.rev = "v1.6.40";
|
||||
source.hash = "sha256-Rad7Y5Z9PUCipBTQcB7LEP8fIVTG3JsnMeknUkZ/rRg=";
|
||||
};
|
||||
libunibreak = {
|
||||
url = "https://github.com/adah1972/libunibreak.git";
|
||||
rev = "tags/libunibreak_5_1";
|
||||
hash = "sha256-hjgT5DCQ6KFXKlxk9LLzxGHz6B71X/3Ot7ipK3KY85A=";
|
||||
# Completed
|
||||
source.url = "https://github.com/adah1972/libunibreak.git";
|
||||
source.rev = "tags/libunibreak_5_1";
|
||||
source.hash = "sha256-hjgT5DCQ6KFXKlxk9LLzxGHz6B71X/3Ot7ipK3KY85A=";
|
||||
};
|
||||
libwebp = {
|
||||
url = "https://github.com/webmproject/libwebp.git";
|
||||
rev = "v1.3.1";
|
||||
hash = "sha256-ddDL/nnBikbm6YznlyCcBgmq2Qzo0MjIwMzN4/kzWqk=";
|
||||
# Completed
|
||||
source.url = "https://github.com/webmproject/libwebp.git";
|
||||
source.rev = "v1.3.1";
|
||||
source.hash = "sha256-ddDL/nnBikbm6YznlyCcBgmq2Qzo0MjIwMzN4/kzWqk=";
|
||||
};
|
||||
libzmq = {
|
||||
url = "https://github.com/zeromq/libzmq";
|
||||
rev = "883e95b22e0bffffa72312ea1fec76199afbe458";
|
||||
hash = "sha256-R76EREtHsqcoKxKrgT8gfEf9pIWdLTBXvF9cDvjEf3E=";
|
||||
source.url = "https://github.com/zeromq/libzmq";
|
||||
source.rev = "883e95b22e0bffffa72312ea1fec76199afbe458";
|
||||
source.hash = "sha256-R76EREtHsqcoKxKrgT8gfEf9pIWdLTBXvF9cDvjEf3E=";
|
||||
};
|
||||
lj-wpaclient = {
|
||||
url = "https://github.com/koreader/lj-wpaclient.git";
|
||||
rev = "2f93beb3071e6ebb57c783bd5b92f83aa5ebb757";
|
||||
hash = "sha256-ilJviGZTvL2i1TN5lHQ4eA9pFiM7NlXD+v9ofv520b8=";
|
||||
source.url = "https://github.com/koreader/lj-wpaclient.git";
|
||||
source.rev = "2f93beb3071e6ebb57c783bd5b92f83aa5ebb757";
|
||||
source.hash = "sha256-ilJviGZTvL2i1TN5lHQ4eA9pFiM7NlXD+v9ofv520b8=";
|
||||
};
|
||||
lodepng = {
|
||||
url = "https://github.com/lvandeve/lodepng.git";
|
||||
rev = "c18b949b71f45e78b1f9a28c5d458bce0da505d6";
|
||||
hash = "sha256-AAw6I+MxDaxmGpjC5efxuBNw7Lx8FXwg2TEfl6LfPfQ=";
|
||||
source.url = "https://github.com/lvandeve/lodepng.git";
|
||||
source.rev = "c18b949b71f45e78b1f9a28c5d458bce0da505d6";
|
||||
source.hash = "sha256-AAw6I+MxDaxmGpjC5efxuBNw7Lx8FXwg2TEfl6LfPfQ=";
|
||||
};
|
||||
lua-htmlparser = {
|
||||
url = "https://github.com/msva/lua-htmlparser";
|
||||
rev = "5ce9a775a345cf458c0388d7288e246bb1b82bff";
|
||||
hash = "sha256-aSTLSfqz/MIDFVRwtBlDNBUhPb7KqOl32/Y62Hdec1s=";
|
||||
source.url = "https://github.com/msva/lua-htmlparser";
|
||||
source.rev = "5ce9a775a345cf458c0388d7288e246bb1b82bff";
|
||||
source.hash = "sha256-aSTLSfqz/MIDFVRwtBlDNBUhPb7KqOl32/Y62Hdec1s=";
|
||||
};
|
||||
luajit = {
|
||||
url = "https://github.com/LuaJIT/LuaJIT";
|
||||
rev = "8635cbabf3094c4d8bd00578c7d812bea87bb2d3";
|
||||
hash = "sha256-pfMNQFulW6AEwAVPxn9wUdbRg3ViHbGVCCke5NSIgTo=";
|
||||
# Completed
|
||||
source.url = "https://github.com/LuaJIT/LuaJIT";
|
||||
source.rev = "8635cbabf3094c4d8bd00578c7d812bea87bb2d3";
|
||||
source.hash = "sha256-pfMNQFulW6AEwAVPxn9wUdbRg3ViHbGVCCke5NSIgTo=";
|
||||
};
|
||||
lua-rapidjson = {
|
||||
url = "https://github.com/xpol/lua-rapidjson";
|
||||
rev = "242b40c8eaceb0cc43bcab88309736461cac1234";
|
||||
hash = "sha256-y/czEVPtCt4uN1n49Qi7BrgZmkG+SDXlM5D2GvvO2qg=";
|
||||
source.url = "https://github.com/xpol/lua-rapidjson";
|
||||
source.rev = "242b40c8eaceb0cc43bcab88309736461cac1234";
|
||||
source.hash = "sha256-y/czEVPtCt4uN1n49Qi7BrgZmkG+SDXlM5D2GvvO2qg=";
|
||||
};
|
||||
luasec = {
|
||||
url = "https://github.com/brunoos/luasec";
|
||||
rev = "tags/v1.3.1";
|
||||
hash = "sha256-3iYRNQoVk5HFjDSqRRmg1taSqeT2cHFil36vxjrEofo=";
|
||||
source.url = "https://github.com/brunoos/luasec";
|
||||
source.rev = "tags/v1.3.1";
|
||||
source.hash = "sha256-3iYRNQoVk5HFjDSqRRmg1taSqeT2cHFil36vxjrEofo=";
|
||||
};
|
||||
luasocket = {
|
||||
url = "https://github.com/lunarmodules/luasocket";
|
||||
rev = "8c2ff7217e2a205eb107a6f48b04ff1b2b3090a1";
|
||||
hash = "sha256-Y35QYNLznQmErr6rIjxLzw0/6Y7y8TbzD4yaEdgEljA=";
|
||||
source.url = "https://github.com/lunarmodules/luasocket";
|
||||
source.rev = "8c2ff7217e2a205eb107a6f48b04ff1b2b3090a1";
|
||||
source.hash = "sha256-Y35QYNLznQmErr6rIjxLzw0/6Y7y8TbzD4yaEdgEljA=";
|
||||
};
|
||||
lua-Spore = {
|
||||
source.url = "https://framagit.org/fperrad/lua-Spore";
|
||||
source.rev = "tags/0.3.3";
|
||||
source.hash = "sha256-wb7ykJsndoq0DazHpfXieUcBBptowYqD/eTTN/EK/6g=";
|
||||
};
|
||||
lunasvg = {
|
||||
# Completed
|
||||
source.url = "https://github.com/sammycage/lunasvg.git";
|
||||
source.rev = "59d6f6ba835c1b7c7a0f9d4ea540ec3981777885";
|
||||
source.hash = "sha256-gW2ikakS6Omz5upmy26nAo/jkGHYO2kjlB3UmKJBh1k=";
|
||||
};
|
||||
minizip = {
|
||||
# Completed
|
||||
source.url = "https://github.com/nmoinvaz/minizip";
|
||||
source.rev = "0b46a2b4ca317b80bc53594688883f7188ac4d08";
|
||||
source.hash = "sha256-P/3MMMGYDqD9NmkYvw/thKpUNa3wNOSlBBjANHSonAg=";
|
||||
};
|
||||
mupdf = {
|
||||
source.url = "https://github.com/ArtifexSoftware/mupdf.git";
|
||||
source.rev = "tags/1.13.0";
|
||||
source.hash = "sha256-pQejRon9fO9A1mhz3oLjBr1j4HveDLcQIWjR1/Rpy5Q=";
|
||||
# buildInSource = true;
|
||||
};
|
||||
nanosvg = {
|
||||
# Completed
|
||||
# XXX koreader expects stamp file to not have x86_64-... prefix?
|
||||
# maybe because it specifies an empty BUILD_COMMAND instead of `KO_MAKE_RECURSIVE`?
|
||||
# or because `BUILD_IN_SOURCE`?
|
||||
source.url = "https://github.com/memononen/nanosvg.git";
|
||||
source.rev = "9da543e8329fdd81b64eb48742d8ccb09377aed1";
|
||||
source.hash = "sha256-VOiN6583DtzGYPRkl19VG2QvSzl4T9HaynBuNcvZf94=";
|
||||
buildInSource = true;
|
||||
};
|
||||
openssh = {
|
||||
source.url = "https://github.com/openssh/openssh-portable.git";
|
||||
source.rev = "V_8_6_P1";
|
||||
source.hash = "sha256-yjIpSbe5pt9sEV2MZYGztxejg/aBFfKO8ieRvoLN2KA=";
|
||||
};
|
||||
openssl = {
|
||||
source.url = "https://github.com/openssl/openssl.git";
|
||||
source.rev = "OpenSSL_1_1_1u";
|
||||
source.hash = "sha256-JOcUj4ovA6621+1k2HUsvhGX1B9BjvaMbCaSx680nSs=";
|
||||
};
|
||||
popen-noshell = {
|
||||
source.url = "https://github.com/famzah/popen-noshell.git";
|
||||
source.rev = "e715396a4951ee91c40a98d2824a130f158268bb";
|
||||
source.hash = "sha256-JeBZMsg6ZUGSnyZ4eds4w63gM/L73EsAnLaHOPpL6iM=";
|
||||
};
|
||||
sdvc = {
|
||||
source.url = "https://github.com/Dushistov/sdcv.git";
|
||||
source.rev = "6e36e7730caf07b6cd0bfa265cdf9b5e31e7acad";
|
||||
source.hash = "sha256-pPaT9tB39dd+VyE21KSjMpON99KjOxQ8Hi8+ZgFsuUY=";
|
||||
};
|
||||
tesseract = {
|
||||
url = "https://github.com/tesseract-ocr/tesseract.git";
|
||||
rev = "60176fc5ae5e7f6bdef60c926a4b5ea03de2bfa7";
|
||||
hash = "sha256-FQvlrJ+Uy7+wtUxBuS5NdoToUwNRhYw2ju8Ya8MLyQw=";
|
||||
source.url = "https://github.com/tesseract-ocr/tesseract.git";
|
||||
source.rev = "60176fc5ae5e7f6bdef60c926a4b5ea03de2bfa7";
|
||||
source.hash = "sha256-FQvlrJ+Uy7+wtUxBuS5NdoToUwNRhYw2ju8Ya8MLyQw=";
|
||||
};
|
||||
turbo = {
|
||||
source.url = "https://github.com/kernelsauce/turbo";
|
||||
source.rev = "tags/v2.1.3";
|
||||
source.hash = "sha256-vBRkFdc5a0FIt15HBz3TnqMZ+GGsqjEefnfJEpuVTBs=";
|
||||
};
|
||||
utf8proc = {
|
||||
# Completed
|
||||
source.url = "https://github.com/JuliaStrings/utf8proc.git";
|
||||
source.rev = "v2.8.0";
|
||||
source.hash = "sha256-/lSD78kj133rpcSAOh8T8XFW/Z0c3JKkGQM5Z6DcMtU=";
|
||||
};
|
||||
zstd = {
|
||||
url = "https://github.com/facebook/zstd.git";
|
||||
rev = "tags/v1.5.5";
|
||||
hash = "sha256-tHHHIsQU7vJySrVhJuMKUSq11MzkmC+Pcsj00uFJdnQ=";
|
||||
# Completed
|
||||
source.url = "https://github.com/facebook/zstd.git";
|
||||
source.rev = "tags/v1.5.5";
|
||||
source.hash = "sha256-tHHHIsQU7vJySrVhJuMKUSq11MzkmC+Pcsj00uFJdnQ=";
|
||||
};
|
||||
zsync2 = {
|
||||
source.url = "https://github.com/NiLuJe/zsync2.git";
|
||||
source.rev = "e618d18f6a7cbf350cededa17ddfe8f76bdf0b5c";
|
||||
source.hash = "sha256-S0vxCON1l6S+NWlnRPfm7R07DVkvkG+6QW5LNvXBlA8=";
|
||||
};
|
||||
};
|
||||
|
||||
externalProjects = {
|
||||
# dropbear = TODO
|
||||
# gettext = TODO
|
||||
# libffi = TODO
|
||||
# libiconv = TODO
|
||||
# lpeg = TODO
|
||||
dropbear = {
|
||||
url = "http://deb.debian.org/debian/pool/main/d/dropbear/dropbear_2018.76.orig.tar.bz2";
|
||||
hash = "sha256-8vuRZ+yoz5NFal/B1Pr3CZAqOrcN1E41LzrLw//a6mU=";
|
||||
};
|
||||
gettext = {
|
||||
url = "http://ftpmirror.gnu.org/gettext/gettext-0.21.tar.gz";
|
||||
hash = "sha256-x30NoxAq7JwH9DZx5gYR6/+JqZbvFZSXzo5Z0HV4axI=";
|
||||
};
|
||||
libffi = {
|
||||
url = "https://github.com/libffi/libffi/releases/download/v3.4.4/libffi-3.4.4.tar.gz";
|
||||
hash = "sha256-1mxWrSWags8qnfxAizK/XaUjcVALhHRff7i2RXEt9nY=";
|
||||
};
|
||||
libiconv = {
|
||||
url = "http://ftpmirror.gnu.org/libiconv/libiconv-1.15.tar.gz";
|
||||
hash = "sha256-zPU2YgpFRY0muoOIepg7loJwAekqE4R7ReSSXMiRMXg=";
|
||||
};
|
||||
lpeg = {
|
||||
url = "http://distcache.FreeBSD.org/ports-distfiles/lpeg-1.0.2.tar.gz";
|
||||
hash = "sha256-SNZldgUbbHg4j6rQm3BJMJMmRYj80PJY3aqxzdShX/4=";
|
||||
};
|
||||
# sdcv = TODO (uses download_project)
|
||||
# sdl2 = { # TODO (uses download_project)
|
||||
# url = "https://github.com/libsdl-org/SDL/releases/download/release-2.28.1/SDL2-2.28.1.tar.gz";
|
||||
# };
|
||||
sqlite = {
|
||||
url = "https://www.sqlite.org/2023/sqlite-autoconf-3420000.tar.gz";
|
||||
hash = "sha256-erz9FhxuJ0LKXGwIldH4U8lA8gMwSgtJ2k4eyl0IjKY=";
|
||||
};
|
||||
tar = {
|
||||
url = "http://ftpmirror.gnu.org/tar/tar-1.34.tar.gz";
|
||||
hash = "sha256-A9kIz1doz+a3rViMkhxu0hrKv7K3m3iNEzBFNQdkeu0=";
|
||||
};
|
||||
zlib = {
|
||||
# Completed
|
||||
url = "http://gentoo.osuosl.org/distfiles/zlib-1.2.13.tar.xz";
|
||||
hash = "sha256-0Uw44xOvw1qah2Da3yYEL1HqD10VSwYwox2gVAEH+5g=";
|
||||
};
|
||||
|
@@ -1,5 +1,96 @@
|
||||
diff --git a/base/thirdparty/dropbear/CMakeLists.txt b/base/thirdparty/dropbear/CMakeLists.txt
|
||||
index 51fca147..7f593ecd 100644
|
||||
--- a/base/thirdparty/dropbear/CMakeLists.txt
|
||||
+++ b/base/thirdparty/dropbear/CMakeLists.txt
|
||||
@@ -43,7 +43,7 @@ include(ExternalProject)
|
||||
set(DROPBEAR_VER "2018.76")
|
||||
ExternalProject_Add(
|
||||
${PROJECT_NAME}
|
||||
- URL http://deb.debian.org/debian/pool/main/d/dropbear/dropbear_${DROPBEAR_VER}.orig.tar.bz2
|
||||
+ URL file://@dropbear@
|
||||
URL_MD5 c3912f7fcdcc57c99937e4a79480d2c2
|
||||
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
|
||||
PATCH_COMMAND COMMAND ${PATCH_CMD1} COMMAND ${PATCH_CMD2} COMMAND
|
||||
diff --git a/base/thirdparty/gettext/CMakeLists.txt b/base/thirdparty/gettext/CMakeLists.txt
|
||||
index 0ba8c635..c1bc122c 100644
|
||||
--- a/base/thirdparty/gettext/CMakeLists.txt
|
||||
+++ b/base/thirdparty/gettext/CMakeLists.txt
|
||||
@@ -38,7 +38,7 @@ set(GETTEXT_VER "0.21")
|
||||
include(ExternalProject)
|
||||
ExternalProject_Add(
|
||||
${PROJECT_NAME}
|
||||
- URL http://ftpmirror.gnu.org/gettext/gettext-${GETTEXT_VER}.tar.gz
|
||||
+ URL file://@gettext@
|
||||
URL_MD5 28b1cd4c94a74428723ed966c38cf479
|
||||
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
|
||||
PATCH_COMMAND COMMAND ${PATCH_CMD}
|
||||
diff --git a/base/thirdparty/libffi/CMakeLists.txt b/base/thirdparty/libffi/CMakeLists.txt
|
||||
index 972c991b..4409b18a 100644
|
||||
--- a/base/thirdparty/libffi/CMakeLists.txt
|
||||
+++ b/base/thirdparty/libffi/CMakeLists.txt
|
||||
@@ -24,7 +24,7 @@ set(LIBFFI_VER "3.4.4")
|
||||
ExternalProject_Add(
|
||||
${PROJECT_NAME}
|
||||
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
|
||||
- URL https://github.com/libffi/libffi/releases/download/v${LIBFFI_VER}/libffi-${LIBFFI_VER}.tar.gz
|
||||
+ URL file://@libffi@
|
||||
URL_MD5 0da1a5ed7786ac12dcbaf0d499d8a049
|
||||
CONFIGURE_COMMAND ${CFG_CMD}
|
||||
# skip the rest, we only need the header for glib
|
||||
diff --git a/base/thirdparty/libiconv/CMakeLists.txt b/base/thirdparty/libiconv/CMakeLists.txt
|
||||
index 6a45ddc7..c8cf2974 100644
|
||||
--- a/base/thirdparty/libiconv/CMakeLists.txt
|
||||
+++ b/base/thirdparty/libiconv/CMakeLists.txt
|
||||
@@ -19,7 +19,7 @@ set(GETTEXT_VER "1.15")
|
||||
include(ExternalProject)
|
||||
ExternalProject_Add(
|
||||
libiconv
|
||||
- URL http://ftpmirror.gnu.org/libiconv/libiconv-${GETTEXT_VER}.tar.gz
|
||||
+ URL file://@libiconv@
|
||||
URL_MD5 ace8b5f2db42f7b3b3057585e80d9808
|
||||
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
|
||||
CONFIGURE_COMMAND ${CFG_CMD}
|
||||
diff --git a/base/thirdparty/lpeg/CMakeLists.txt b/base/thirdparty/lpeg/CMakeLists.txt
|
||||
index b7345e61..c5859b68 100644
|
||||
--- a/base/thirdparty/lpeg/CMakeLists.txt
|
||||
+++ b/base/thirdparty/lpeg/CMakeLists.txt
|
||||
@@ -48,7 +48,7 @@ include(ExternalProject)
|
||||
ExternalProject_Add(
|
||||
${PROJECT_NAME}
|
||||
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
|
||||
- URL http://distcache.FreeBSD.org/ports-distfiles/lpeg-${LPEG_RELEASE}.tar.gz
|
||||
+ URL file://@lpeg@
|
||||
URL_MD5 d342571886f1abcb7afe6a83d024d583
|
||||
BUILD_IN_SOURCE 1
|
||||
PATCH_COMMAND COMMAND ${PATCH_CMD}
|
||||
diff --git a/base/thirdparty/sqlite/CMakeLists.txt b/base/thirdparty/sqlite/CMakeLists.txt
|
||||
index 0353b145..9de56105 100644
|
||||
--- a/base/thirdparty/sqlite/CMakeLists.txt
|
||||
+++ b/base/thirdparty/sqlite/CMakeLists.txt
|
||||
@@ -37,7 +37,7 @@ set(SQLITE_VER "3420000")
|
||||
ExternalProject_Add(
|
||||
${PROJECT_NAME}
|
||||
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
|
||||
- URL https://www.sqlite.org/2023/sqlite-autoconf-${SQLITE_VER}.tar.gz
|
||||
+ URL file://@sqlite@
|
||||
URL_MD5 0c5a92bc51cf07cae45b4a1e94653dea
|
||||
BUILD_IN_SOURCE 1
|
||||
CONFIGURE_COMMAND ${CFG_CMD}
|
||||
diff --git a/base/thirdparty/tar/CMakeLists.txt b/base/thirdparty/tar/CMakeLists.txt
|
||||
index 9d0b82ca..1c1d4b8e 100644
|
||||
--- a/base/thirdparty/tar/CMakeLists.txt
|
||||
+++ b/base/thirdparty/tar/CMakeLists.txt
|
||||
@@ -62,7 +62,7 @@ include(ExternalProject)
|
||||
set(TAR_VER "1.34")
|
||||
ExternalProject_Add(
|
||||
${PROJECT_NAME}
|
||||
- URL http://ftpmirror.gnu.org/tar/tar-${TAR_VER}.tar.gz
|
||||
+ URL file://@tar@
|
||||
URL_MD5 9d5949e4c2d9665546ac65dafc0e726a
|
||||
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
|
||||
PATCH_COMMAND COMMAND ${PATCH_CMD1} COMMAND ${PATCH_CMD2}
|
||||
diff --git a/base/thirdparty/zlib/CMakeLists.txt b/base/thirdparty/zlib/CMakeLists.txt
|
||||
index 2350186d..76a7c97d 100644
|
||||
index 2350186d..0ea1394d 100644
|
||||
--- a/base/thirdparty/zlib/CMakeLists.txt
|
||||
+++ b/base/thirdparty/zlib/CMakeLists.txt
|
||||
@@ -52,7 +52,7 @@ set(ZLIB_MD5 "7d9fc1d78ae2fa3e84fe98b77d006c63")
|
||||
|
Reference in New Issue
Block a user