The package rpms/svt-vp9.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/svt-vp9.git/commit/?id=76280a2761dd8....
Change: +ExclusiveArch: x86_64
Thanks.
Full change: ============
commit 76280a2761dd8f1f545e3681eae0a1e57a24504a Author: Vasiliy Glazov vascom2@gmail.com Date: Sun Sep 15 07:24:20 2019 +0300
Initial commit.
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/e9653d92e9515bfc14d27b8aef51d8e5817b3601 b/e9653d92e9515bfc14d27b8aef51d8e5817b3601 new file mode 100644 index 0000000..9a2e79a Binary files /dev/null and b/e9653d92e9515bfc14d27b8aef51d8e5817b3601 differ diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 diff --git a/svt-vp9.spec b/svt-vp9.spec new file mode 100644 index 0000000..5c51004 --- /dev/null +++ b/svt-vp9.spec @@ -0,0 +1,91 @@ +%global gitcommit_full e9653d92e9515bfc14d27b8aef51d8e5817b3601 +%global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7}) +%global date 20190906 + +Name: svt-vp9 +Version: 0 +Release: 1.%{date}git%{gitcommit}%{?dist} +Summary: Scalable Video Technology for VP9 Encoder + +# ISC license for Source/Lib/ASM_SSE2/x86inc.asm +License: BSD-2-Clause-Patent and ISC +URL: https://github.com/OpenVisualCloud/SVT-VP9 +Source0: %{url}/tarball/%{gitcommit_full} + +BuildRequires: gcc +BuildRequires: cmake +BuildRequires: yasm +BuildRequires: meson +BuildRequires: gstreamer1-devel +BuildRequires: gstreamer1-plugins-base-devel + +ExclusiveArch: x86_64 + +%description +The Scalable Video Technology for VP9 Encoder (SVT-VP9 Encoder) +is a VP9-compliant encoder library core. The SVT-VP9 Encoder development +is a work-in-progress targeting performance levels applicable to both VOD +and Live encoding/transcoding video applications. + +%package devel +Summary: Include files and mandatory libraries for development svt-vp9 +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Include files and mandatory libraries for development svt-vp9. + +%package -n gstreamer1-%{name} +Summary: GStreamer 1.0 %{name}-based plug-in +Requires: gstreamer1-plugins-base%{?_isa} + +%description -n gstreamer1-%{name} +This package provides %{name}-based GStreamer plug-in. + +%prep +%autosetup -n OpenVisualCloud-SVT-VP9-%{gitcommit} +# Remove unneeded flags +sed -i 's|set(release_flags_to_test -O2 -O3)|set(release_flags_to_test)|' CMakeLists.txt +# Patch build gstreamer plugin +sed -e "s|install: true,|install: true, include_directories : '../Source/API', link_args : '-lSvtVp9Enc',|" \ +-e "/svtvp9enc_dep =/d" -e 's|, svtvp9enc_dep||' -e "s|svtvp9enc_dep.found()|true|" -i gstreamer-plugin/meson.build + + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} + %cmake -G Ninja \ + -DCMAKE_SKIP_BUILD_RPATH=TRUE \ + .. +popd +%ninja_build -C %{_target_platform} + +pushd gstreamer-plugin + export LIBRARY_PATH="$PWD/../Bin/Release:$LIBRARY_PATH" + %meson + %meson_build +popd + + +%install +%ninja_install -C %{_target_platform} +pushd gstreamer-plugin + %meson_install +popd + +%files +%license LICENSE.md +%doc README.md Docs/svt-vp9_encoder_user_guide.md +%{_bindir}/SvtVp9EncApp +%{_libdir}/libSvtVp9Enc.so.1* + +%files devel +%{_includedir}/%{name} +%{_libdir}/libSvtVp9Enc.so +%{_libdir}/pkgconfig/*.pc + +%files -n gstreamer1-%{name} +%{_libdir}/gstreamer-1.0/libgstsvtvp9enc.so + +%changelog +* Fri Sep 13 2019 Vasiliy Glazov vascom2@gmail.com - 0-1.20190906gite9653d9 +- Initial release
arch-excludes@lists.fedoraproject.org