Commit b8b22123 authored by Thibault Saunier's avatar Thibault Saunier

flatpak: Add a variable for the default Gst branch

parent 59534636
......@@ -43,6 +43,7 @@ SDK_BRANCH = {"0.96": "3.20",
"stable": "3.24",
"master": "3.24"}
FLATPAK_REQ = "0.6.4"
DEFAULT_GST_BRANCH = 'master'
class Colors: # pylint: disable=too-few-public-methods
......@@ -103,7 +104,7 @@ def expand_json_file(json_template, outfile, basedir, gst_version, branchname):
if module["name"].startswith("gst"):
module["sources"][0]["branch"] = gst_version
if gst_version != "master":
if gst_version != DEFAULT_GST_BRANCH:
continue
repo = os.path.join(basedir, module["name"])
......@@ -643,7 +644,7 @@ if __name__ == "__main__":
default="master")
devel.add_argument("--gst-version", dest="gst_version",
help="The GStreamer version to build.",
default="master")
default=DEFAULT_GST_BRANCH)
devel.add_argument("--check", dest="check",
help="Run unit tests once the build is done.",
action="store_true")
......
......@@ -447,6 +447,7 @@
"sources": [
{
"type": "git",
"branch": "master",
"url": "git://anongit.freedesktop.org/gstreamer/gstreamer-vaapi"
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment