[pitivi] Add gst-transcoder as a git module



commit f4542bad36fb70f8f017856b22eabf6ac7a34f21
Author: Thibault Saunier <tsaunier gnome org>
Date:   Fri Jul 8 11:24:38 2016 -0400

    Add gst-transcoder as a git module
    
    Differential Revision: https://phabricator.freedesktop.org/D1161

 .gitignore                 |    1 -
 .gitmodules                |    3 +++
 configure                  |    8 ++++++++
 subprojects/gst-transcoder |    1 +
 4 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1db740b..15c6d47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,7 +12,6 @@ bin/pitivi
 data/pitivi.desktop.in
 pitivi/configure.py
 *__pycache__*
-subprojects/gst-transcoder/
 
 # Generated by make check
 tests/samples/*.proxy.mkv
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..3c5fe04
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "subprojects/gst-transcoder"]
+       path = subprojects/gst-transcoder
+       url = https://github.com/pitivi/gst-transcoder
diff --git a/configure b/configure
index fa984a2..a4a7636 100755
--- a/configure
+++ b/configure
@@ -31,6 +31,14 @@ then
     fi
 fi
 
+# Make sure we have subprojects/gst-transcoder
+if test ! -f subprojects/gst-transcoder/meson.build;
+then
+  echo "+ Setting up subprojects/gst-transcoder/ submodule"
+  git submodule init
+fi
+git submodule update
+
 # install pre-commit hook for doing clean commits
 rm -f .git/hooks/pre-commit
 ln -s ../../pre-commit.hook .git/hooks/pre-commit
diff --git a/subprojects/gst-transcoder b/subprojects/gst-transcoder
new file mode 160000
index 0000000..1d9fba9
--- /dev/null
+++ b/subprojects/gst-transcoder
@@ -0,0 +1 @@
+Subproject commit 1d9fba99967fe51ddbda25667f8bafc203f4520d


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