mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-14 07:30:38 +00:00
a5b805a4a0
* fix(vvenc): Pull in upstreamed patches for i386 builds, re-enable X86 SIMD Signed-off-by: Gilver <rockgrub@disroot.org> * Huh Signed-off-by: Gilver <rockgrub@disroot.org> * cURL are you like okay Signed-off-by: Gilver <rockgrub@disroot.org> * Create 17f2ca78b3ad29fe0210a8d297fcf01f7465138f.patch Signed-off-by: Gilver <rockgrub@disroot.org> * ???????? Signed-off-by: Gilver <rockgrub@disroot.org> * What Signed-off-by: Gilver <rockgrub@disroot.org> * Delete anda/multimedia/vvenc/17f2ca78b3ad29fe0210a8d297fcf01f7465138f.patch Signed-off-by: Gilver <rockgrub@disroot.org> --------- Signed-off-by: Gilver <rockgrub@disroot.org>
78 lines
2.4 KiB
RPMSpec
78 lines
2.4 KiB
RPMSpec
%global build_cxxflags %{__build_flags_lang_cxx} %{?_distro_extra_cxxflags} -Wno-error=maybe-uninitialized -Wno-error=uninitialized
|
|
|
|
Name: vvenc
|
|
Version: 1.13.1
|
|
Release: 3%{?dist}
|
|
Summary: VVenC, the Fraunhofer Versatile Video Encoder
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/fraunhoferhhi/%{name}
|
|
|
|
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
# Fixes for i386/ARM32 builds
|
|
Patch0: %{url}/commit/ebce395254d9d7be7dc00cec7b49c7ed1d9eebec.patch
|
|
Patch1: %{url}/commit/bfd55ee783bfe30fc73f6f314b066b84bb1e5b60.patch
|
|
Patch2: %{url}/commit/982fcaac22488415899ae6c6ef7977a728a88e94.patch
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
|
|
# Define this after the version is defined
|
|
%global vvenc_majorminor %(v=%{version}; echo ${v:0:4})
|
|
|
|
%description
|
|
VVenC, the Fraunhofer Versatile Video Encoder, is a fast and efficient software
|
|
H.266/VVC encoder implementation with the following main features:
|
|
|
|
- Easy to use encoder implementation with five predefined quality/speed presets;
|
|
- Perceptual optimization to improve subjective video quality, based on the
|
|
XPSNR visual model;
|
|
- Extensive frame-level and task-based parallelization with very good scaling;
|
|
- Frame-level single-pass and two-pass rate control supporting variable bit-rate
|
|
(VBR) encoding.
|
|
|
|
%package libs
|
|
Summary: VVenC, the Fraunhofer Versatile Video Encoder %{name} libraries
|
|
|
|
%description libs
|
|
The %{name}-devel package contains libraries and header files for developing
|
|
applications that use %{name}. This package contains the shared libraries.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake \
|
|
-DCMAKE_SKIP_INSTALL_RPATH=OFF \
|
|
-DVVENC_INSTALL_FULLFEATURE_APP=ON
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%{_bindir}/%{name}app
|
|
%{_bindir}/%{name}FFapp
|
|
|
|
%files libs
|
|
%license LICENSE.txt
|
|
%doc README.md changelog.txt
|
|
%{_libdir}/lib%{name}.so.%{vvenc_majorminor}
|
|
%{_libdir}/lib%{name}.so.%{version}
|
|
|
|
%files devel
|
|
%{_includedir}/%{name}/
|
|
%{_libdir}/cmake/%{name}/%{name}*.cmake
|
|
%{_libdir}/lib%{name}.so
|
|
%{_libdir}/pkgconfig/lib%{name}.pc
|
|
|
|
%changelog
|
|
%autochangelog
|