public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libavif] epel9-next: Update to 0.8.0
@ 2026-07-14 21:39 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-14 21:39 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libavif
            Branch : epel9-next
            Commit : 05f1fe9d7f671c77164872068b4caf6eb130f10c
            Author : Robert-André Mauchin <zebob.m@gmail.com>
            Date   : 2020-08-05T21:18:48+02:00
            Stats  : +43/-31 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/libavif/c/05f1fe9d7f671c77164872068b4caf6eb130f10c?branch=epel9-next

            Log:
            Update to 0.8.0

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>

---
diff --git a/.gitignore b/.gitignore
index f32d349..d8f7327 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /libavif-0.7.1.tar.gz
 /libavif-0.7.2.tar.gz
 /libavif-0.7.3.tar.gz
+/libavif-0.8.0.tar.gz

diff --git a/libavif.spec b/libavif.spec
index a696cbd..52d282f 100644
--- a/libavif.spec
+++ b/libavif.spec
@@ -1,24 +1,30 @@
-%bcond_with aom
+# Force out of source build
+%undefine __cmake_in_source_build
 
-Name:           libavif
-Version:        0.7.3
-Release:        3%{?dist}
-Summary:        Library for encoding and decoding .avif files
-License:        BSD
-Url:            https://github.com/AOMediaCodec/libavif
+%bcond_without aom
 
-Source0:        https://github.com/AOMediaCodec/libavif/archive/v%{version}/%{name}-%{version}.tar.gz
+Name:       libavif
+Version:    0.8.0
+Release:    1%{?dist}
+Summary:    Library for encoding and decoding .avif files
+
+License:    BSD
+URL:        https://github.com/AOMediaCodec/libavif
+Source0:    %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+# Patches to fix avif-pixbuf-loader bugs in latest release
+Patch0:     https://github.com/AOMediaCodec/libavif/commit/9759bc7346802faa8ec96bb38456d8b8170580aa.patch#/0001-Fix-a-crash-in-the-gdk-pixbuf-loader-when-error-is-NULL.patch
+Patch1:     https://github.com/AOMediaCodec/libavif/commit/61ec9835d0a0110e48346cb98ed095e29be19077.patch#/0002-Fix-a-crash-in-the-gdk-pixbuf-loader-removed-unnecessary-asserts.patch
 
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  nasm
-BuildRequires:  pkgconfig(dav1d)
 %if %{with aom}
 BuildRequires:  pkgconfig(aom)
 %endif
-BuildRequires:  pkgconfig(rav1e)
+BuildRequires:  pkgconfig(dav1d)
 BuildRequires:  pkgconfig(libjpeg)
 BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(rav1e)
 BuildRequires:  pkgconfig(zlib)
 
 %description
@@ -28,14 +34,14 @@ File Format, as described here:
 https://aomediacodec.github.io/av1-avif/
 
 %package devel
-Requires:       %{name} = %{version}-%{release}
 Summary:        Development files for libavif
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 %description devel
 This package holds the development files for libavif.
 
 %package tools
-Summary:        Tools for libavif
+Summary:        Tools to encode and decode AVIF files
 
 %description tools
 This library aims to be a friendly, portable C implementation of the AV1 Image
@@ -43,35 +49,35 @@ File Format, as described here:
 
 https://aomediacodec.github.io/av1-avif/
 
-This package holds the commandline tools for libavif.
+This package holds the commandline tools to encode and decode AVIF files.
+
+%package     -n avif-pixbuf-loader
+Summary:        AVIF image loader for GTK+ applications
+BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
+Requires:       gdk-pixbuf2
+
+%description -n avif-pixbuf-loader
+Avif-pixbuf-loader contains a plugin to load AVIF images in GTK+ applications.
 
 %prep
 %autosetup -p1
 
 %build
-mkdir -p obj
-pushd obj
-%cmake \
-    -DAVIF_CODEC_RAV1E:BOOL=ON \
-    -DAVIF_CODEC_DAV1D:BOOL=ON \
-    %if %{with aom}
-    -DAVIF_CODEC_AOM:BOOL=ON \
-    %endif
-    -DAVIF_BUILD_APPS:BOOL=ON \
-    -DAVIF_BUILD_EXAMPLES:BOOL=ON \
-    ..
-%make_build
-popd
+%cmake  %{?with_aom:-DAVIF_CODEC_AOM=1} \
+        -DAVIF_CODEC_DAV1D=1 \
+        -DAVIF_CODEC_RAV1E=1 \
+        -DAVIF_BUILD_APPS=1 \
+        -DAVIF_BUILD_GDK_PIXBUF=1
+%cmake_build
 
 %install
-%make_install -C obj
+%cmake_install
 
 %files
 %license LICENSE
-%{_libdir}/libavif.so.*
+%{_libdir}/libavif.so.5*
 
 %files devel
-%license LICENSE
 %{_libdir}/libavif.so
 %{_includedir}/avif/
 %{_libdir}/cmake/libavif/
@@ -79,11 +85,16 @@ popd
 
 %files tools
 %doc CHANGELOG.md README.md
-%license LICENSE
 %{_bindir}/avifdec
 %{_bindir}/avifenc
 
+%files -n avif-pixbuf-loader
+%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-avif.so
+
 %changelog
+* Wed Aug 05 21:17:23 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.0-1
+- Update to 0.8.0
+
 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-3
 - Second attempt - Rebuilt for
   https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

diff --git a/sources b/sources
index 213a6a9..76dd952 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libavif-0.7.3.tar.gz) = b8928755ee39964fd9d9575fdb393ffee0ac3597c1d6f6048e049e6c328d1e82febdb32bfa0b22e16a2fb73ff6cd1ad4af7f63fc9baccea22716d941385c028d
+SHA512 (libavif-0.8.0.tar.gz) = 362f3c3f8005ad0bce3026282722b26685ba09986def1f410aef25a8fb2b2035b91d1465a26cc1e9ad1cee0ee88b4110e7c92eddbe09a9e39c6ed05ab04d2b9e

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-14 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 21:39 [rpms/libavif] epel9-next: Update to 0.8.0 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox