SHA256
1
0
forked from pool/libjxl

Accepting request 1237050 from graphics

- 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.

OBS-URL: https://build.opensuse.org/request/show/1237050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjxl?expand=0&rev=23
This commit is contained in:
Ana Guerrero 2025-01-14 15:21:10 +00:00 committed by Git OBS Bridge
commit cf425785ec
4 changed files with 22 additions and 3 deletions

View File

@ -1,4 +1,4 @@
mtime: 1733868365
commit: f8edeee22641f43b72f45d9bd91410deebf180416ee6fe78798a119d87595360
mtime: 1736604926
commit: 0cab574f27973c9eb4aa885d2073ff343a07b33a407ba8a92b1ba2e765a49f14
url: https://src.opensuse.org/jengelh/libjxl
revision: master

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87a966e700481bec573adaf2902d25462967f8b11c1e1ec5b930130ec0168f0e
oid sha256:ec3881ad1f1dd1df40a92c855bbb74d76f443715e3fe346586b373a193257647
size 256

View File

@ -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>

View File

@ -17,6 +17,11 @@
%define lname libjxl0_11
%if "@BUILD_FLAVOR@" == "gtk" && 0%{?is_opensuse}
%bcond_without gimp
%else
%bcond_with gimp
%endif
%if "@BUILD_FLAVOR@" == "gtk"
Name: libjxl-gtk
%bcond_without gtk
@ -40,11 +45,16 @@ BuildRequires: cmake
BuildRequires: pkg-config
%if %{with gtk}
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36
%if %{with gimp}
BuildRequires: pkgconfig(gimp-2.0) >= 2.10
BuildRequires: pkgconfig(gimpui-2.0) >= 2.10
%endif
%endif
BuildRequires: giflib-devel >= 5.1
BuildRequires: pkgconfig(OpenEXR)
%ifarch s390x
BuildRequires: pkgconfig(lcms2) >= 2.12
%endif
BuildRequires: pkgconfig(libavif)
BuildRequires: pkgconfig(libbrotlicommon)
BuildRequires: pkgconfig(libbrotlidec)
@ -172,8 +182,10 @@ rm -Rf "$b/%_libdir"/libjxl* "$b/%_bindir" "$b/%_includedir" "$b/%_libdir/pkgcon
%_datadir/mime/packages/*
%_libdir/gdk-pixbuf-2.0/*/loaders/libpixbufloader-jxl.so
%if %{with gimp}
%files -n gimp-plugin-jxl
%_libdir/gimp/2.0/plug-ins/file-jxl/
%endif
%files -n jxl-thumbnailer
%dir %_datadir/thumbnailers