commit 462372611bbacce9e0023d3084ecb5368295f764
Author: Jakub Bogusz <[email protected]>
Date:   Wed Apr 17 21:53:41 2024 +0200

    - added patch to drop -lLibOpenHevcWrapper from libxine linking

 xine-lib-link.patch | 11 +++++++++++
 xine-lib.spec       |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/xine-lib.spec b/xine-lib.spec
index d327b3e..db48153 100644
--- a/xine-lib.spec
+++ b/xine-lib.spec
@@ -55,6 +55,7 @@ Patch1:               %{name}-win32-path.patch
 Patch2:                %{name}-sh.patch
 Patch3:                ffmpeg6.patch
 Patch4:                binutils-2.39.patch
+Patch5:                %{name}-link.patch
 URL:           https://xine.sourceforge.net/
 %{?with_directfb:BuildRequires:        DirectFB-devel >= 0.9.22}
 # for OpenGL or wayland
@@ -1096,6 +1097,7 @@ XINE - wtyczka postprocessingu oparta na libpostproc z 
pakietu FFmpeg.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__gettextize}
diff --git a/xine-lib-link.patch b/xine-lib-link.patch
new file mode 100644
index 0000000..4164eb9
--- /dev/null
+++ b/xine-lib-link.patch
@@ -0,0 +1,11 @@
+--- xine-lib-1.2.13/m4/decoders.m4.orig        2024-04-17 21:38:29.675591105 
+0200
++++ xine-lib-1.2.13/m4/decoders.m4     2024-04-17 21:38:32.962239966 +0200
+@@ -687,7 +687,7 @@ a52_init ();
+     AC_ARG_WITH([openhevc], [AS_HELP_STRING([--with-openhevc], [Enable 
libOpenHevc HEVC decoder support (default: enabled)])],
+         [], [with_openhevc="try"])
+     if test x"$with_openhevc" != x"no"; then
+-        AC_CHECK_LIB([LibOpenHevcWrapper], [libOpenHevcInit], [], [test 
x"$with_openhevc" = x"yes" && with_openhevc=fail])
++        AC_CHECK_LIB([LibOpenHevcWrapper], [libOpenHevcInit], [:], [test 
x"$with_openhevc" = x"yes" && with_openhevc=fail])
+         if test x"$with_openhevc" = x"fail" ; then
+             AC_MSG_ERROR([openhevc support requested, but LibOpenHevcWrapper 
not found])
+         else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xine-lib.git/commitdiff/462372611bbacce9e0023d3084ecb5368295f764

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to