Migrate more scripts to git

This commit is contained in:
BtbN 2022-07-12 20:28:45 +02:00
parent a74783a375
commit 5339e22d26
11 changed files with 43 additions and 59 deletions

View file

@ -1,17 +1,18 @@
#!/bin/bash #!/bin/bash
# https://ftp.gnu.org/gnu/libiconv/ SCRIPT_REPO="https://git.savannah.gnu.org/git/libiconv.git"
ICONV_SRC="https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz" SCRIPT_COMMIT="4b9c27bec873392533dd3ef309cd62962a644e18"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
wget -O iconv.tar.gz "$ICONV_SRC" git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" iconv
tar xaf iconv.tar.gz cd iconv
rm iconv.tar.gz
cd libiconv* ./gitsub.sh pull
./autogen.sh
local myconf=( local myconf=(
--prefix="$FFBUILD_PREFIX" --prefix="$FFBUILD_PREFIX"

View file

@ -1,20 +1,16 @@
#!/bin/bash #!/bin/bash
ZLIB_SRC="https://zlib.net/zlib-1.2.12.tar.gz" SCRIPT_REPO="https://github.com/madler/zlib.git"
SCRIPT_COMMIT="21767c654d31d2dccdde4330529775c6c5fd5389"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
mkdir zlib git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" zlib
cd zlib cd zlib
wget "$ZLIB_SRC" -O zlib.tar.gz
tar xaf zlib.tar.gz
rm zlib.tar.gz
cd zlib*
local myconf=( local myconf=(
--prefix="$FFBUILD_PREFIX" --prefix="$FFBUILD_PREFIX"
--static --static

View file

@ -1,19 +1,17 @@
#!/bin/bash #!/bin/bash
# https://sourceforge.net/projects/freetype/files/freetype2/ SCRIPT_REPO="https://gitlab.freedesktop.org/freetype/freetype.git"
FREETYPE_SRC="https://sourceforge.net/projects/freetype/files/freetype2/2.12.1/freetype-2.12.1.tar.xz/download" SCRIPT_COMMIT="275b116b40c9d183d42242099ea9ff276985855b"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
mkdir ft git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" freetype
cd ft cd freetype
wget -O ft.tar.gz "$FREETYPE_SRC"
tar xaf ft.tar.gz ./autogen.sh
rm ft.tar.gz
cd freetype*
local myconf=( local myconf=(
--prefix="$FFBUILD_PREFIX" --prefix="$FFBUILD_PREFIX"

View file

@ -1,19 +1,17 @@
#!/bin/bash #!/bin/bash
XZ_SRC="https://sourceforge.net/projects/lzmautils/files/xz-5.2.5.tar.xz/download" SCRIPT_REPO="https://github.com/xz-mirror/xz.git"
SCRIPT_COMMIT="4773608554d1b684a05ff9c1d879cf5c42266d33"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
mkdir xz git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" xz
cd xz cd xz
wget "$XZ_SRC" -O xz.tar.xz ./autogen.sh --no-po4a
tar xaf xz.tar.xz
rm xz.tar.xz
cd xz*
local myconf=( local myconf=(
--prefix="$FFBUILD_PREFIX" --prefix="$FFBUILD_PREFIX"

View file

@ -1,19 +1,17 @@
#!/bin/bash #!/bin/bash
FONTCONFIG_SRC="https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.14.0.tar.xz" SCRIPT_REPO="https://gitlab.freedesktop.org/fontconfig/fontconfig.git"
SCRIPT_COMMIT="fd0753af88f746fd3d729bf6e1df08eefeeaa3ac"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
mkdir fc git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" fc
cd fc cd fc
wget "$FONTCONFIG_SRC" -O fc.tar.gz ./autogen.sh --noconf
tar xaf fc.tar.gz
rm fc.tar.gz
cd fontconfig*
local myconf=( local myconf=(
--prefix="$FFBUILD_PREFIX" --prefix="$FFBUILD_PREFIX"

View file

@ -1,18 +1,17 @@
#!/bin/bash #!/bin/bash
LAME_SRC="https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz/download" SCRIPT_REPO="https://svn.code.sf.net/p/lame/svn/trunk/lame"
SCRIPT_REV="6507"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
mkdir lame svn checkout "${SCRIPT_REPO}@${SCRIPT_REV}" lame
cd lame cd lame
wget -O lame.tar.gz "$LAME_SRC"
tar xaf lame.tar.gz autoreconf -i
rm lame.tar.gz
cd lame*
local myconf=( local myconf=(
--prefix="$FFBUILD_PREFIX" --prefix="$FFBUILD_PREFIX"
@ -22,6 +21,7 @@ ffbuild_dockerbuild() {
--disable-gtktest --disable-gtktest
--disable-cpml --disable-cpml
--disable-frontend --disable-frontend
--disable-decoder
) )
if [[ $TARGET == win* || $TARGET == linux* ]]; then if [[ $TARGET == win* || $TARGET == linux* ]]; then

View file

@ -1,18 +1,15 @@
#!/bin/bash #!/bin/bash
OAMR_SRC="https://sourceforge.net/projects/opencore-amr/files/opencore-amr/opencore-amr-0.1.5.tar.gz/download" SCRIPT_REPO="https://git.code.sf.net/p/opencore-amr/code"
SCRIPT_COMMIT="7ba9df63d310355f86cb594018fba999965c1388"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
mkdir opencore git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" opencore
cd opencore cd opencore
wget -O opencore.tar.gz "$OAMR_SRC"
tar xaf opencore.tar.gz
rm opencore.tar.gz
cd opencore*
autoreconf -i autoreconf -i

View file

@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
# https://sourceforge.net/p/soxr/code/ci/master/tree/
SCRIPT_REPO="https://git.code.sf.net/p/soxr/code" SCRIPT_REPO="https://git.code.sf.net/p/soxr/code"
SCRIPT_COMMIT="945b592b70470e29f917f4de89b4281fbbd540c0" SCRIPT_COMMIT="945b592b70470e29f917f4de89b4281fbbd540c0"

View file

@ -1,18 +1,18 @@
#!/bin/bash #!/bin/bash
TWOLAME_SRC="https://sourceforge.net/projects/twolame/files/twolame/0.4.0/twolame-0.4.0.tar.gz/download" SCRIPT_REPO="https://github.com/njh/twolame.git"
SCRIPT_COMMIT="90b694b6125dbe23a346bd5607a7fb63ad2785dc"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
mkdir twolame git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" twolame
cd twolame cd twolame
wget -O twolame.tar.gz "$TWOLAME_SRC"
tar xaf twolame.tar.gz NOCONFIGURE=1 ./autogen.sh
rm twolame.tar.gz touch doc/twolame.1
cd twolame*
local myconf=( local myconf=(
--prefix="$FFBUILD_PREFIX" --prefix="$FFBUILD_PREFIX"

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
SCRIPT_REPO="https://github.com/google/shaderc.git" SCRIPT_REPO="https://github.com/google/shaderc.git"
SCRIPT_COMMIT="7e2cfcf2b75c245fa3ceaf2e276180cbf8f107ea" SCRIPT_COMMIT="a0a247d09229669d19b268eb8051eeda880449c1"
ffbuild_enabled() { ffbuild_enabled() {
[[ $ADDINS_STR == *4.4* ]] && return -1 [[ $ADDINS_STR == *4.4* ]] && return -1

View file

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
XVID_SRC="https://downloads.xvid.com/downloads/xvidcore-1.3.7.tar.gz" SCRIPT_REPO="http://svn.xvid.org/trunk/xvidcore"
SCRIPT_REV="2197"
ffbuild_enabled() { ffbuild_enabled() {
[[ $VARIANT == lgpl* ]] && return -1 [[ $VARIANT == lgpl* ]] && return -1
@ -8,12 +9,8 @@ ffbuild_enabled() {
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
mkdir xvid svn checkout --username "anonymous" --password "" "${SCRIPT_REPO}@${SCRIPT_REV}" xvid
cd xvid cd xvid
wget -O xvid.tar.gz "$XVID_SRC"
tar xaf xvid.tar.gz
rm xvid.tar.gz
cd xvid*
cd build/generic cd build/generic