summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgnome2-libs/gobject-introspection/DETAILS2
-rw-r--r--gnome2-libs/gobject-introspection/HISTORY3
-rwxr-xr-xgnome2-libs/gobject-introspection/PREPARE3
-rwxr-xr-xgnome2-libs/gobject-introspection/PRE_SUB_DEPENDS2
-rwxr-xr-xgnome2-libs/gobject-introspection/SUB_DEPENDS2
5 files changed, 8 insertions, 4 deletions
diff --git a/gnome2-libs/gobject-introspection/DETAILS b/gnome2-libs/gobject-introspection/DETAILS
index 1a6d400dc6..d705336d9b 100755
--- a/gnome2-libs/gobject-introspection/DETAILS
+++ b/gnome2-libs/gobject-introspection/DETAILS
@@ -1,5 +1,5 @@
SPELL=gobject-introspection
-if [[ $GOBJ_VER == devel ]]; then
+if [[ $GOBJECT_INTROSPECTION_BRANCH == devel ]]; then
VERSION=1.42.0
else
VERSION=1.42.0
diff --git a/gnome2-libs/gobject-introspection/HISTORY b/gnome2-libs/gobject-introspection/HISTORY
index 8a964ea7d6..4765b528bd 100644
--- a/gnome2-libs/gobject-introspection/HISTORY
+++ b/gnome2-libs/gobject-introspection/HISTORY
@@ -1,3 +1,6 @@
+2015-07-19 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS, PREPARE, PRE_SUB_DEPENDS, SUB_DEPENDS: Use prepare_select_branch
+
2014-01-03 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 1.42.0
diff --git a/gnome2-libs/gobject-introspection/PREPARE b/gnome2-libs/gobject-introspection/PREPARE
index e3f5b7d780..b340e9672b 100755
--- a/gnome2-libs/gobject-introspection/PREPARE
+++ b/gnome2-libs/gobject-introspection/PREPARE
@@ -1 +1,2 @@
-config_query_list GOBJ_VER 'which version to build?' stable devel
+. "$GRIMOIRE"/FUNCTIONS &&
+prepare_select_branch stable devel
diff --git a/gnome2-libs/gobject-introspection/PRE_SUB_DEPENDS b/gnome2-libs/gobject-introspection/PRE_SUB_DEPENDS
index fd4eaaea9b..329c577ca6 100755
--- a/gnome2-libs/gobject-introspection/PRE_SUB_DEPENDS
+++ b/gnome2-libs/gobject-introspection/PRE_SUB_DEPENDS
@@ -1,4 +1,4 @@
case $THIS_SUB_DEPENDS in
- GOBJ_DEVEL) if [[ "$GOBJ_VER" == "devel" ]]; then return 0; fi;;
+ GOBJ_DEVEL) if [[ "$GOBJECT_INTROSPECTION_BRANCH" == "devel" ]]; then return 0; fi;;
esac
return 1
diff --git a/gnome2-libs/gobject-introspection/SUB_DEPENDS b/gnome2-libs/gobject-introspection/SUB_DEPENDS
index 422d122b5b..1380ac585f 100755
--- a/gnome2-libs/gobject-introspection/SUB_DEPENDS
+++ b/gnome2-libs/gobject-introspection/SUB_DEPENDS
@@ -1,5 +1,5 @@
case $THIS_SUB_DEPENDS in
GOBJ_DEVEL) echo "Devel release needed, forcing it." &&
- GOBJ_VER="devel" ;;
+ GOBJECT_INTROSPECTION_BRANCH="devel" ;;
*) echo "unknown sub-depends!"; return 1 ;;
esac