forked from pool/SVT-AV1
master #1
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 17 12:27:35 UTC 2025 - Yoong Jin <solomoncyj@gmail.com>
|
||||||
|
|
||||||
|
- 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 <jengelh@inai.de>
|
Tue Oct 29 22:11:44 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
25
SVT-AV1.spec
25
SVT-AV1.spec
@ -30,8 +30,13 @@ BuildRequires: gcc-c++ >= 5.4.0
|
|||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: yasm >= 1.2.0
|
BuildRequires: yasm >= 1.2.0
|
||||||
|
# broken package
|
||||||
|
# BuildRequires: cpuinfo-devel
|
||||||
|
Provides: bundled(fastfeat)
|
||||||
|
Provides: bundled(safestringlib)
|
||||||
ExclusiveArch: aarch64 riscv64 x86_64
|
ExclusiveArch: aarch64 riscv64 x86_64
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is an
|
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
|
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
|
%prep
|
||||||
%autosetup -p1 -n %name-v%version
|
%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
|
%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
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -84,7 +105,7 @@ cp -a Docs README.md "$b/"
|
|||||||
%ldconfig_scriptlets -n libSvtAv1Enc2
|
%ldconfig_scriptlets -n libSvtAv1Enc2
|
||||||
|
|
||||||
%files -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.*
|
%_libdir/libSvtAv1Enc.so.*
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user