community/libjxl to 0.6.1-2

This commit is contained in:
David Beauchamp 2021-12-25 11:30:47 -05:00
parent 4806df9814
commit 06396a18c6

View file

@ -6,7 +6,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/'
@ -15,6 +15,7 @@ makedepends=('git' 'cmake' 'clang' 'brotli' 'gdk-pixbuf2' 'giflib' 'gimp'
'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'
@ -75,15 +76,10 @@ check() {
}
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