Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:multimedia
svt-av1-psy
svt-av1-psy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File svt-av1-psy.spec of Package svt-av1-psy
# # spec file for package svt-av1-psy # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global __builder %__ninja Name: svt-av1-psy Version: 2.3.0 Release: 0 Summary: SVT-AV1 with perceptual enhancements optimal AV1 encoding License: BSD-2-Clause AND BSD-3-Clause-Clear URL: https://github.com/gianni-rosato/svt-av1-psy Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: nasm BuildRequires: ninja Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Provides: bundled(fastfeat) Provides: bundled(safestringlib) Conflicts: svt-av1 # same install dir, same file names... just without the Decoder files... "Use Dav1d" they said # the psy version is just svt + extra speccial sauce to make it better %description NOTE: not compiled with hdr10plus SVT-AV1-PSY is the Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) with perceptual enhancements for psychovisually optimal AV1 encoding. # no devel packages as they have `Provides:` conflict and they are abi-compatible # build against sv-av1-devel and switch libs at runtime %package docs Summary: Docs for %{name} BuildArch: noarch %description docs The %{name}-docs package contains the docs %package -n libSvtAv1Enc2 Summary: .so files for %{name} %description -n libSvtAv1Enc2 .so files for %{name} %prep %autosetup #mitigate name collisions mv third_party/safestringlib/LICENSE third_party/safestringlib/LICENSE.safestringlib mv third_party/fastfeat/LICENSE third_party/fastfeat/LICENSE.fastfeat mv Docs/README.md Docs/Docs.README.md #sanitize third_party rm -rf third_party/cpuinfo rm -rf third_party/aom* rm -rf third_party/googletest %build # # Not doing tests as it will cause build to time out and crash the build %cmake \ -DSVT_AV1_LTO=ON \ -DSVT_AV1_PGO=ON \ -DENABLE_AVX512=ON \ -DBUILD_DEC=OFF \ -DBUILD_SHARED_LIBS=ON \ -G Ninja %cmake_build %install %cmake_install %fdupes Docs/ #stop builder fom complaining for not packagig devel files rm -rf %{buildroot}/usr/lib64/pkgconfig/SvtAv1Enc.pc rm -rf %{buildroot}/usr/lib64/libSvtAv1Enc.so rm -rf %{buildroot}/usr/include/svt-av1/* %check %ctest %ldconfig_scriptlets %files %{_bindir}/SvtAv1EncApp %files docs %doc CHANGELOG.md README.md Docs/ %files -n libSvtAv1Enc2 %license LICENSE.md PATENTS.md third_party/fastfeat/LICENSE.fastfeat third_party/safestringlib/LICENSE.safestringlib %{_libdir}/libSvtAv1Enc.so.2{,.*} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor