forked from pool/libavif
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:
commit
38790aeec0
@ -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>
|
Sat Aug 31 15:13:53 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
18
libavif.spec
18
libavif.spec
@ -19,13 +19,6 @@
|
|||||||
# Also update baselibs.conf if you bump the version
|
# Also update baselibs.conf if you bump the version
|
||||||
%global lib_soversion 16
|
%global lib_soversion 16
|
||||||
%global lib_name libavif%{lib_soversion}
|
%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
|
Name: libavif
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -39,19 +32,15 @@ BuildRequires: c++_compiler
|
|||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libjpeg8-devel
|
BuildRequires: libjpeg8-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(aom) >= 2.0.0
|
||||||
BuildRequires: pkgconfig(dav1d)
|
BuildRequires: pkgconfig(dav1d)
|
||||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gobject-2.0)
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
BuildRequires: pkgconfig(libpng) >= 1.6.32
|
BuildRequires: pkgconfig(libpng) >= 1.6.32
|
||||||
BuildRequires: pkgconfig(libwebp)
|
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)
|
BuildRequires: pkgconfig(libyuv)
|
||||||
%endif
|
BuildRequires: pkgconfig(rav1e) >= 0.5.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library aims to be a friendly, portable C implementation of the AV1 Image
|
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_LIBXML2=SYSTEM \
|
||||||
-DAVIF_LIBYUV=SYSTEM \
|
-DAVIF_LIBYUV=SYSTEM \
|
||||||
-DAVIF_ZLIBPNG=SYSTEM \
|
-DAVIF_ZLIBPNG=SYSTEM \
|
||||||
%if %{with aom}
|
|
||||||
-DAVIF_CODEC_AOM:BOOL=ON \
|
|
||||||
%endif
|
|
||||||
-DAVIF_BUILD_APPS:BOOL=ON \
|
-DAVIF_BUILD_APPS:BOOL=ON \
|
||||||
-DAVIF_BUILD_EXAMPLES:BOOL=ON \
|
-DAVIF_BUILD_EXAMPLES:BOOL=ON \
|
||||||
-DAVIF_BUILD_GDK_PIXBUF=ON
|
-DAVIF_BUILD_GDK_PIXBUF=ON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user