summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2016-10-20 17:41:08 -0300
committerThibault Saunier <thibault.saunier@osg.samsung.com>2016-10-20 17:47:07 -0300
commitb0bcc4002631ac6364b0f1054fe6700f90f89cb4 (patch)
tree64edc62ec9767af4260ea026067086982a0ca722
parentb844b7229ad203bfb4afda3611373ed42988b13a (diff)
downloadgstreamer-b0bcc4002631ac6364b0f1054fe6700f90f89cb4.tar.gz
Remove meson/ submodule
But let user have a meson/ checkout that will be used by ./configure
-rw-r--r--.gitmodules3
-rwxr-xr-xconfigure15
m---------meson0
3 files changed, 5 insertions, 13 deletions
diff --git a/.gitmodules b/.gitmodules
index f601ecb48b..e69de29bb2 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +0,0 @@
-[submodule "meson"]
- path = meson
- url = https://github.com/mesonbuild/meson.git
diff --git a/configure b/configure
index 66bf858dc8..a43bca2653 100755
--- a/configure
+++ b/configure
@@ -16,15 +16,12 @@ PROJECTNAME = "GStreamer 'all'"
ROOTDIR = os.path.abspath(os.path.dirname(__file__))
-def get_meson(update_meson):
+def get_meson():
meson = os.path.join(ROOTDIR, 'meson', 'meson.py')
- if update_meson or not os.path.exists(meson):
- print("Updating meson submodule... ", end='')
- sys.stdout.flush()
- git('submodule', 'update', '--init', repository_path=ROOTDIR)
- print("DONE")
+ if os.path.exists(meson):
+ return meson
- return meson
+ return accept_command(["meson.py", "meson"])
def accept_command(commands):
@@ -45,7 +42,7 @@ def get_configs(meson):
def configure_meson(args, options):
"""Configures meson and generate the Makefile."""
- meson = get_meson(options.update_meson)
+ meson = get_meson()
if not meson:
print("Install mesonbuild to build %s: http://mesonbuild.com/\n"
"You can simply install it with:\n"
@@ -76,8 +73,6 @@ if __name__ == "__main__":
parser.add_argument("--no-reconfigure", action='store_true',
default=False, help='Avoid removing the build dir'
' if not necessary.')
- parser.add_argument("-u", "--update-meson", action='store_true',
- default=False, help='Do not update meson')
options, args = parser.parse_known_args()
if options.no_reconfigure:
if os.path.exists(
diff --git a/meson b/meson
deleted file mode 160000
-Subproject d72a5c14f83253bafaf6b2531442d981ea1df2e