Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mantarimay
libjxl
libjxl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libjxl.spec of Package libjxl
# # spec file for package libjxl # # Copyright (c) 2023 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_10 Version: 0.8.2 Release: 0 Summary: JPEG XL reference implementation License: BSD-3-Clause URL: https://jpegxl.info/ #Git-Clone: https://github.com/libjxl/libjxl Source: libjxl-%{version}.tar.xz Source1: baselibs.conf BuildRequires: c++_compiler BuildRequires: cmake BuildRequires: xdg-utils BuildRequires: pkg-config BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libbrotlicommon) BuildRequires: pkgconfig(libbrotlidec) BuildRequires: pkgconfig(libbrotlienc) BuildRequires: pkgconfig(libhwy) >= 1.0 # Not vital, only for transcoding tools # feel free to disable for bootstrap builds BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(OpenEXR) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libavif) BuildRequires: giflib-devel %{?suse_build_hwcaps_libs} %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. %package -n gdk-pixbuf-loader-jxl Summary: JPEG XL plugin for gdk-pixbuf Requires: %lname = %version %description -n gdk-pixbuf-loader-jxl JPEG XL plugin for gdk-pixbuf. %prep %setup -qn libjxl-%{version} %build %cmake -DJPEGXL_FORCE_SYSTEM_HWY=ON -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \ -DJPEGXL_FORCE_SYSTEM_LCMS2=OFF -DBUILD_TESTING=OFF \ -DJPEGXL_ENABLE_PLUGINS=ON -DJPEGXL_ENABLE_SKCMS=ON \ -DJPEGXL_ENABLE_SJPEG=OFF %cmake_build %install %cmake_install rm -fv %buildroot/%_libdir/*.a %ldconfig_scriptlets -n %lname %post -n gdk-pixbuf-loader-jxl %{gdk_pixbuf_loader_post} %postun -n gdk-pixbuf-loader-jxl %{gdk_pixbuf_loader_postun} %files -n %lname %license LICENSE %_libdir/libjxl*.so.* %files -n gdk-pixbuf-loader-jxl %{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-jxl.so %{_datadir}/thumbnailers/ %{_datadir}/mime/packages/image-jxl.xml %files tools %_bindir/*jpegli %_bindir/*xl* %files devel %_includedir/jxl/ %_libdir/libjxl.so #_libdir/libjxl_extras_codec.so %_libdir/libjxl_cms.so %_libdir/libjxl_threads.so %_libdir/pkgconfig/*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor