Daniel Bermond pushed to branch main at Arch Linux / Packaging / Packages /
libjxl
Commits:
319af8e0 by Sebastian Wiesner at 2025-09-21T17:11:44+02:00
Run add-determinism over JAR
Clamp timestamps to $SOURCE_DATE_EPOCH and strip other metadata, to make
the package reproducible.
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -9,6 +9,7 @@ arch=('x86_64')
url='https://jpeg.org/jpegxl/'
license=('BSD-3-Clause')
makedepends=(
+ 'add-determinism'
'asciidoc'
'brotli'
'cmake'
@@ -109,6 +110,10 @@ package_libjxl() {
DESTDIR="$pkgdir" cmake --install build
install -D -m644 libjxl/{LICENSE,PATENTS} -t
"${pkgdir}/usr/share/licenses/${pkgname}"
mv "${pkgdir}/usr/share/java"/{org.jpeg.jpegxl,jpegxl}.jar
+
+ # Clamp timestamps to SOURCE_DATE_EPOCH and strip other metadata, to make
+ # the package reproducible.
+ add-det "${pkgdir}/usr/share/java"/jpegxl.jar
}
package_libjxl-doc() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libjxl/-/commit/319af8e08ecb3d714d17048b46210d7eb9e3cd84
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libjxl/-/commit/319af8e08ecb3d714d17048b46210d7eb9e3cd84
You're receiving this email because of your account on gitlab.archlinux.org.