forked from pool/libjxl
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
This commit is contained in:
commit
3aaa9b55d3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/libjxl/libjxl</param>
|
||||||
|
<param name="revision">main</param>
|
||||||
|
<param name="parent-tag">39cb6666eeb6031d8e1df05ab156c1f08099b618</param>
|
||||||
|
<param name="versionformat">0.7~@TAG_OFFSET@.%h</param>
|
||||||
|
<param name="exclude">third_party/brotli</param>
|
||||||
|
<param name="submodules">disable</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
3
libjxl-0.7~779.f5d6e29.tar.xz
Normal file
3
libjxl-0.7~779.f5d6e29.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1964e366d8b674d0a94cbc78e9e6778d08632e01a3a88c1d23a86535c741114f
|
||||||
|
size 1116164
|
4
libjxl.changes
Normal file
4
libjxl.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 23 14:33:36 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Initial package (version 0.7~779.f5d6e29) build.opensuse.org
|
97
libjxl.spec
Normal file
97
libjxl.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user