Accepting request 1198660 from graphics

- Update libjxl.spec:
  Add compiler condition to fix SLE-15-SP7 ppc64le build env.
  (bsc#1229831)

OBS-URL: https://build.opensuse.org/request/show/1198660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjxl?expand=0&rev=19
This commit is contained in:
Ana Guerrero 2024-09-05 13:46:13 +00:00 committed by Git OBS Bridge
commit 50723058e4
4 changed files with 23 additions and 1 deletions

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1725435714
commit: 805ed64ff6380a7813ecab1474879bc2f84a519eeda6b4974e69ec85e36d5751
url: https://src.opensuse.org/jengelh/libjxl
revision: master

3
build.specials.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81712f13ede9f7fdfdca8dad21a2ce21dfc01134b2db43c6013e312bee234094
size 256

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 30 11:16:35 UTC 2024 - Cliff Zhao <qzhao@suse.com>
- Update libjxl.spec:
Add compiler condition to fix SLE-15-SP7 ppc64le build env.
(bsc#1229831)
-------------------------------------------------------------------
Sat Jun 29 03:56:34 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,5 +1,5 @@
#
# spec file for package libjxl
# spec file for package libjxl-gtk
#
# Copyright (c) 2024 SUSE LLC
#
@ -53,6 +53,9 @@ BuildRequires: pkgconfig(libhwy) >= 1.0.7
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libwebp)
%if 0%{?sle_version} == 150700
BuildRequires: gcc10-c++
%endif
%{?suse_build_hwcaps_libs}
%if %{with gtk}
Provides: bundled(skcms) = 0
@ -117,6 +120,11 @@ for example, on file-browsers.
mv skcms third_party/
%build
%if 0%{?sle_version} == 150700
export CC=gcc-10
export CXX=g++-10
%endif
%cmake -DJPEGXL_FORCE_SYSTEM_HWY=ON -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
-DJPEGXL_FORCE_SYSTEM_LCMS2=OFF -DBUILD_TESTING=OFF \
%if %{with gtk}