--- /dev/null
+--- aom-3.0.0/examples/analyzer.cc.orig 2021-04-24 08:09:35.000000000 +0200
++++ aom-3.0.0/examples/analyzer.cc 2021-04-24 09:19:33.554918811 +0200
+@@ -39,6 +39,7 @@
+
+ AvxVideoReader *reader;
+ const AvxVideoInfo *info;
++ aom_codec_iface_t *decoder;
+
+ insp_frame_data frame_data;
+
Summary: Royalty-free next-generation video format
Summary(pl.UTF-8): Format wideo nowej generacji bez opłat licencyjnych
Name: aom
-Version: 2.0.2
+Version: 3.0.0
Release: 1
License: BSD
Group: Libraries
# tarball is recreated with different md5 on each download
#Source0: https://aomedia.googlesource.com/aom/+archive/v%{version}.tar.gz?fake=/%{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
-# Source0-md5: b7d3f2b146569cbb7bcadf19bc173000
+# Source0-md5: 541a828f0d933e9d086c976fe1bb6374
+Patch0: %{name}-examples.patch
URL: https://aomedia.org/
-BuildRequires: cmake >= 3.5
-BuildRequires: doxygen
+BuildRequires: cmake >= 3.6
+BuildRequires: doxygen >= 1:1.8.10
BuildRequires: graphviz
BuildRequires: libstdc++-devel
BuildRequires: rpm-build >= 4.6
%prep
%setup -qc
+%patch0 -p1
%build
install -d builddir
%attr(755,root,root) %{_bindir}/aomdec
%attr(755,root,root) %{_bindir}/aomenc
%attr(755,root,root) %{_libdir}/libaom.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libaom.so.2
+%attr(755,root,root) %ghost %{_libdir}/libaom.so.3
%files devel
%defattr(644,root,root,755)
%files apidocs
%defattr(644,root,root,755)
-%doc builddir/docs/html/*
+%doc builddir/docs/html/*.{css,html,js,png}
%if %{with wxwidgets}
%files gui