Date: Saturday, December 25, 2021 @ 12:37:05 Author: dbermond Revision: 1083602
upgpkg: libjxl 0.6.1-2: disable LTO and implement FS#73072 LTO need to be disabled for the time being in packages that are built with clang and ships static libraries[1][2]. [1] https://archlinux.org/todo/lto-fat-objects/ [2] https://lists.archlinux.org/pipermail/arch-dev-public/2021-December/030601.html Modified: libjxl/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-12-25 12:36:49 UTC (rev 1083601) +++ PKGBUILD 2021-12-25 12:37:05 UTC (rev 1083602) @@ -3,7 +3,7 @@ pkgbase=libjxl pkgname=('libjxl' 'libjxl-doc') pkgver=0.6.1 -pkgrel=1 +pkgrel=2 pkgdesc='JPEG XL image format reference implementation' arch=('x86_64') url='https://jpeg.org/jpegxl/' @@ -12,6 +12,7 @@ 'gperftools' 'libjpeg-turbo' 'libpng' 'openexr' 'gtest' 'java-environment' 'python' 'asciidoc' 'doxygen' 'graphviz' 'xdg-utils' 'highway') +options=('!lto') source=("git+https://github.com/libjxl/libjxl.git#tag=v${pkgver}" 'git+https://github.com/google/brotli.git' 'git+https://github.com/lvandeve/lodepng.git' @@ -66,15 +67,10 @@ } package_libjxl() { - depends=('brotli') + depends=('brotli' 'giflib' 'gperftools' 'libjpeg-turbo' 'libpng' 'openexr') optdepends=('gdk-pixbuf2: for gdk-pixbuf loader' - 'giflib: for CLI tools' 'gimp: for gimp plugin' - 'gperftools: for CLI tools' - 'java-runtime: for JNI bindings' - 'libjpeg-turbo: for CLI tools' - 'libpng: for CLI tools' - 'openexr: for CLI tools') + 'java-runtime: for JNI bindings') provides=('libjxl.so' 'libjxl_threads.so') make -C build DESTDIR="$pkgdir" install
