From f84db6890556e2dd966d0d5853dae8fe1c7db900 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Sun, 11 Nov 2012 19:44:01 +0000 Subject: Check for gstream 1.0 typelib in 3.6 --- (limited to 'scripts') diff --git a/scripts/check-system b/scripts/check-system index 5349fb1..bc2b6bd 100755 --- a/scripts/check-system +++ b/scripts/check-system @@ -173,7 +173,8 @@ checks = [] checks.extend(load_deps_json("system")) checks.extend(load_deps_json("sugar-build")) checks.extend(load_deps_json("sugar-buildtime")) -checks.extend(load_deps_json("sugar-runtime")) +checks.extend(load_deps_json("sugar-runtime-%s" % + sysinfo.get_system_version())) run_checks(distro, checks, packages) warn_if_unsupported(distro) diff --git a/scripts/deps/sugar-runtime.json b/scripts/deps/sugar-runtime-3.4.json index 61cc7c1..61cc7c1 100644 --- a/scripts/deps/sugar-runtime.json +++ b/scripts/deps/sugar-runtime-3.4.json diff --git a/scripts/deps/sugar-runtime.json b/scripts/deps/sugar-runtime-3.6.json index 61cc7c1..29109f2 100644 --- a/scripts/deps/sugar-runtime.json +++ b/scripts/deps/sugar-runtime-3.6.json @@ -50,7 +50,7 @@ "check": "from gi.repository import GConf", "checker": "python" }, { "check_name": "gst typelib", - "check": "from gi.repository import Gst", + "check": "import gi; gi.require_version('Gst', '1.0'); from gi.repository import Gst", "checker": "python" }, { "check_name": "wnck typelib", "check": "from gi.repository import Wnck", -- cgit v0.9.1