Fix dependencies

This commit is contained in:
2026-02-14 21:32:49 +02:00
parent 4545a1c0a8
commit d73e4d9a98
2 changed files with 14 additions and 4 deletions
+7 -4
View File
@@ -1,7 +1,7 @@
name: libjxl name: libjxl
description: JPEG XL image format reference implementation description: JPEG XL image format reference implementation
version: 0.11.2 version: 0.11.2
revision: 1 revision: 2
url: https://jpeg.org/jpegxl/ url: https://jpeg.org/jpegxl/
license: BSD-3-Clause license: BSD-3-Clause
maintainers: maintainers:
@@ -11,15 +11,18 @@ type: source
depends: depends:
- brotli - brotli
- giflib - giflib
- gperftools
- highway - highway
- libjpeg-turbo - libjpeg-turbo
- libpng - libpng
optional_depends: optional_depends:
- gdk-pixbuf - jre:For JNI bindings
- jdk
make_depends: make_depends:
- asciidoc
- cmake - cmake
- gdk-pixbuf - doxygen
- graphviz
- googletest
- jdk - jdk
- python3 - python3
- xdg-utils - xdg-utils
+7
View File
@@ -16,6 +16,13 @@ build() {
-DJPEGXL_ENABLE_PLUGINS=ON \ -DJPEGXL_ENABLE_PLUGINS=ON \
-DJPEGXL_INSTALL_JARDIR="/usr/share/java" -DJPEGXL_INSTALL_JARDIR="/usr/share/java"
cmake --build build 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 # The package function is executed in the source directory