SHA256
1
0
forked from pool/libjxl

add _multibuild description

OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=27
This commit is contained in:
Jan Engelhardt 2023-09-21 14:07:16 +00:00 committed by Git OBS Bridge
parent 1a02eb904a
commit 2fc88990fe
2 changed files with 11 additions and 1 deletions

4
_multibuild Normal file
View File

@ -0,0 +1,4 @@
<multibuild>
<flavor>standard</flavor>
<flavor>gtk</flavor>
</multibuild>

View File

@ -18,7 +18,11 @@
Name: libjxl Name: libjxl
%define lname libjxl0_8 %define lname libjxl0_8
%bcond_without gtk %if "@BUILD_FLAVOR@" == "gtk"
%bcond_without gtk
%else
%bcond_with gtk
%endif
Version: 0.8.2 Version: 0.8.2
Release: 0 Release: 0
Summary: JPEG XL reference implementation Summary: JPEG XL reference implementation
@ -79,7 +83,9 @@ Command-line utilities to convert from/to JPEG XL.
%package -n gdk-pixbuf-loader-jxl %package -n gdk-pixbuf-loader-jxl
Summary: A gdk-pixbuf loader for JPEG-XL using libjxl Summary: A gdk-pixbuf loader for JPEG-XL using libjxl
Supplements: (%lname and gdk-pixbuf) Supplements: (%lname and gdk-pixbuf)
%if %{with gtk}
%gdk_pixbuf_loader_requires %gdk_pixbuf_loader_requires
%endif
%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.