You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
1.7 KiB
88 lines
1.7 KiB
Name: dav1d
|
|
Version: 0.2.1
|
|
Release: 1%{?dist}
|
|
Summary: AV1 cross-platform Decoder
|
|
|
|
License: BSD
|
|
URL: https://code.videolan.org/videolan/dav1d
|
|
Source0: %url/-/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: nasm
|
|
BuildRequires: doxygen
|
|
BuildRequires: meson >= 0.47.0
|
|
|
|
%description
|
|
dav1d is a new AV1 cross-platform Decoder, open-source, and focused on speed
|
|
and correctness.
|
|
|
|
|
|
%package -n libdav1d
|
|
Summary: Library files for dav1d
|
|
|
|
%description -n libdav1d
|
|
Library files for dav1d, the AV1 cross-platform Decoder.
|
|
|
|
|
|
%package -n libdav1d-devel
|
|
Summary: Development files for dav1d
|
|
Requires: libdav1d%{?_isa} = %{version}-%{release}
|
|
|
|
%description -n libdav1d-devel
|
|
Development files for dav1d, the AV1 cross-platform Decoder.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version}
|
|
|
|
|
|
%build
|
|
# https://code.videolan.org/videolan/dav1d/issues/221
|
|
%ifarch %{arm}
|
|
export CFLAGS+="%optflags -fPIC"
|
|
%endif
|
|
%meson --buildtype=release
|
|
|
|
%meson_build
|
|
%meson_build doc/html
|
|
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
|
|
%files
|
|
%license COPYING doc/PATENTS
|
|
%doc CONTRIBUTING.md NEWS README.md
|
|
%{_bindir}/dav1d
|
|
|
|
|
|
%files -n libdav1d
|
|
%license COPYING doc/PATENTS
|
|
%{_libdir}/libdav1d.so.1*
|
|
|
|
|
|
%files -n libdav1d-devel
|
|
%doc %{_host_alias}/doc/html
|
|
%{_includedir}/%{name}
|
|
%{_libdir}/libdav1d.so
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
%changelog
|
|
* Tue Mar 12 2019 Robert-André Mauchin - 0.2.1-1
|
|
- Release 0.2.1
|
|
|
|
* Tue Mar 05 2019 Robert-André Mauchin - 0.2.0-1
|
|
- Release 0.2.0
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Tue Dec 11 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.0-1
|
|
- Initial build
|