Compare commits
33 Commits
Author | SHA1 | Date |
---|---|---|
|
d2a36694ac | |
|
deb6ac34d7 | |
|
74fe8c1c53 | |
|
0a18fc4c00 | |
|
8e684a6f1e | |
|
f926b019e8 | |
|
04e68c22f3 | |
|
fce50c3ca7 | |
|
764a8bd4e0 | |
|
ee784a334e | |
|
b2268f1483 | |
|
ce45f637de | |
|
3dd8c9f065 | |
|
86c17e6d04 | |
|
6b08a1112d | |
|
5e2c32c304 | |
|
e5ea9fec53 | |
|
b53103de55 | |
|
ab13f007ae | |
|
b85251cdd2 | |
|
2868dcffff | |
|
fd6b5a479f | |
|
309d41c007 | |
|
6f1a12d20d | |
|
d72ab6a44f | |
|
269edbe53f | |
|
69b7b3cfa5 | |
|
c0f09f6e9d | |
|
e181f84e09 | |
|
27b9d5b930 | |
|
3e1858b096 | |
|
d19e550a17 | |
|
3391bfb0e9 |
|
@ -5,3 +5,10 @@
|
||||||
/libavif-0.8.0.tar.gz
|
/libavif-0.8.0.tar.gz
|
||||||
/libavif-0.8.1.tar.gz
|
/libavif-0.8.1.tar.gz
|
||||||
/libavif-0.8.2.tar.gz
|
/libavif-0.8.2.tar.gz
|
||||||
|
/libavif-0.8.4.tar.gz
|
||||||
|
/libavif-0.9.0.tar.gz
|
||||||
|
/libavif-0.9.1.tar.gz
|
||||||
|
/libavif-0.9.2.tar.gz
|
||||||
|
/libavif-0.9.3.tar.gz
|
||||||
|
/libavif-0.10.1.tar.gz
|
||||||
|
/libavif-0.11.1.tar.gz
|
||||||
|
|
|
@ -0,0 +1,63 @@
|
||||||
|
* Sun Jun 13 13:40:21 CEST 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0.9.1-2
|
||||||
|
- Rebuilt for aom v3.1.1
|
||||||
|
|
||||||
|
* Sun May 23 19:44:09 CEST 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0.9.1-1
|
||||||
|
- Update to 0.9.1
|
||||||
|
- Close: rhbz#1937556
|
||||||
|
|
||||||
|
* Mon Mar 15 2021 Andreas Schneider <asn@redhat.com> - 0.9.0-1
|
||||||
|
- Update to version 0.9.0
|
||||||
|
|
||||||
|
* Wed Mar 10 2021 Leigh Scott <leigh123linux@gmail.com> - 0.8.4-5
|
||||||
|
- Build with aom
|
||||||
|
|
||||||
|
* Wed Mar 10 2021 Leigh Scott <leigh123linux@gmail.com> - 0.8.4-4
|
||||||
|
- Build without aom for new vmaf version
|
||||||
|
|
||||||
|
* Sat Feb 20 2021 Andreas Schneider <asn@redhat.com> - 0.8.4-4
|
||||||
|
- Build release with debug info
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 14 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.4-2
|
||||||
|
- Rebuild for dav1d SONAME bump
|
||||||
|
|
||||||
|
* Wed Dec 09 05:52:07 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.4-1
|
||||||
|
- Update to version 0.8.4
|
||||||
|
|
||||||
|
* Mon Oct 19 2020 Andreas Schneider <asn@redhat.com> - 0.8.2-1
|
||||||
|
- Update to version 0.8.2
|
||||||
|
https://github.com/AOMediaCodec/libavif/blob/master/CHANGELOG.md
|
||||||
|
|
||||||
|
* Thu Aug 06 22:14:02 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.1-1
|
||||||
|
- Update to 0.8.1
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 22 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.7.3-1
|
||||||
|
- Update to 0.7.3
|
||||||
|
|
||||||
|
* Wed Apr 29 2020 Andreas Schneider <asn@redhat.com> - 0.7.2-1
|
||||||
|
- Update to version 0.7.2
|
||||||
|
* https://github.com/AOMediaCodec/libavif/blob/master/CHANGELOG.md
|
||||||
|
|
||||||
|
* Wed Apr 29 2020 Andreas Schneider <asn@redhat.com> - 0.7.1-1
|
||||||
|
- Update to version 0.7.1
|
||||||
|
|
||||||
|
* Wed Mar 04 2020 Andreas Schneider <asn@redhat.com> - 0.5.7-1
|
||||||
|
- Update to version 0.5.7
|
||||||
|
|
||||||
|
* Wed Mar 04 2020 Andreas Schneider <asn@redhat.com> - 0.5.3-2
|
||||||
|
- Fix License
|
||||||
|
|
||||||
|
* Sun Feb 16 2020 Andreas Schneider <asn@redhat.com> - 0.5.3-1
|
||||||
|
- Initial version
|
|
@ -0,0 +1,37 @@
|
||||||
|
From e279707a001c8f95f8a2bc51c0d19bf35bfc79ab Mon Sep 17 00:00:00 2001
|
||||||
|
From: Wan-Teh Chang <wtc@google.com>
|
||||||
|
Date: Fri, 11 Nov 2022 14:08:33 -0800
|
||||||
|
Subject: [PATCH] Build aviftest_helpers for are_images_equal.cc
|
||||||
|
|
||||||
|
If are_images_equal.cc is built, enable CXX and build the
|
||||||
|
aviftest_helpers library.
|
||||||
|
|
||||||
|
Fix the build failure when -DAVIF_BUILD_APPS=ON -DAVIF_BUILD_TESTS=ON
|
||||||
|
-DAVIF_ENABLE_GTEST=OFF is passed to the cmake command.
|
||||||
|
|
||||||
|
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
|
||||||
|
index 5af7ea560..632ba7a71 100644
|
||||||
|
--- a/tests/CMakeLists.txt
|
||||||
|
+++ b/tests/CMakeLists.txt
|
||||||
|
@@ -39,15 +39,17 @@ foreach(AVIFYUV_MODE limited rgb) # Modes drift and premultiply take more than 2
|
||||||
|
add_test(NAME avifyuv_${AVIFYUV_MODE} COMMAND avifyuv -m ${AVIFYUV_MODE})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
-################################################################################
|
||||||
|
-# GoogleTest
|
||||||
|
-
|
||||||
|
-if(AVIF_ENABLE_GTEST)
|
||||||
|
+if(AVIF_ENABLE_GTEST OR AVIF_BUILD_APPS)
|
||||||
|
enable_language(CXX)
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
add_library(aviftest_helpers OBJECT gtest/aviftest_helpers.cc)
|
||||||
|
target_link_libraries(aviftest_helpers avif_apps)
|
||||||
|
+endif()
|
||||||
|
|
||||||
|
+################################################################################
|
||||||
|
+# GoogleTest
|
||||||
|
+
|
||||||
|
+if(AVIF_ENABLE_GTEST)
|
||||||
|
if(AVIF_LOCAL_GTEST)
|
||||||
|
set(GTEST_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/ext/googletest/googletest/include)
|
||||||
|
set(GTEST_LIBRARIES
|
85
libavif.spec
85
libavif.spec
|
@ -1,19 +1,32 @@
|
||||||
# Force out of source build
|
# Build with aom
|
||||||
%undefine __cmake_in_source_build
|
|
||||||
|
|
||||||
%bcond_without aom
|
%bcond_without aom
|
||||||
|
# Build SVT-AV1
|
||||||
|
%bcond_without svt
|
||||||
|
%if (0%{?rhel} && 0%{?rhel} < 9) || 0%{?rhel} >= 10
|
||||||
|
%bcond_with rav1e
|
||||||
|
%else
|
||||||
|
%bcond_without rav1e
|
||||||
|
%endif
|
||||||
|
%if 0%{?rhel} >= 10
|
||||||
|
%bcond_with gtest
|
||||||
|
%else
|
||||||
|
%bcond_without gtest
|
||||||
|
%endif
|
||||||
|
%bcond_without check
|
||||||
|
|
||||||
Name: libavif
|
Name: libavif
|
||||||
Version: 0.8.2
|
Version: 0.11.1
|
||||||
Release: 1%{?dist}
|
Release: %autorelease
|
||||||
Summary: Library for encoding and decoding .avif files
|
Summary: Library for encoding and decoding .avif files
|
||||||
|
|
||||||
License: BSD
|
License: BSD-2-Clause
|
||||||
URL: https://github.com/AOMediaCodec/libavif
|
URL: https://github.com/AOMediaCodec/libavif
|
||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: libavif-0.11.1-build_tests_fix.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
%{?with_check:%{?with_gtest:BuildRequires: gtest-devel}}
|
||||||
BuildRequires: nasm
|
BuildRequires: nasm
|
||||||
%if %{with aom}
|
%if %{with aom}
|
||||||
BuildRequires: pkgconfig(aom)
|
BuildRequires: pkgconfig(aom)
|
||||||
|
@ -21,7 +34,8 @@ BuildRequires: pkgconfig(aom)
|
||||||
BuildRequires: pkgconfig(dav1d)
|
BuildRequires: pkgconfig(dav1d)
|
||||||
BuildRequires: pkgconfig(libjpeg)
|
BuildRequires: pkgconfig(libjpeg)
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
BuildRequires: pkgconfig(rav1e)
|
%{?with_rav1e:BuildRequires: pkgconfig(rav1e)}
|
||||||
|
%{?with_svt:BuildRequires: pkgconfig(SvtAv1Enc)}
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -51,7 +65,7 @@ This package holds the commandline tools to encode and decode AVIF files.
|
||||||
%package -n avif-pixbuf-loader
|
%package -n avif-pixbuf-loader
|
||||||
Summary: AVIF image loader for GTK+ applications
|
Summary: AVIF image loader for GTK+ applications
|
||||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
Requires: gdk-pixbuf2
|
Requires: gdk-pixbuf2%{?_isa}
|
||||||
|
|
||||||
%description -n avif-pixbuf-loader
|
%description -n avif-pixbuf-loader
|
||||||
Avif-pixbuf-loader contains a plugin to load AVIF images in GTK+ applications.
|
Avif-pixbuf-loader contains a plugin to load AVIF images in GTK+ applications.
|
||||||
|
@ -60,19 +74,30 @@ Avif-pixbuf-loader contains a plugin to load AVIF images in GTK+ applications.
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake %{?with_aom:-DAVIF_CODEC_AOM=1} \
|
%cmake \
|
||||||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
|
%{?with_aom:-DAVIF_CODEC_AOM=1} \
|
||||||
-DAVIF_CODEC_DAV1D=1 \
|
-DAVIF_CODEC_DAV1D=1 \
|
||||||
-DAVIF_CODEC_RAV1E=1 \
|
%{?with_rav1e:-DAVIF_CODEC_RAV1E=1} \
|
||||||
|
%{?with_svt:-DAVIF_CODEC_SVT=1} \
|
||||||
-DAVIF_BUILD_APPS=1 \
|
-DAVIF_BUILD_APPS=1 \
|
||||||
-DAVIF_BUILD_GDK_PIXBUF=1
|
-DAVIF_BUILD_GDK_PIXBUF=1 \
|
||||||
|
%{?with_check:-DAVIF_BUILD_TESTS=1 -DAVIF_ENABLE_GTEST=%{with gtest}}
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
|
%check
|
||||||
|
%ctest
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/libavif.so.*
|
# Do not glob the soname
|
||||||
|
%{_libdir}/libavif.so.15*
|
||||||
|
%{_datadir}/thumbnailers/avif.thumbnailer
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libavif.so
|
%{_libdir}/libavif.so
|
||||||
|
@ -89,38 +114,4 @@ Avif-pixbuf-loader contains a plugin to load AVIF images in GTK+ applications.
|
||||||
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-avif.so
|
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-avif.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Oct 19 2020 Andreas Schneider <asn@redhat.com> - 0.8.2-1
|
%autochangelog
|
||||||
- Update to version 0.8.2
|
|
||||||
https://github.com/AOMediaCodec/libavif/blob/master/CHANGELOG.md
|
|
||||||
|
|
||||||
* Thu Aug 06 22:14:02 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.1-1
|
|
||||||
- Update to 0.8.1
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri May 22 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.7.3-1
|
|
||||||
- Update to 0.7.3
|
|
||||||
|
|
||||||
* Wed Apr 29 2020 Andreas Schneider <asn@redhat.com> - 0.7.2-1
|
|
||||||
- Update to version 0.7.2
|
|
||||||
* https://github.com/AOMediaCodec/libavif/blob/master/CHANGELOG.md
|
|
||||||
|
|
||||||
* Wed Apr 29 2020 Andreas Schneider <asn@redhat.com> - 0.7.1-1
|
|
||||||
- Update to version 0.7.1
|
|
||||||
|
|
||||||
* Wed Mar 04 2020 Andreas Schneider <asn@redhat.com> - 0.5.7-1
|
|
||||||
- Update to version 0.5.7
|
|
||||||
|
|
||||||
* Wed Mar 04 2020 Andreas Schneider <asn@redhat.com> - 0.5.3-2
|
|
||||||
- Fix License
|
|
||||||
|
|
||||||
* Sun Feb 16 2020 Andreas Schneider <asn@redhat.com> - 0.5.3-1
|
|
||||||
- Initial version
|
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
SHA512 (libavif-0.8.2.tar.gz) = 51034084b5a508763653e16512298c3ad57c07022327cf42c9e12728ac30e102c69dc43d6569cb39ee4a63cb81a98947b72201373d3a909b3f1b2f6f59aaa433
|
SHA512 (libavif-0.11.1.tar.gz) = 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c
|
||||||
|
|
Loading…
Reference in New Issue