Update to commit 9666276accea505cd14cbcb9e3f7ff5033da9172

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
epel8
Robert-André Mauchin 6 years ago
parent 8d23ade96f
commit 7c8144792c

4
.gitignore vendored

@ -0,0 +1,4 @@
/aom-1.0.0.tar.gz
/aom-d0076f5.tar.gz
/aom-cfd59e9.tar.gz
/aom-9666276.tar.gz

@ -0,0 +1,128 @@
%global sover 0
# git describe
%global aom_version 1.0.0-2227-gcfd59e96a
# Use commit with updated changelog for correct versioning
%global commit 9666276accea505cd14cbcb9e3f7ff5033da9172
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapshotdate 20190810
%global prerelease 1
Name: aom
Version: 1.0.0
Release: 8.%{?prerelease:%{snapshotdate}git%{shortcommit}}%{?dist}
Summary: Royalty-free next-generation video format
License: BSD
URL: http://aomedia.org/
Source0: https://aomedia.googlesource.com/%{name}/+archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
BuildRequires: gcc-c++
BuildRequires: gcc
BuildRequires: cmake3
BuildRequires: doxygen
BuildRequires: git-core
BuildRequires: graphviz
BuildRequires: perl-interpreter
BuildRequires: perl(Getopt::Long)
BuildRequires: perl-interpreter
BuildRequires: python3-devel
BuildRequires: yasm
Provides: av1 = %{version}-%{release}
Requires: libaom%{?_isa} = %{version}-%{release}
%description
The Alliance for Open Medias focus is to deliver a next-generation
video format that is:
- Interoperable and open;
- Optimized for the Internet;
- Scalable to any modern device at any bandwidth;
- Designed with a low computational footprint and optimized for hardware;
- Capable of consistent, highest-quality, real-time video delivery; and
- Flexible for both commercial and non-commercial content, including
user-generated content.
This package contains the reference encoder and decoder.
%package -n libaom
Summary: Library files for aom
%description -n libaom
Library files for aom, the royalty-free next-generation
video format.
%package -n libaom-devel
Summary: Development files for aom
Requires: libaom%{?_isa} = %{version}-%{release}
%description -n libaom-devel
Development files for aom, the royalty-free next-generation
video format.
%prep
%autosetup -p1 -c %{name}-%{commit}
# Set GIT revision in version
sed -i 's@set(aom_version "")@set(aom_version "%{aom_version}")@' build/cmake/version.cmake
%build
mkdir _build && cd _build
%cmake3 ../ -DENABLE_CCACHE=1 \
-DCMAKE_SKIP_RPATH=1 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
%ifarch %{arm}
-DAOM_NEON_INTRIN_FLAG=-mfpu=neon \
%endif
-DCONFIG_WEBM_IO=1 \
-DENABLE_DOCS=1 \
-DCONFIG_ANALYZER=0 \
-DCONFIG_LOWBITDEPTH=1
%make_build
%install
cd _build
%make_install
%files
%doc AUTHORS CHANGELOG README.md
%license LICENSE PATENTS
%{_bindir}/aomdec
%{_bindir}/aomenc
%files -n libaom
%license LICENSE PATENTS
%{_libdir}/libaom.so.%{sover}
%files -n libaom-devel
%doc _build/docs/html/
%{_includedir}/%{name}
%{_libdir}/libaom.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Fri Aug 09 17:45:23 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-8.20190810git9666276
- Update to commit 9666276accea505cd14cbcb9e3f7ff5033da9172
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7.20180925gitd0076f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6.20180925gitd0076f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Sep 25 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-5.20180925gitd0076f5
- Update to commit d0076f507a6027455540e2e4f25f84ca38803e07
- Set CONFIG_LOWBITDEPTH to 1
- Fix #1632658
* Thu Sep 13 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-4
- Split the package into libs/tools
* Tue Sep 11 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-3
- Update the archive in order to detect the correct version from the changelog
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Mar 07 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-1
- First RPM release

@ -0,0 +1 @@
SHA512 (aom-9666276.tar.gz) = 2c979cd2d1229016e5a6336993144d7b5161fd2f2e8b3023177be3d954c2abade5bb17957e4aeeeedd6132fbaf5e2daf79f0cdddf3ad625213dc267761490d7c
Loading…
Cancel
Save