[packages/libvpl-tools] - updated to 1.3.0
qboosh
qboosh at pld-linux.org
Thu Mar 20 07:37:53 CET 2025
commit 3baeba2cbcef0c108907f61bcb484593407ba93a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Mar 20 06:16:23 2025 +0100
- updated to 1.3.0
libvpl-tools-libdrm.patch | 11 +++++++++++
libvpl-tools.spec | 14 +++++++++-----
2 files changed, 20 insertions(+), 5 deletions(-)
---
diff --git a/libvpl-tools.spec b/libvpl-tools.spec
index 920a5c7..610b37c 100644
--- a/libvpl-tools.spec
+++ b/libvpl-tools.spec
@@ -2,14 +2,15 @@
Summary: Intel Video Processing Library Tools
Summary(pl.UTF-8): Narzędzia do biblioteki przetwarzania obrazu Intel VPL
Name: libvpl-tools
-Version: 1.0.0
+Version: 1.3.0
Release: 1
License: MIT
Group: Libraries
#Source0Download: https://github.com/intel/libvpl-tools/releases
Source0: https://github.com/intel/libvpl-tools/archive/v%{version}/libvpl-tools-%{version}.tar.gz
-# Source0-md5: e83ecee5f45d83b450597d4f7b982e9a
+# Source0-md5: 2241ab0409c15f218b59ba7124cbf5ff
Patch0: %{name}-types.patch
+Patch1: %{name}-libdrm.patch
URL: https://www.intel.com/content/www/us/en/developer/tools/vpl/overview.html
BuildRequires: cmake >= 3.13.0
BuildRequires: libdrm-devel >= 2.4.91
@@ -55,7 +56,8 @@ Przykładowe programy do biblioteki Intel VPL.
%prep
%setup -q
-%patch0 -p1
+%patch -P0 -p1
+%patch -P1 -p1
%build
%cmake -B build
@@ -84,7 +86,8 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/vpl-import-export
%attr(755,root,root) %{_bindir}/vpl-inspect
%dir %{_libdir}/vpl-tools
-%attr(755,root,root) %{_libdir}/vpl-tools/libvpl_wayland.so
+%attr(755,root,root) %{_libdir}/vpl-tools/libvpl_wayland.so.*.*.*
+%{_libdir}/vpl-tools/libvpl_wayland.so
%files examples
%defattr(644,root,root,755)
@@ -94,4 +97,5 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/sample_multi_transcode
%attr(755,root,root) %{_bindir}/sample_vpp
%attr(755,root,root) %{_bindir}/system_analyzer
-%attr(755,root,root) %{_libdir}/libcttmetrics.so
+%attr(755,root,root) %{_libdir}/libcttmetrics.so.*.*.*
+%{_libdir}/libcttmetrics.so
diff --git a/libvpl-tools-libdrm.patch b/libvpl-tools-libdrm.patch
new file mode 100644
index 0000000..cef5287
--- /dev/null
+++ b/libvpl-tools-libdrm.patch
@@ -0,0 +1,11 @@
+--- libvpl-tools-1.3.0/tools/legacy/sample_common/src/gtkutils.cpp.orig 2024-12-16 21:16:28.000000000 +0100
++++ libvpl-tools-1.3.0/tools/legacy/sample_common/src/gtkutils.cpp 2025-03-19 22:16:57.559090783 +0100
+@@ -5,7 +5,7 @@
+ ############################################################################*/
+ #if defined(LIBVA_GTK4_SUPPORT)
+ #include "gtkutils.h"
+- #include <drm/drm_fourcc.h>
++ #include <libdrm/drm_fourcc.h>
+ #include <gdk/wayland/gdkwayland.h>
+ #include <gdk/x11/gdkx.h>
+ #include <gtk/gtk.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libvpl-tools.git/commitdiff/3baeba2cbcef0c108907f61bcb484593407ba93a
More information about the pld-cvs-commit
mailing list