Update to 2.0.0 (#1852847)

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
i9ce
Robert-André Mauchin 5 years ago
parent 7daacb94e9
commit 26113d9ca6
No known key found for this signature in database
GPG Key ID: F07E690B12A82D56

1
.gitignore vendored

@ -2,3 +2,4 @@
/aom-d0076f5.tar.gz /aom-d0076f5.tar.gz
/aom-cfd59e9.tar.gz /aom-cfd59e9.tar.gz
/aom-9666276.tar.gz /aom-9666276.tar.gz
/aom-bb35ba9.tar.gz

@ -1,16 +1,16 @@
%global sover 0 %global sover 2
# git describe # git describe
%global aom_version 1.0.0-2227-gcfd59e96a %global aom_version v2.0.0
# Use commit with updated changelog for correct versioning # Use commit with updated changelog for correct versioning
%global commit 9666276accea505cd14cbcb9e3f7ff5033da9172 %global commit bb35ba9148543f22ba7d8642e4fbd29ae301f5dc
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapshotdate 20190810 %global snapshotdate 20200701
%global prerelease 1 # %%global prerelease 1
Name: aom Name: aom
Version: 1.0.0 Version: 2.0.0
Release: 9.%{?prerelease:%{snapshotdate}git%{shortcommit}}%{?dist} Release: 1%{?prerelease:.%{snapshotdate}git%{shortcommit}}%{?dist}
Summary: Royalty-free next-generation video format Summary: Royalty-free next-generation video format
License: BSD License: BSD
@ -27,6 +27,9 @@ BuildRequires: perl-interpreter
BuildRequires: perl(Getopt::Long) BuildRequires: perl(Getopt::Long)
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: yasm BuildRequires: yasm
%ifarch x86_64
BuildRequires: pkgconfig(libvmaf)
%endif
Provides: av1 = %{version}-%{release} Provides: av1 = %{version}-%{release}
Requires: libaom%{?_isa} = %{version}-%{release} Requires: libaom%{?_isa} = %{version}-%{release}
@ -62,26 +65,31 @@ video format.
%prep %prep
%autosetup -p1 -c %{name}-%{commit} %autosetup -p1 -c %{name}-%{commit}
# Set GIT revision in version # Set GIT revision in version
sed -i 's@set(aom_version "")@set(aom_version "%{aom_version}")@' build/cmake/version.cmake sed -i 's@set(aom_version "")@set(aom_version "%{aom_version}")@' build/cmake/version.cmake
# Fix VMAF detection
sed -i 's@libvmaf\.a @@' CMakeLists.txt
%build %build
mkdir _build && cd _build %cmake3 -B _build -DENABLE_CCACHE=1 \
%cmake3 ../ -DENABLE_CCACHE=1 \
-DCMAKE_SKIP_RPATH=1 \ -DCMAKE_SKIP_RPATH=1 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
%ifarch %{arm}
-DAOM_NEON_INTRIN_FLAG=-mfpu=neon \
%endif
-DCONFIG_WEBM_IO=1 \ -DCONFIG_WEBM_IO=1 \
-DENABLE_DOCS=1 \ -DENABLE_DOCS=1 \
-DCONFIG_ANALYZER=0 \ -DCONFIG_ANALYZER=0 \
-DCONFIG_LOWBITDEPTH=1 -DCONFIG_SHARED=1 \
%make_build %ifarch %{arm}
-DAOM_NEON_INTRIN_FLAG=-mfpu=neon \
%endif
%ifarch x86_64
-DCONFIG_TUNE_VMAF=1 \
%endif
%{nil}
%make_build -C _build
%install %install
cd _build %make_install -C _build
%make_install rm -rf %{buildroot}%{_libdir}/libaom.a
%files %files
%doc AUTHORS CHANGELOG README.md %doc AUTHORS CHANGELOG README.md
@ -91,7 +99,7 @@ cd _build
%files -n libaom %files -n libaom
%license LICENSE PATENTS %license LICENSE PATENTS
%{_libdir}/libaom.so.%{sover} %{_libdir}/libaom.so.%{sover}*
%files -n libaom-devel %files -n libaom-devel
%doc _build/docs/html/ %doc _build/docs/html/
@ -100,6 +108,9 @@ cd _build
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog
* Wed Jul 01 14:33:18 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-1
- Update to 2.0.0 (#1852847)
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9.20190810git9666276 * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9.20190810git9666276
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

@ -1 +1 @@
SHA512 (aom-9666276.tar.gz) = 2c979cd2d1229016e5a6336993144d7b5161fd2f2e8b3023177be3d954c2abade5bb17957e4aeeeedd6132fbaf5e2daf79f0cdddf3ad625213dc267761490d7c SHA512 (aom-bb35ba9.tar.gz) = 81a6a83f0238436d7673ccc12cb997b734b5b57092d2977b21321cb781ef0f1debe3ca650a95e6ed51d12e7733170b57056d8bd7dbbe9427378eaf7a7337683a

Loading…
Cancel
Save