diff options
Diffstat (limited to 'media-libs/clutter-gst/files/clutter-gst-3.0.14-automagic-udev.patch')
-rw-r--r-- | media-libs/clutter-gst/files/clutter-gst-3.0.14-automagic-udev.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/media-libs/clutter-gst/files/clutter-gst-3.0.14-automagic-udev.patch b/media-libs/clutter-gst/files/clutter-gst-3.0.14-automagic-udev.patch deleted file mode 100644 index 106ceb5d6518..000000000000 --- a/media-libs/clutter-gst/files/clutter-gst-3.0.14-automagic-udev.patch +++ /dev/null @@ -1,50 +0,0 @@ -From ce92707eba5153c7ba0ee107f887480f2db494f2 Mon Sep 17 00:00:00 2001 -From: Gilles Dartiguelongue <eva@gentoo.org> -Date: Tue, 24 Nov 2015 11:32:37 +0100 -Subject: [PATCH] Make libgudev dependency controllable by configure switch - ---- - configure.ac | 27 ++++++++++++++++++++------- - 1 file changed, 20 insertions(+), 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 67dede9..e8f4887 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -209,13 +209,26 @@ AS_IF([test "x$have_cogl_osx" = xyes], - AC_SUBST([GL_LDFLAGS]) - ]) - --PKG_CHECK_MODULES(GUDEV, -- [gudev-1.0], -- [ -- have_gudev=yes -- AC_DEFINE([HAVE_GUDEV], [1], -- ["Defined if gudev is available"]) -- ],[ have_gudev=no ]) -+AC_ARG_WITH([udev], -+ [AS_HELP_STRING([--with-udev], -+ [Enable camera listing through libgudev]), -+ [], [with_udev=auto]) -+ ]) -+ -+AS_IF([test "$with_udev" != "no"], -+ [ -+ PKG_CHECK_MODULES(GUDEV, -+ [gudev-1.0], -+ [ -+ have_gudev=yes -+ AC_DEFINE([HAVE_GUDEV], [1], -+ ["Defined if gudev is available"]) -+ ],[ -+ AS_IF([test "$with_udev" = "yes"], -+ [AC_MSG_ERROR([Could not find libgudev])], -+ [have_gudev=no]) -+ ]) -+ ]) - - dnl ======================================================================== - dnl Experimental support for hardware accelerated decoders. --- -2.6.3 - |