diff --git a/baselibs.conf b/baselibs.conf index ccd4ea6..1009a51 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libavif13 +libavif14 diff --git a/libavif-0.10.0.tar.gz b/libavif-0.10.0.tar.gz new file mode 100644 index 0000000..971f254 --- /dev/null +++ b/libavif-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d289e5029cb3853630ca85716b25b5fb9cdec51f8bd537b05f43b3325b480ab0 +size 2085624 diff --git a/libavif-0.9.3.tar.gz b/libavif-0.9.3.tar.gz deleted file mode 100644 index 0befa3e..0000000 --- a/libavif-0.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bcd9a1f57f982a9615eb7e2faf87236dc88eb1d0c886f3471c7440ead605060d -size 2000521 diff --git a/libavif.changes b/libavif.changes index 5f07515..d603e17 100644 --- a/libavif.changes +++ b/libavif.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Apr 8 15:49:30 UTC 2022 - Andreas Schneider + +- Update to version 0.10.0 + * See https://github.com/AOMediaCodec/libavif/blob/v0.10.0/CHANGELOG.md + for a complete changelog or check the CHANGELOG.md in the doc directory. + +------------------------------------------------------------------- +Sat Dec 25 10:23:55 UTC 2021 - Andreas Schneider + +- Disable libaom and use rav1e by default + * As PHP 8.1 has AVIF support, use rav1e by default as it is more + secure being written in Rust. + ------------------------------------------------------------------- Thu Oct 21 07:56:31 UTC 2021 - Andreas Schneider diff --git a/libavif.spec b/libavif.spec index e5370d7..27460ac 100644 --- a/libavif.spec +++ b/libavif.spec @@ -1,7 +1,7 @@ # # spec file for package libavif # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,18 @@ # +%if 0%{?suse_version} >= 1550 %bcond_without aom +%else +%bcond_with aom +%endif # Also update baselibs.conf if you bump the version -%define lib_name libavif13 +%global lib_soversion 14 +%global lib_name libavif%{lib_soversion} Name: libavif -Version: 0.9.3 +Version: 0.10.0 Release: 0 Summary: Library for encoding and decoding .avif files License: BSD-2-Clause @@ -39,7 +44,7 @@ BuildRequires: nasm BuildRequires: pkgconfig(dav1d) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(rav1e) +BuildRequires: pkgconfig(rav1e) >= 0.5.0 BuildRequires: pkgconfig(zlib) %if %{with aom} @@ -123,8 +128,8 @@ This package holds the development files for libavif. %files -n %{lib_name} %license LICENSE -%{_libdir}/libavif.so.13 -%{_libdir}/libavif.so.13.0.0 +%{_libdir}/libavif.so.%{lib_soversion} +%{_libdir}/libavif.so.%{lib_soversion}.0.0 %files devel %license LICENSE