From d73e4d9a983b9df1439fd2dcdbebd14146a62de7 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 14 Feb 2026 21:32:49 +0200 Subject: [PATCH] Fix dependencies --- pkg.info | 11 +++++++---- source.sh | 7 +++++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/pkg.info b/pkg.info index d33f509..a7424e2 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: libjxl description: JPEG XL image format reference implementation version: 0.11.2 -revision: 1 +revision: 2 url: https://jpeg.org/jpegxl/ license: BSD-3-Clause maintainers: @@ -11,15 +11,18 @@ type: source depends: - brotli - giflib + - gperftools - highway - libjpeg-turbo - libpng optional_depends: - - gdk-pixbuf - - jdk + - jre:For JNI bindings make_depends: + - asciidoc - cmake - - gdk-pixbuf + - doxygen + - graphviz + - googletest - jdk - python3 - xdg-utils diff --git a/source.sh b/source.sh index 6841323..ba8ab3a 100644 --- a/source.sh +++ b/source.sh @@ -16,6 +16,13 @@ build() { -DJPEGXL_ENABLE_PLUGINS=ON \ -DJPEGXL_INSTALL_JARDIR="/usr/share/java" cmake --build build + make -C build doc +} + +# The check function is executed in the source directory +# This function is used to run tests to verify the package has been compiled correctly +check() { + ctest --test-dir build --output-on-failure } # The package function is executed in the source directory