The package rpms/libvpl-tools.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/libvpl-tools.git/commit/?id=48505960....
Change: +ExclusiveArch: x86_64
Thanks.
Full change: ============
commit 48505960f44e77b7100ed6942f309bc13cd0d063 Author: Simone Caronni negativo17@gmail.com Date: Tue Jun 4 16:34:32 2024 +0200
First build
diff --git a/libvpl-tools-use-system-gtest.patch b/libvpl-tools-use-system-gtest.patch new file mode 100644 index 0000000..ef66a93 --- /dev/null +++ b/libvpl-tools-use-system-gtest.patch @@ -0,0 +1,39 @@ +--- a/CMakeLists.txt 2024-05-17 17:10:54.138495853 +0300 ++++ b/CMakeLists.txt 2024-05-17 17:56:29.236364854 +0300 +@@ -119,23 +119,24 @@ + OFF + CACHE BOOL "" FORCE) + +- add_subdirectory(ext/googletest) +- add_library(GTest::gtest ALIAS gtest) +- add_library(GTest::gtest_main ALIAS gtest_main) ++# add_subdirectory(ext/googletest) ++# add_library(GTest::gtest ALIAS gtest) ++# add_library(GTest::gtest_main ALIAS gtest_main) ++ find_package(GTest REQUIRED) + endif() + + add_subdirectory(tools) + +-install( +- FILES third-party-programs.txt +- DESTINATION ${VPL_INSTALL_LICENSEDIR} +- COMPONENT ${VPL_COMPONENT_LIB}) ++#install( ++# FILES third-party-programs.txt ++# DESTINATION ${VPL_INSTALL_LICENSEDIR} ++# COMPONENT ${VPL_COMPONENT_LIB}) + +-install( +- FILES LICENSE +- RENAME license.txt +- DESTINATION ${VPL_INSTALL_LICENSEDIR} +- COMPONENT ${VPL_COMPONENT_LIB}) ++#install( ++# FILES LICENSE ++# RENAME license.txt ++# DESTINATION ${VPL_INSTALL_LICENSEDIR} ++# COMPONENT ${VPL_COMPONENT_LIB}) + + set(CMAKE_INSTALL_SYSTEM_RUNTIME_COMPONENT ${VPL_COMPONENT_LIB}) + include(InstallRequiredSystemLibraries) diff --git a/libvpl-tools-versioned-library.patch b/libvpl-tools-versioned-library.patch new file mode 100644 index 0000000..de0a360 --- /dev/null +++ b/libvpl-tools-versioned-library.patch @@ -0,0 +1,55 @@ +From 8f0e1c7161567fb510b791866e11a661dac33714 Mon Sep 17 00:00:00 2001 +From: Ali Erdinc Koroglu aekoroglu@linux.intel.com +Date: Tue, 28 May 2024 17:52:25 +0300 +Subject: [PATCH 1/2] versioned library format + +--- + tools/legacy/metrics_monitor/CMakeLists.txt | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/tools/legacy/metrics_monitor/CMakeLists.txt b/tools/legacy/metrics_monitor/CMakeLists.txt +index 4d76c2b..00b6988 100644 +--- a/tools/legacy/metrics_monitor/CMakeLists.txt ++++ b/tools/legacy/metrics_monitor/CMakeLists.txt +@@ -97,9 +97,15 @@ if(PKG_LIBDRM_FOUND) + target_compile_definitions(${METRICS_TOOL} PRIVATE LIBVA_DRM_SUPPORT + LIBVA_SUPPORT) + ++ set_target_properties(${METRICS_LIB} PROPERTIES VERSION 1.0.0) ++ + install(TARGETS ${METRICS_TOOL} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + COMPONENT ${VPL_COMPONENT_TOOLS}) + ++ install( ++ FILES "include/cttmetrics.h" "include/cttmetrics_utils.h" ++ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/cttmetrics") ++ + # test_monitor + if(BUILD_TESTS) + if(PKG_PCIACCESS_FOUND) + +From 4d132457bfc5b01e9d9b7746b85b2fa79f1d446c Mon Sep 17 00:00:00 2001 +From: Ali Erdinc Koroglu aekoroglu@linux.intel.com +Date: Tue, 28 May 2024 18:35:30 +0300 +Subject: [PATCH 2/2] versioned library format + +--- + tools/legacy/sample_misc/wayland/CMakeLists.txt | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/tools/legacy/sample_misc/wayland/CMakeLists.txt b/tools/legacy/sample_misc/wayland/CMakeLists.txt +index 80a73c2..ed7ac22 100644 +--- a/tools/legacy/sample_misc/wayland/CMakeLists.txt ++++ b/tools/legacy/sample_misc/wayland/CMakeLists.txt +@@ -112,8 +112,10 @@ if(PKGConfig_LIBDRM_FOUND) + target_link_libraries(${TARGET} PRIVATE sample_common wayland-client va drm + drm_intel) + ++ set_target_properties(${TARGET} PROPERTIES VERSION 1.0.0) ++ + install(TARGETS ${TARGET} +- LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}" ++ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" + COMPONENT ${VPL_COMPONENT_TOOLS}) + else() + message( diff --git a/libvpl-tools.spec b/libvpl-tools.spec new file mode 100644 index 0000000..6d48815 --- /dev/null +++ b/libvpl-tools.spec @@ -0,0 +1,111 @@ +Name: libvpl-tools +Version: 1.0.0 +Release: 4%{?dist} +Summary: Intel Video Processing Library (Intel VPL) Tools +License: MIT +URL: https://intel.github.io/libvpl +ExclusiveArch: x86_64 + +Source0: https://github.com/intel/libvpl-tools/archive/v%%7Bversion%7D/%%7Bname%7D-%%... +Patch0: %{name}-use-system-gtest.patch +# https://github.com/intel/libvpl-tools/pull/1 +Patch1: %{name}-versioned-library.patch + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: gtest-devel +BuildRequires: libvpl-devel >= 2.11.0 +BuildRequires: pkgconfig(libdrm) >= 2.4.91 +BuildRequires: pkgconfig(libva) >= 1.2 +BuildRequires: pkgconfig(libva-drm) >= 1.2 +BuildRequires: pkgconfig(libva-x11) >= 1.10.0 +BuildRequires: pkgconfig(pciaccess) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-protocols) >= 1.15 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(x11-xcb) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-dri3) +BuildRequires: pkgconfig(xcb-present) + +%description +Intel Video Processing Library (Intel VPL) tools provide access to hardware +accelerated video decode, encode, and frame processing capabilities on Intel +GPUs from the command line. + +The tools require the Intel VPL base library and a runtime library installed. +Current runtime implementations: + +- Intel VPL GPU Runtime for use on Intel Iris Xe graphics and newer +- Intel Media SDK for use on legacy Intel graphics + +%package devel +Summary: Development files for %{name} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains library and header files for development + +%package libs +Summary: %{name} runtime library +Requires: %{name} = %{version}-%{release} + +%description libs +Runtime library for %{name} + +%prep +%autosetup -p1 + +# delete bundled googletest +rm -rf ext/* + +%build +%cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=ON \ + -DBUILD_TESTS=ON \ + -DTOOLS_ENABLE_OPENCL=ON +%cmake_build + +%install +%cmake_install + +%check +%ctest + +%files +%license LICENSE +%doc README.md third-party-programs.txt +%{_bindir}/system_analyzer +%{_bindir}/val-surface-sharing +%{_bindir}/vpl-import-export +%{_bindir}/vpl-inspect +%{_bindir}/sample_decode +%{_bindir}/sample_vpp +%{_bindir}/sample_encode +%{_bindir}/sample_multi_transcode +%{_bindir}/metrics_monitor + +%files devel +%dir %{_includedir}/cttmetrics +%{_includedir}/cttmetrics/cttmetrics.h +%{_includedir}/cttmetrics/cttmetrics_utils.h +%{_libdir}/libcttmetrics.so +%{_libdir}/libvpl_wayland.so + +%files libs +%{_libdir}/libcttmetrics.so.%{version} +%{_libdir}/libvpl_wayland.so.%{version} + +%changelog +* Tue May 28 2024 Ali Erdinc Koroglu aekoroglu@fedoraproject.org - 1.0.0-4 +- Devel and Libs subpackages added + +* Fri May 17 2024 Ali Erdinc Koroglu aekoroglu@fedoraproject.org - 1.0.0-3 +- Bundled googletest removed + +* Sat May 04 2024 Simone Caronni negativo17@gmail.com - 1.0.0-2 +- Require libvpl 2.11.0 for building. + +* Sat May 04 2024 Simone Caronni negativo17@gmail.com - 1.0.0-1 +- First build.
arch-excludes@lists.fedoraproject.org