Add libjpeg-turbo build, add build_tag support

This commit is contained in:
Dmitry Maksyoma
2021-08-31 00:56:05 +12:00
parent 02c9581ef1
commit 51b8d6e19f
12 changed files with 154 additions and 15 deletions

View File

@@ -8,6 +8,11 @@ os=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
os_codename=$(lsb_release -cs)
os_dir="builder/build/${os_codename}"
if [ "$BUILD_TAG" = "+libjpeg-turbo_latest" ]; then
echo 'libjpeg 62 libjpeg-turbo (>= 2.1.1)' > debian/shlibs.local
trap 'rm -f debian/shlibs.local' EXIT
fi
dpkg-buildpackage -us -uc -b
mkdir -p "$os_dir"
cp ../*.deb "$os_dir"