]> git.pld-linux.org Git - packages/xine-lib.git/commitdiff
- added patch to drop -lLibOpenHevcWrapper from libxine linking master
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 17 Apr 2024 19:53:41 +0000 (21:53 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 17 Apr 2024 19:53:41 +0000 (21:53 +0200)
xine-lib-link.patch [new file with mode: 0644]
xine-lib.spec

diff --git a/xine-lib-link.patch b/xine-lib-link.patch
new file mode 100644 (file)
index 0000000..4164eb9
--- /dev/null
@@ -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
index d327b3e16a049450b9e8deb46c69ab38d75bafcd..db4815396697827fe1736cf784402492e35ba2cd 100644 (file)
@@ -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}
This page took 0.10931 seconds and 4 git commands to generate.