commit 3aaa9b55d31e93ae6d791e1d4ce345ad518c519ba971f1cd0f18d08f5cff518e Author: Michael Vetter Date: Mon Jul 25 07:36:35 2022 +0000 Accepting request 990814 from home:jengelh:dev OBS-URL: https://build.opensuse.org/request/show/990814 OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..645180c --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + git + https://github.com/libjxl/libjxl + main + 39cb6666eeb6031d8e1df05ab156c1f08099b618 + 0.7~@TAG_OFFSET@.%h + third_party/brotli + disable + + + *.tar + xz + + + diff --git a/libjxl-0.7~779.f5d6e29.tar.xz b/libjxl-0.7~779.f5d6e29.tar.xz new file mode 100644 index 0000000..fc90101 --- /dev/null +++ b/libjxl-0.7~779.f5d6e29.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1964e366d8b674d0a94cbc78e9e6778d08632e01a3a88c1d23a86535c741114f +size 1116164 diff --git a/libjxl.changes b/libjxl.changes new file mode 100644 index 0000000..705c152 --- /dev/null +++ b/libjxl.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Jul 23 14:33:36 UTC 2022 - Jan Engelhardt + +- Initial package (version 0.7~779.f5d6e29) build.opensuse.org diff --git a/libjxl.spec b/libjxl.spec new file mode 100644 index 0000000..c92a16e --- /dev/null +++ b/libjxl.spec @@ -0,0 +1,97 @@ +# +# spec file for package libjxl +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: libjxl +%define lname libjxl0_7 +Version: 0.7~779.f5d6e29 +Release: 0 +Summary: JPEG XL reference implementation +License: LGPL-2.1-or-later +URL: https://jpegxl.info/ + +#Git-Clone: https://github.com/libjxl/libjxl +#Source: https://github.com/libjxl/libjxl/archive/refs/tags/v%version.tar.gz +Source: %name-%version.tar.xz +BuildRequires: c++_compiler +BuildRequires: cmake +BuildRequires: pkg-config +BuildRequires: pkgconfig(libhwy) +BuildRequires: pkgconfig(libbrotlicommon) +BuildRequires: pkgconfig(libbrotlidec) +BuildRequires: pkgconfig(libbrotlienc) +BuildRequires: pkgconfig(lcms2) + +%description +JPEG XL is a raster-graphics file format that supports both lossy and +lossless compression. + +This is the reference implementation of JPEG XL, with encoder and decoder. + +%package -n %lname +Summary: Library for encoding and decoding JPEG XL raster graphic images + +%description -n %lname +JPEG XL is a raster-graphics file format that supports both lossy and +lossless compression. + +%package devel +Summary: Development for libjxl, an en-/decoder for JPEG XL +Requires: %lname = %version + +%description devel +JPEG XL is a raster-graphics file format that supports both lossy and +lossless compression. + +This is the reference implementation of JPEG XL, with encoder and decoder. + +%package tools +Summary: Command-line utilities to convert from/to JPEG XL + +%description tools +Command-line utilities to convert from/to JPEG XL. + +%prep +%autosetup -p1 + +%build +%cmake -DJPEGXL_FORCE_SYSTEM_HWY=ON -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \ + -DJPEGXL_FORCE_SYSTEM_LCMS2=ON -DBUILD_TESTING=OFF \ + -DJPEGXL_ENABLE_PLUGINS=OFF -DJPEGXL_ENABLE_SKCMS=OFF \ + -DJPEGXL_ENABLE_SJPEG=OFF + +%install +%cmake_install +rm -fv %buildroot/%_libdir/*.a + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%_libdir/libjxl*.so.* + +%files tools +%_bindir/cjpeg_hdr +%_bindir/*xl* + +%files devel +%_includedir/jxl/ +%_libdir/libjxl.so +%_libdir/libjxl_threads.so +%_libdir/pkgconfig/*.pc + +%changelog