Switch zvbi mirror

Closes #339
This commit is contained in:
BtbN
2024-03-14 22:35:14 +01:00
parent 56bce6bf4a
commit c032e0fa41
6 changed files with 3 additions and 273 deletions

View File

@ -1,27 +1,14 @@
#!/bin/bash
SCRIPT_REPO="https://svn.code.sf.net/p/zapping/svn/trunk/vbi"
SCRIPT_REV="4270"
SCRIPT_REPO="https://github.com/zapping-vbi/zvbi"
SCRIPT_COMMIT="e0ff90c338500fd468c7925db85bed4b1b2d1e72"
ffbuild_enabled() {
return 0
}
ffbuild_dockerstage() {
to_df "RUN --mount=src=${SELF},dst=/stage.sh --mount=src=${SELFCACHE},dst=/cache.tar.xz --mount=src=patches/zvbi,dst=/patches run_stage /stage.sh"
}
ffbuild_dockerdl() {
echo "retry-tool sh -c \"rm -rf zvbi && svn checkout '${SCRIPT_REPO}@${SCRIPT_REV}' zvbi\" && cd zvbi"
}
ffbuild_dockerbuild() {
for patch in /patches/*.patch; do
echo "Applying $patch"
patch -p1 < "$patch"
done
autoreconf -i
./autogen.sh
local myconf=(
--prefix="$FFBUILD_PREFIX"
@ -49,8 +36,6 @@ ffbuild_dockerbuild() {
make -C src -j$(nproc)
make -C src install
make SUBDIRS=. install
sed -i "s/\/[^ ]*libiconv.a/-liconv/" "$FFBUILD_PREFIX"/lib/pkgconfig/zvbi-0.2.pc
}
ffbuild_configure() {