From 3ea34aef2da7645e4207acbf621bb8b66f86f22c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 4 Sep 2025 15:59:07 -0400 Subject: [PATCH] Add CxxUrl --- utils/packpack/startpackpack.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index 7a57656c4..79f668790 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -129,6 +129,17 @@ commonprep () { exit 1 fi fi + if [ -e "build/CxxUrl" ]; then + echo "Found existing CxxUrl tarball..." + else + CxxUrlVER="v0.3" + echo "Retrieving CxxUrl ${CxxUrlVER} submodule..." + curl -L https://github.com/chmike/CxxUrl.git/archive/${CxxUrlVER}.tar.gz > build/CxxUrl-${CssUrlVER}.tar.gz + if [ $? -ne 0 ]; then + echo "ERROR: CxxUrl tarball retrieval failed..." + exit 1 + fi + fi } # Uncompress the submodule tarballs and move them into place @@ -157,6 +168,14 @@ movecrud () { rmdir dep/RtspServer mv -f RtspServer-${RTSPVER} dep/RtspServer fi + if [ -e "dep/CxxUrl/CMakeLists.txt" ]; then + echo "CxxUrl already installed..." + else + echo "Unpacking CxxUrl..." + tar -xzf build/CxxUrl-${CxxUrlVER}.tar.gz + rmdir dep/CssUrl + mv -f CxxUrl-${CxxUrlVER} dep/CxxUrl + fi } # previously part of installzm.sh