Search
SailfishOS Open Build Service
>
Projects
>
home:r0kk3rz
:
branches:mer-core:devel
>
aom
> _service:tar_git:aom.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:aom.spec of Package aom
Name: aom Version: 1.0.0+master.20181109111305.2f85b88 Release: 1 Summary: Royalty-free next-generation video format License: BSD URL: http://aomedia.org/ # We want to keep the git data for versioning aom.pc correctly # so we can't download the archive directly from the repo. Source0: %{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: gcc BuildRequires: cmake BuildRequires: git-core BuildRequires: perl(Getopt::Long) %ifarch x86_64 %{ix86} BuildRequires: yasm %endif Provides: av1 = %{version}-%{release} Requires: libaom%{?_isa} = %{version}-%{release} %description The Alliance for Open Media’s 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 -n %{name}-%{version}/%{name} %build mkdir _build && cd _build %cmake ../ -DENABLE_CCACHE=1 \ -DCMAKE_SKIP_RPATH=1 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ %ifnarch aarch64 %{arm} %{ix86} x86_64 -DAOM_TARGET_CPU=generic \ %endif %ifarch %{arm} -DAOM_TARGET_CPU=arm \ %endif %ifarch aarch64 -DAOM_TARGET_CPU=arm64 \ %endif %ifarch %{ix86} -DAOM_TARGET_CPU=x86 \ %endif %ifarch x86_64 -DAOM_TARGET_CPU=x86_64 \ %endif -DCONFIG_WEBM_IO=1 \ -DCONFIG_LOWBITDEPTH=1 \ -DENABLE_TESTS=0 %make_build %install cd _build %make_install %clean rm -rf %{buildroot} %post -n libaom -p /sbin/ldconfig %postun -n libaom -p /sbin/ldconfig %files %doc AUTHORS CHANGELOG README.md %license LICENSE PATENTS %{_bindir}/aomdec %{_bindir}/aomenc %files -n libaom %license LICENSE PATENTS %{_libdir}/libaom.so.* %files -n libaom-devel %{_includedir}/%{name} %{_libdir}/libaom.so %{_libdir}/pkgconfig/%{name}.pc