Accepting request 1200778 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1200778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libavif?expand=0&rev=26
This commit is contained in:
Ana Guerrero 2024-09-15 10:33:10 +00:00 committed by Git OBS Bridge
commit 38790aeec0
2 changed files with 7 additions and 16 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 10 10:31:03 UTC 2024 - Carsten Ziepke <kieltux@gmail.com>
- Enable building with aom and libyuv for Leap
-------------------------------------------------------------------
Sat Aug 31 15:13:53 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -19,13 +19,6 @@
# Also update baselibs.conf if you bump the version
%global lib_soversion 16
%global lib_name libavif%{lib_soversion}
%if 0%{?suse_version} >= 1550
%bcond_without aom
%bcond_without yuv
%else
%bcond_with aom
%bcond_with yuv
%endif
Name: libavif
Version: 1.1.1
Release: 0
@ -39,19 +32,15 @@ BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: libjpeg8-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(aom) >= 2.0.0
BuildRequires: pkgconfig(dav1d)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(libpng) >= 1.6.32
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(rav1e) >= 0.5.0
%if %{with aom}
BuildRequires: pkgconfig(aom) >= 2.0.0
%endif
%if %{with yuv}
BuildRequires: pkgconfig(libyuv)
%endif
BuildRequires: pkgconfig(rav1e) >= 0.5.0
%description
This library aims to be a friendly, portable C implementation of the AV1 Image
@ -120,9 +109,6 @@ This package holds the development files for libavif.
-DAVIF_LIBXML2=SYSTEM \
-DAVIF_LIBYUV=SYSTEM \
-DAVIF_ZLIBPNG=SYSTEM \
%if %{with aom}
-DAVIF_CODEC_AOM:BOOL=ON \
%endif
-DAVIF_BUILD_APPS:BOOL=ON \
-DAVIF_BUILD_EXAMPLES:BOOL=ON \
-DAVIF_BUILD_GDK_PIXBUF=ON