diff --git a/multimedia/vdr-plugin-xineliboutput/files/patch-configure b/multimedia/vdr-plugin-xineliboutput/files/patch-configure index a3be2592e1d6..66c4485bb043 100644 --- a/multimedia/vdr-plugin-xineliboutput/files/patch-configure +++ b/multimedia/vdr-plugin-xineliboutput/files/patch-configure @@ -1,6 +1,22 @@ --- a/configure +++ a/configure -@@ -349,11 +349,14 @@ test_pkgconfig +@@ -234,6 +234,7 @@ + xrender + xshape + opengl ++ glx + pthread + dlfcn + vdpau +@@ -334,6 +335,7 @@ + disabled vdr && disable libextractor libcap libbluray + disabled dlfcn && disable opengl + disabled pthread && disable opengl ++ disabled glx && disable opengl + disabled xrender && disable xshape xshm + } + +@@ -349,11 +351,14 @@ [ $debug = yes ] && \ test_library X11 do_error "none.h" "-lnolib" @@ -20,7 +36,7 @@ if enabled libxine; then -@@ -365,24 +368,40 @@ if enabled libxine; then +@@ -365,24 +370,41 @@ fi log " $XINEPLUGINDIR" @@ -55,8 +71,9 @@ + test_library X11 xdpms "X11/extensions/dpms.h" "-lXext" "DPMSDisable(0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib" +# test_library X11 xinerama "X11/extensions/Xinerama.h" "-lXinerama" "XineramaQueryScreens(0,0)" + test_library X11 xinerama "X11/extensions/Xinerama.h" "-lXinerama" "XineramaQueryScreens(0,0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib" -+# test_library X11 opengl "GL/glx.h" "-lGL -lGLU" "glXQueryVersion(0,0,0)" -+ test_library X11 opengl "GL/glx.h" "-lGL -lGLU" "glXQueryVersion(0,0,0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib" ++# test_library X11 opengl "GL/gl.h" "-lGL -lGLU" "glTexCoord2f(0.0,0.0)" ++ test_library X11 opengl "GL/gl.h" "-lGL -lGLU" "glTexCoord2f(0.0,0.0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib" ++ test_library X11 glx "GL/glx.h" "-lGLX " "glXQueryVersion(0,0,0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib" +# test_library none vdpau "vdpau/vdpau_x11.h" "-lvdpau" "vdp_device_create_x11(0,0,0,0)" + test_library none vdpau "vdpau/vdpau_x11.h" "-lvdpau" "vdp_device_create_x11(0,0,0,0)" "-I${LOCALBASE}/include -L${LOCALBASE}/lib" +# test_library X11 dbus-glib-1 \