From bd356960472aa3a8a65449800306e2f950256c1663e28d26c1667656745eed78 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 18 Jan 2025 15:27:07 +0000 Subject: [PATCH] [info=df52181637b87febb0a23416e9bb6f3bf520c60de2750bf2d51aa75da2d3cd5a] OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/SVT-AV1?expand=0&rev=60 --- SVT-AV1.changes | 9 +++++++++ SVT-AV1.spec | 25 +++++++++++++++++++++++-- _scmsync.obsinfo | 4 ++-- build.specials.obscpio | 2 +- 4 files changed, 35 insertions(+), 5 deletions(-) diff --git a/SVT-AV1.changes b/SVT-AV1.changes index 6e70a6f..49d92bf 100644 --- a/SVT-AV1.changes +++ b/SVT-AV1.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Jan 17 12:27:35 UTC 2025 - Yoong Jin + +- Added optimzation flags to Cmake +- Santitized thired party folder + * Deleted bechmarking folders + * Renamed conflicting license files + * Switced to system libcpuinfo + ------------------------------------------------------------------- Tue Oct 29 22:11:44 UTC 2024 - Jan Engelhardt diff --git a/SVT-AV1.spec b/SVT-AV1.spec index cce1c79..b0ff69b 100644 --- a/SVT-AV1.spec +++ b/SVT-AV1.spec @@ -30,8 +30,13 @@ BuildRequires: gcc-c++ >= 5.4.0 BuildRequires: help2man BuildRequires: pkg-config BuildRequires: yasm >= 1.2.0 +# broken package +# BuildRequires: cpuinfo-devel +Provides: bundled(fastfeat) +Provides: bundled(safestringlib) ExclusiveArch: aarch64 riscv64 x86_64 + %description The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is an AV1-compliant encoder/decoder library core. The SVT-AV1 encoder development is @@ -63,8 +68,24 @@ This package contains the header files for svt-av1. %prep %autosetup -p1 -n %name-v%version +#mitigate name collisions +mv third_party/safestringlib/LICENSE third_party/safestringlib/LICENSE.safestringlib +mv third_party/fastfeat/LICENSE third_party/fastfeat/LICENSE.fastfeat + +#sanitize third_party +# rm -rf third_party/cpuinfo +rm -rf third_party/aom* +rm -rf third_party/googletest + + %build -%cmake -DNATIVE=OFF +%cmake \ + -DNATIVE=OFF \ + -DSVT_AV1_LTO=ON \ + -DENABLE_AVX512=ON \ + -DSVT_AV1_PGO=ON + # -DUSE_EXTERNAL_CPUINFO=ON \ + # cpuinfo cmake is broken, force fallback to pkg-config %cmake_build %install @@ -84,7 +105,7 @@ cp -a Docs README.md "$b/" %ldconfig_scriptlets -n libSvtAv1Enc2 %files -n libSvtAv1Enc2 -%license LICENSE.md PATENTS.md +%license LICENSE.md PATENTS.md third_party/fastfeat/LICENSE.fastfeat third_party/safestringlib/LICENSE.safestringlib %_libdir/libSvtAv1Enc.so.* %files diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index 73c37e9..6a26a5e 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,4 +1,4 @@ -mtime: 1730243081 -commit: f7f6c3ada3c4437e159e8f8d0e5b87aae464edd7be69f7e0df9f120adeb17a49 +mtime: 1737214019 +commit: df52181637b87febb0a23416e9bb6f3bf520c60de2750bf2d51aa75da2d3cd5a url: https://src.opensuse.org/jengelh/SVT-AV1 revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio index 39add31..727a295 100644 --- a/build.specials.obscpio +++ b/build.specials.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e657cd6cbae03af47bbaa2f781c4fef594af2a310d106369bfab34349629d541 +oid sha256:25dcc5870827cf3eb43b776572e37dcf1fc0196cb8e5ea6a694f220e1d9fda8f size 256