Add pygobject and pycairo as subprojects
authorMathieu Duponchelle <mathieu@centricular.com>
Sat, 27 Oct 2018 15:58:44 +0000 (17:58 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Sat, 27 Oct 2018 15:58:44 +0000 (17:58 +0200)
.gitignore
meson.build
subprojects/pycairo.wrap [new file with mode: 0644]
subprojects/pygobject.wrap [new file with mode: 0644]

index f29aa9a..f90d69f 100644 (file)
@@ -38,4 +38,6 @@ subprojects/libunwind/
 subprojects/proxy-libintl/
 subprojects/zlib/
 subprojects/openh264/
+subprojects/pygobject/
+subprojects/pycairo/
 prefix/
index dbfa0fa..59c5bc7 100644 (file)
@@ -63,7 +63,10 @@ subprojects = {
     'gst-plugins-good': {},
     'gst-plugins-bad': { 'option': get_option('bad') },
     'gst-plugins-ugly': { 'option': get_option('ugly') },
-    'gst-python': { 'option': python_opt, 'dependencies': [dependency('pygobject-3.0', required : python_opt)] },
+    'gst-python': {
+      'option': python_opt,
+      'dependencies': [dependency('pygobject-3.0', fallback: ['pygobject', 'pygobject_dep'], required : python_opt)]
+    },
     'gst-omx': { 'option': get_option('omx'), },
     'gst-libav': { 'option': get_option('libav'), 'dependencies': libav_deps},
     'gstreamer-vaapi': {
diff --git a/subprojects/pycairo.wrap b/subprojects/pycairo.wrap
new file mode 100644 (file)
index 0000000..87eac57
--- /dev/null
@@ -0,0 +1,4 @@
+[wrap-git]
+directory=pycairo
+url=https://github.com/pygobject/pycairo.git
+revision=master
diff --git a/subprojects/pygobject.wrap b/subprojects/pygobject.wrap
new file mode 100644 (file)
index 0000000..1a4e7be
--- /dev/null
@@ -0,0 +1,5 @@
+[wrap-git]
+directory=pygobject
+url=https://gitlab.gnome.org/GNOME/pygobject.git
+push-url=git@gitlab.gnome.org:GNOME/pygobject.git
+revision=master