Update mach bootstrap-gstreamer to use the latest binaries

This commit is contained in:
Fernando Jiménez Moreno 2019-03-27 11:17:18 +01:00
parent 0cb87cca13
commit 10585be25c
4 changed files with 8 additions and 10 deletions

View file

@ -46,7 +46,7 @@ def install_trusty_deps(force):
def check_gstreamer_lib():
return subprocess.call(["pkg-config", "--atleast-version=1.12", "gstreamer-1.0"],
return subprocess.call(["pkg-config", "--atleast-version=1.14", "gstreamer-1.0"],
stdout=PIPE, stderr=PIPE) == 0
@ -94,7 +94,7 @@ def install_salt_dependencies(context, force):
def gstreamer(context, force=False):
cur = os.curdir
gstdir = os.path.join(cur, "support", "linux", "gstreamer")
if not os.path.isdir(os.path.join(gstdir, "gstreamer", "lib")):
if not os.path.isdir(os.path.join(gstdir, "gst", "lib")):
subprocess.check_call(["bash", "gstreamer.sh"], cwd=gstdir)
return True
return False