Update dependencies for AppImage workflow
Upgrade the runner from Ubuntu 20.04 to 22.04. Upgrade exiv2 from v0.28.3 to v0.28.5. Upgrade libjxl from 0.10.3 to 0.11.1. Use the system librsvg2.
This commit is contained in:
parent
5f7cea0bcb
commit
2976b6f69b
26
.github/workflows/appimage.yml
vendored
26
.github/workflows/appimage.yml
vendored
@ -19,7 +19,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
strategy:
|
strategy:
|
||||||
@ -54,38 +54,18 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Exiv2
|
- name: Install Exiv2
|
||||||
run: |
|
run: |
|
||||||
EXIV2_VERSION='v0.28.3'
|
EXIV2_VERSION='v0.28.5'
|
||||||
echo "Cloning Exiv2 $EXIV2_VERSION."
|
echo "Cloning Exiv2 $EXIV2_VERSION."
|
||||||
git clone --depth 1 --branch "$EXIV2_VERSION" https://github.com/Exiv2/exiv2.git ext/exiv2
|
git clone --depth 1 --branch "$EXIV2_VERSION" https://github.com/Exiv2/exiv2.git ext/exiv2
|
||||||
|
|
||||||
echo "Configuring build."
|
echo "Configuring build."
|
||||||
mkdir ext/exiv2/build
|
mkdir ext/exiv2/build
|
||||||
cd ext/exiv2/build
|
cd ext/exiv2/build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DEXIV2_ENABLE_BMFF=ON ..
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
|
||||||
echo "Building and installing."
|
echo "Building and installing."
|
||||||
sudo make -j$(nproc) install
|
sudo make -j$(nproc) install
|
||||||
|
|
||||||
- name: Install Librsvg required min. version
|
|
||||||
# Required min. version is not available for Ubuntu 20.04 LTS (but is for 22.04 LTS) so needs to be built manually
|
|
||||||
run: |
|
|
||||||
LIBRSVG2_VERSION='2.52.2'
|
|
||||||
echo "Cloning Librsvg2 $LIBRSVG2_VERSION."
|
|
||||||
git clone --depth 1 --branch "$LIBRSVG2_VERSION" https://gitlab.gnome.org/GNOME/librsvg.git ext/librsvg2
|
|
||||||
|
|
||||||
echo "Installing required dependencies with apt."
|
|
||||||
DEBIAN_FRONTEND=noninteractive sudo apt install -y rustc cargo gtk-doc-tools libgirepository1.0-dev
|
|
||||||
|
|
||||||
echo "Updating PATH."
|
|
||||||
export PATH="$PATH:/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0"
|
|
||||||
|
|
||||||
echo "Configuring build."
|
|
||||||
cd ext/librsvg2
|
|
||||||
sh autogen.sh
|
|
||||||
|
|
||||||
echo "Building and installing."
|
|
||||||
sudo make install
|
|
||||||
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
run: |
|
run: |
|
||||||
export REF_NAME_FILTERED="$(echo '${{github.ref_name}}' | sed 's/[^A-z0-9_.-]//g')"
|
export REF_NAME_FILTERED="$(echo '${{github.ref_name}}' | sed 's/[^A-z0-9_.-]//g')"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
_pkgname="libjxl"
|
_pkgname="libjxl"
|
||||||
pkgname="$_pkgname"
|
pkgname="$_pkgname"
|
||||||
pkgver='0.10.3'
|
pkgver='0.11.1'
|
||||||
pkgrel='1'
|
pkgrel='1'
|
||||||
pkgdesc='JPEG XL image format reference implementation'
|
pkgdesc='JPEG XL image format reference implementation'
|
||||||
url='https://github.com/libjxl/libjxl'
|
url='https://github.com/libjxl/libjxl'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user