[jhbuild] modules: Require libv4l only on Linux



commit ce683b0fe6d25aa81169398b128ba2880aaed4d1
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Nov 12 22:32:36 2016 -0800

    modules: Require libv4l only on Linux
    
    The name Video4Linux says it all, it's not available on BSD or macOS.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774453

 modulesets/gnome-suites-core-deps-3.22.modules |    4 +++-
 modulesets/gnome-suites-core-deps-3.24.modules |    4 +++-
 modulesets/gnome-world.modules                 |    4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-3.22.modules b/modulesets/gnome-suites-core-deps-3.22.modules
index accf326..f760dc5 100644
--- a/modulesets/gnome-suites-core-deps-3.22.modules
+++ b/modulesets/gnome-suites-core-deps-3.22.modules
@@ -699,10 +699,12 @@
       <dep package="gstreamer"/>
       <dep package="gst-plugins-base"/>
       <dep package="flac"/>
-      <dep package="libv4l"/>
       <dep package="libvpx"/>
       <dep package="taglib"/>
       <dep package="wavpack"/>
+      <if condition-set="linux">
+        <dep package="libv4l"/>
+      </if>
     </dependencies>
     <suggests>
       <dep package="pulseaudio"/>
diff --git a/modulesets/gnome-suites-core-deps-3.24.modules b/modulesets/gnome-suites-core-deps-3.24.modules
index b8f288b..622e511 100644
--- a/modulesets/gnome-suites-core-deps-3.24.modules
+++ b/modulesets/gnome-suites-core-deps-3.24.modules
@@ -731,10 +731,12 @@
       <dep package="gstreamer"/>
       <dep package="gst-plugins-base"/>
       <dep package="flac"/>
-      <dep package="libv4l"/>
       <dep package="libvpx"/>
       <dep package="taglib"/>
       <dep package="wavpack"/>
+      <if condition-set="linux">
+        <dep package="libv4l"/>
+      </if>
     </dependencies>
     <suggests>
       <dep package="pulseaudio"/>
diff --git a/modulesets/gnome-world.modules b/modulesets/gnome-world.modules
index 2d47810..595cf31 100644
--- a/modulesets/gnome-world.modules
+++ b/modulesets/gnome-world.modules
@@ -2645,10 +2645,12 @@
       <dep package="gstreamer-0.10"/>
       <dep package="gst-plugins-base-0.10"/>
       <dep package="flac"/>
-      <dep package="libv4l"/>
       <dep package="libvpx"/>
       <dep package="taglib"/>
       <dep package="wavpack"/>
+      <if condition-set="linux">
+        <dep package="libv4l"/>
+      </if>
     </dependencies>
     <suggests>
       <dep package="pulseaudio"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]