]> git.pld-linux.org Git - packages/aom.git/commitdiff
- updated to 3.0.0 (note: new soname) auto/th/aom-3.0.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 24 Apr 2021 20:00:43 +0000 (22:00 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 24 Apr 2021 20:00:43 +0000 (22:00 +0200)
- added examples patch (fix analyzer example after API changes)

aom-examples.patch [new file with mode: 0644]
aom.spec

diff --git a/aom-examples.patch b/aom-examples.patch
new file mode 100644 (file)
index 0000000..c88c8fd
--- /dev/null
@@ -0,0 +1,10 @@
+--- 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;
index 4b3c84173bf4ab8c04bb1621157c38374458c21a..a4754e54d6a8cde68015b4673118fb69b324abb1 100644 (file)
--- a/aom.spec
+++ b/aom.spec
@@ -5,7 +5,7 @@
 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
@@ -13,10 +13,11 @@ 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
@@ -104,6 +105,7 @@ Graficzny analizator formatu AOM.
 
 %prep
 %setup -qc
+%patch0 -p1
 
 %build
 install -d builddir
@@ -158,7 +160,7 @@ rm -rf $RPM_BUILD_ROOT
 %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)
@@ -172,7 +174,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files apidocs
 %defattr(644,root,root,755)
-%doc builddir/docs/html/*
+%doc builddir/docs/html/*.{css,html,js,png}
 
 %if %{with wxwidgets}
 %files gui
This page took 0.194316 seconds and 4 git commands to generate.