[pitivi] bin: Do not build GI and PyGobject if not necessary
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] bin: Do not build GI and PyGobject if not necessary
- Date: Fri, 4 Oct 2013 21:17:28 +0000 (UTC)
commit 306e8804ee1abaee6fab0ef539be266865c0e62a
Author: Thibault Saunier <thibault saunier collabora com>
Date: Wed Oct 2 21:43:12 2013 +0200
bin: Do not build GI and PyGobject if not necessary
bin/pitivi-git-environment.sh | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/bin/pitivi-git-environment.sh b/bin/pitivi-git-environment.sh
index 3232f8a..3a44814 100755
--- a/bin/pitivi-git-environment.sh
+++ b/bin/pitivi-git-environment.sh
@@ -39,12 +39,16 @@ else
echo "glib is up to date, using the version already available."
fi
if pkg-config gobject-introspection-1.0 --atleast-version=$GOBJECT_INTROSPECTION_MINIMUM_VERSION; then
- echo "gobject-introspection-1.0 is up to date, but we are using a local build because you might want to
fix bugs if you find any."
+ echo "gobject-introspection-1.0 is up to date, not building."
+else
+ MODULES_CORE="${MODULE_GLIB} gobject-introspection"
fi
+
if python2 -c "import gi; gi.check_version('${PYGOBJECT_RELEASE_TAG}')" &> /dev/null; then
- echo "pygobject is up to date, but we are using a local build because you might want to fix bugs if you
find any."
+ echo "pygobject is up to date, not building"
+else
+ MODULES_CORE="${MODULE_GLIB} pygobject"
fi
-MODULES_CORE="${MODULE_GLIB} gobject-introspection pygobject"
# The following decision has to be made before we've set any env variables,
# otherwise the script will detect our "gst uninstalled" and think it's the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]