[packages/libvpl] - updated to 2.11.0; CLI tools moved to libvpl-tools.spec

qboosh qboosh at pld-linux.org
Sun May 26 21:22:17 CEST 2024


commit e89ada0fd413eefe10a0f6f47810f4f0bccdd3b2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 26 21:22:18 2024 +0200

    - updated to 2.11.0; CLI tools moved to libvpl-tools.spec

 libvpl-pld.patch   | 18 ++++++++++++++++++
 libvpl-types.patch | 11 -----------
 libvpl.spec        | 22 +++-------------------
 3 files changed, 21 insertions(+), 30 deletions(-)
---
diff --git a/libvpl.spec b/libvpl.spec
index a90722d..9d2ce4f 100644
--- a/libvpl.spec
+++ b/libvpl.spec
@@ -1,25 +1,19 @@
-# TODO: OpenCL (-DTOOLS_ENABLE_OPENCL=ON)?
 Summary:	Intel Video Processing Library
 Summary(pl.UTF-8):	Biblioteka przetwarzania obrazu Intel VPL
 Name:		libvpl
-Version:	2.10.2
+Version:	2.11.0
 Release:	1
 License:	MIT
 Group:		Libraries
 #Source0Download: https://github.com/intel/libvpl/releases
 Source0:	https://github.com/intel/libvpl/archive/v%{version}/libvpl-%{version}.tar.gz
-# Source0-md5:	09d6347097590abd3e952619f5ed6316
-Patch0:		%{name}-types.patch
+# Source0-md5:	a9984f61d0e0c3e282e56d63aaade862
+Patch0:		%{name}-pld.patch
 URL:		https://www.intel.com/content/www/us/en/developer/tools/vpl/overview.html
 BuildRequires:	cmake >= 3.13.0
-BuildRequires:	libdrm-devel
 BuildRequires:	libstdc++-devel >= 6:4.7
-BuildRequires:	libva-devel >= 1.2
-BuildRequires:	libva-drm-devel >= 1.2
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.605
-BuildRequires:	wayland-devel
-BuildRequires:	xorg-lib-libpciaccess-devel
 Obsoletes:	oneVPL < 2024
 Obsoletes:	python3-oneVPL < 2023
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -92,13 +86,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md SECURITY.md third-party-programs.txt
-%attr(755,root,root) %{_bindir}/val-surface-sharing
-%attr(755,root,root) %{_bindir}/vpl-import-export
-%attr(755,root,root) %{_bindir}/vpl-inspect
 %attr(755,root,root) %{_libdir}/libvpl.so.*.*
 %attr(755,root,root) %ghost %{_libdir}/libvpl.so.2
-%dir %{_libdir}/vpl
-%attr(755,root,root) %{_libdir}/vpl/libvpl_wayland.so
 %dir %{_sysconfdir}/vpl
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vpl/vars.sh
 
@@ -111,9 +100,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files examples
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/sample_decode
-%attr(755,root,root) %{_bindir}/sample_encode
-%attr(755,root,root) %{_bindir}/sample_multi_transcode
-%attr(755,root,root) %{_bindir}/sample_vpp
-%attr(755,root,root) %{_bindir}/system_analyzer
 %{_examplesdir}/%{name}-%{version}
diff --git a/libvpl-pld.patch b/libvpl-pld.patch
new file mode 100644
index 0000000..95e6faf
--- /dev/null
+++ b/libvpl-pld.patch
@@ -0,0 +1,18 @@
+--- libvpl-2.11.0/libvpl/cmake/VPLConfig.cmake.in.orig	2024-05-01 21:29:38.000000000 +0200
++++ libvpl-2.11.0/libvpl/cmake/VPLConfig.cmake.in	2024-05-26 20:36:07.815852055 +0200
+@@ -74,6 +74,7 @@ else()
+         VPL::dispatcher
+         PROPERTIES IMPORTED_LOCATION_RELEASE ${_dispatcher_shlib}
+                    IMPORTED_LOCATION_RELWITHDEBINFO ${_dispatcher_shlib}
++                   IMPORTED_LOCATION_PLD ${_dispatcher_shlib}
+                    IMPORTED_LOCATION_MINSIZEREL ${_dispatcher_shlib}
+                    IMPORTED_LOCATION_DEBUG ${_dispatcher_debug_shlib}
+                    IMPORTED_LOCATION_RELWITHDEBRT ${_dispatcher_debug_shlib})
+@@ -99,6 +100,7 @@ else()
+         VPL::dispatcher
+         PROPERTIES IMPORTED_LOCATION_RELEASE ${_dispatcher_lib}
+                    IMPORTED_LOCATION_RELWITHDEBINFO ${_dispatcher_lib}
++                   IMPORTED_LOCATION_PLD ${_dispatcher_lib}
+                    IMPORTED_LOCATION_MINSIZEREL ${_dispatcher_lib}
+                    IMPORTED_LOCATION_DEBUG ${_dispatcher_debug_lib}
+                    IMPORTED_LOCATION_RELWITHDEBRT ${_dispatcher_debug_lib})
diff --git a/libvpl-types.patch b/libvpl-types.patch
deleted file mode 100644
index 37f8331..0000000
--- a/libvpl-types.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libvpl-2.10.2/tools/legacy/sample_common/src/vaapi_utils.cpp.orig	2024-02-20 22:41:06.000000000 +0100
-+++ libvpl-2.10.2/tools/legacy/sample_common/src/vaapi_utils.cpp	2024-03-18 21:55:02.069401544 +0100
-@@ -337,7 +337,7 @@ VAStatus CLibVA::AcquireVASurface(void**
-     }
- 
-     AcquireCtx* ctx;
--    unsigned long handle = 0;
-+    uintptr_t handle = 0;
-     VAStatus va_res;
-     VASurfaceAttrib attribs[2];
-     VASurfaceAttribExternalBuffers extsrf;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvpl.git/commitdiff/e89ada0fd413eefe10a0f6f47810f4f0bccdd3b2



More information about the pld-cvs-commit mailing list