Compare commits
No commits in common. "factory" and "devel" have entirely different histories.
3
libavif-1.0.4.tar.gz
Normal file
3
libavif-1.0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc56708c83a4b934a8af2b78f67f866ba2fb568605c7cf94312acf51ee57d146
|
||||
size 10575992
|
@ -1,8 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
18
libavif.spec
18
libavif.spec
@ -19,6 +19,13 @@
|
||||
# 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
|
||||
@ -32,15 +39,19 @@ 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(libyuv)
|
||||
BuildRequires: pkgconfig(rav1e) >= 0.5.0
|
||||
%if %{with aom}
|
||||
BuildRequires: pkgconfig(aom) >= 2.0.0
|
||||
%endif
|
||||
%if %{with yuv}
|
||||
BuildRequires: pkgconfig(libyuv)
|
||||
%endif
|
||||
|
||||
%description
|
||||
This library aims to be a friendly, portable C implementation of the AV1 Image
|
||||
@ -109,6 +120,9 @@ 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user