forked from jengelh/libjxl
Disable gimp plugin on SLFO, and re-add lcms for s390x
This commit is contained in:
parent
f8edeee226
commit
a137511cd9
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 10 21:34:13 UTC 2025 - Michael Gorse <mgorse@suse.com>
|
||||||
|
|
||||||
|
- Disable gimp plugin on SLFO. Gimp is currently unavailable there.
|
||||||
|
- Re-add lcms2 dependency for s390x. It is used instead of skcms
|
||||||
|
on big-endian architectures.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 26 20:55:18 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Tue Nov 26 20:55:18 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
14
libjxl.spec
14
libjxl.spec
@ -17,6 +17,11 @@
|
|||||||
|
|
||||||
|
|
||||||
%define lname libjxl0_11
|
%define lname libjxl0_11
|
||||||
|
%if "@BUILD_FLAVOR@" == "gtk" && 0%{?is_opensuse}
|
||||||
|
%bcond_without gimp
|
||||||
|
%else
|
||||||
|
%bcond_with gimp
|
||||||
|
%endif
|
||||||
%if "@BUILD_FLAVOR@" == "gtk"
|
%if "@BUILD_FLAVOR@" == "gtk"
|
||||||
Name: libjxl-gtk
|
Name: libjxl-gtk
|
||||||
%bcond_without gtk
|
%bcond_without gtk
|
||||||
@ -40,11 +45,16 @@ BuildRequires: cmake
|
|||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
%if %{with gtk}
|
%if %{with gtk}
|
||||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36
|
||||||
|
%if %{with gimp}
|
||||||
BuildRequires: pkgconfig(gimp-2.0) >= 2.10
|
BuildRequires: pkgconfig(gimp-2.0) >= 2.10
|
||||||
BuildRequires: pkgconfig(gimpui-2.0) >= 2.10
|
BuildRequires: pkgconfig(gimpui-2.0) >= 2.10
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
BuildRequires: giflib-devel >= 5.1
|
BuildRequires: giflib-devel >= 5.1
|
||||||
BuildRequires: pkgconfig(OpenEXR)
|
BuildRequires: pkgconfig(OpenEXR)
|
||||||
|
%ifarch s390x
|
||||||
|
BuildRequires: pkgconfig(lcms2) >= 2.12
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(libavif)
|
BuildRequires: pkgconfig(libavif)
|
||||||
BuildRequires: pkgconfig(libbrotlicommon)
|
BuildRequires: pkgconfig(libbrotlicommon)
|
||||||
BuildRequires: pkgconfig(libbrotlidec)
|
BuildRequires: pkgconfig(libbrotlidec)
|
||||||
@ -100,12 +110,14 @@ Supplements: (%lname and gdk-pixbuf)
|
|||||||
%description -n gdk-pixbuf-loader-jxl
|
%description -n gdk-pixbuf-loader-jxl
|
||||||
This package provides a libjxl-based gdk-pixbuf loader for JPEG XL files.
|
This package provides a libjxl-based gdk-pixbuf loader for JPEG XL files.
|
||||||
|
|
||||||
|
%if %{with gimp}
|
||||||
%package -n gimp-plugin-jxl
|
%package -n gimp-plugin-jxl
|
||||||
Summary: Plugin for GIMP to enable working with JPEG XL files
|
Summary: Plugin for GIMP to enable working with JPEG XL files
|
||||||
Supplements: (%lname and gimp)
|
Supplements: (%lname and gimp)
|
||||||
|
|
||||||
%description -n gimp-plugin-jxl
|
%description -n gimp-plugin-jxl
|
||||||
This package provides a plugin for GIMP 2.0 to enable it to work with JPEG XL files.
|
This package provides a plugin for GIMP 2.0 to enable it to work with JPEG XL files.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package -n jxl-thumbnailer
|
%package -n jxl-thumbnailer
|
||||||
Summary: Generate thumbnails for JPEG XL files
|
Summary: Generate thumbnails for JPEG XL files
|
||||||
@ -172,8 +184,10 @@ rm -Rf "$b/%_libdir"/libjxl* "$b/%_bindir" "$b/%_includedir" "$b/%_libdir/pkgcon
|
|||||||
%_datadir/mime/packages/*
|
%_datadir/mime/packages/*
|
||||||
%_libdir/gdk-pixbuf-2.0/*/loaders/libpixbufloader-jxl.so
|
%_libdir/gdk-pixbuf-2.0/*/loaders/libpixbufloader-jxl.so
|
||||||
|
|
||||||
|
%if %{with gimp}
|
||||||
%files -n gimp-plugin-jxl
|
%files -n gimp-plugin-jxl
|
||||||
%_libdir/gimp/2.0/plug-ins/file-jxl/
|
%_libdir/gimp/2.0/plug-ins/file-jxl/
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n jxl-thumbnailer
|
%files -n jxl-thumbnailer
|
||||||
%dir %_datadir/thumbnailers
|
%dir %_datadir/thumbnailers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user