Merge pull request #7337 from RawTherapee/workflows-5.12

Upgrade libraries for AppImage
This commit is contained in:
Lawrence37 2025-03-28 22:20:48 -07:00 committed by GitHub
commit 75c04bdd1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 24 deletions

View File

@ -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')"

View File

@ -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'