[pitivi] flatpak: Use proper runtime for various branches
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] flatpak: Use proper runtime for various branches
- Date: Wed, 12 Oct 2016 08:38:41 +0000 (UTC)
commit 710ed092305d7aafb37341abd6338a7ffc8777ba
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Sun Oct 9 12:08:41 2016 +0200
flatpak: Use proper runtime for various branches
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1363
build/flatpak/pitivi-flatpak | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index 0c6be54..6a5fbf0 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -30,8 +30,15 @@ import tempfile
from urllib.parse import urlparse
from urllib.request import urlretrieve
-SDK_BRANCH = "3.22"
+# The default branch is master because the script is used most often
+# for development.
PITIVI_BRANCH = "master"
+# To see the existing branches, run:
+# flatpak remote-ls pitivi --user -d
+SDK_BRANCH = {"0.96": "3.20",
+ "0.97.1": "3.20",
+ "stable": "3.20",
+ "master": "3.22"}
FLATPAK_REQ = "0.6.4"
@@ -395,12 +402,13 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
FlatpakRepo("pitivi",
url="http://flatpak.pitivi.org/",
repo_file="http://flatpak.pitivi.org/pitivi.flatpakrepo"))
+ sdk_branch = SDK_BRANCH[self.branch]
self.runtime = FlatpakPackage(
- "org.gnome.Platform", SDK_BRANCH, self.sdk_repo, "x86_64")
+ "org.gnome.Platform", sdk_branch, self.sdk_repo, "x86_64")
self.locale = FlatpakPackage(
- "org.gnome.Platform.Locale", SDK_BRANCH, self.sdk_repo, "x86_64")
+ "org.gnome.Platform.Locale", sdk_branch, self.sdk_repo, "x86_64")
self.sdk = FlatpakPackage(
- "org.gnome.Sdk", SDK_BRANCH, self.sdk_repo, "x86_64")
+ "org.gnome.Sdk", sdk_branch, self.sdk_repo, "x86_64")
self.app = FlatpakPackage(
"org.pitivi.Pitivi", self.branch, self.app_repo, "x86_64")
self.packs = [self.runtime, self.locale]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]