summaryrefslogtreecommitdiffstats
path: root/gnome3-libs/vte3
diff options
context:
space:
mode:
authorEric Sandall2013-08-15 14:57:07 -0700
committerEric Sandall2013-08-15 14:57:07 -0700
commitc72b6d46732d15c8e79e9f7c570110ae71acb43c (patch)
tree82e057e86014728f900d2c62cbfe9a69c6daab13 /gnome3-libs/vte3
parent18eac9af13ed332f3051184dfaa9884e8faf6f37 (diff)
vte3: Optionally depend on gobject-introspection
Allow forcing gobject-introspection dependency
Diffstat (limited to 'gnome3-libs/vte3')
-rwxr-xr-xgnome3-libs/vte3/DEPENDS7
-rw-r--r--gnome3-libs/vte3/HISTORY2
-rwxr-xr-xgnome3-libs/vte3/PRE_SUB_DEPENDS2
-rwxr-xr-xgnome3-libs/vte3/REPAIR^all^PRE_SUB_DEPENDS (renamed from gnome3-libs/vte3/REPAIR^70c687ef8c37c3c6b4e5e52c2f2e4719^PRE_SUB_DEPENDS)2
-rwxr-xr-xgnome3-libs/vte3/SUB_DEPENDS3
5 files changed, 15 insertions, 1 deletions
diff --git a/gnome3-libs/vte3/DEPENDS b/gnome3-libs/vte3/DEPENDS
index 079a8fc341..f61f759120 100755
--- a/gnome3-libs/vte3/DEPENDS
+++ b/gnome3-libs/vte3/DEPENDS
@@ -13,4 +13,9 @@ optional_depends OPENGL \
optional_depends gtk-doc \
"--enable-gtk-doc" "--disable-gtk-doc" \
- "build documentation with gtk-doc"
+ "build documentation with gtk-doc" &&
+
+optional_depends gobject-introspection \
+ '--enable-introspection=yes' \
+ '--enable-introspection=no' \
+ 'enable GObject introspection'
diff --git a/gnome3-libs/vte3/HISTORY b/gnome3-libs/vte3/HISTORY
index 16890164d9..3771dd91b1 100644
--- a/gnome3-libs/vte3/HISTORY
+++ b/gnome3-libs/vte3/HISTORY
@@ -1,8 +1,10 @@
2013-08-15 Eric Sandall <sandalle@sourcemage.org>
* DETAILS: Updated to 0.34.7
* DEPENDS: Depends on intltool
+ Optionally depends on gobject-introspection
* *SUB_DEPENDS: Allow requesting deprecated
GLib/Pango/ATK/GDK/GTK+ features
+ Allow requesting gobject-introspection dependency
2012-12-27 Pol Vinogradov <vin.public@gmail.com>
* DETAILS: version 0.34.2
diff --git a/gnome3-libs/vte3/PRE_SUB_DEPENDS b/gnome3-libs/vte3/PRE_SUB_DEPENDS
index 2ba72639b8..f17d6a1a85 100755
--- a/gnome3-libs/vte3/PRE_SUB_DEPENDS
+++ b/gnome3-libs/vte3/PRE_SUB_DEPENDS
@@ -3,6 +3,8 @@ case $THIS_SUB_DEPENDS in
;;
DEPRECATED) [[ "x${VTE_DEPRECATED}" == "x--enable-deprecation" ]] && return 0
;;
+ INTROSPECTION) is_depends_enabled $SPELL gobject-introspection && return 0
+ ;;
esac
return 1
diff --git a/gnome3-libs/vte3/REPAIR^70c687ef8c37c3c6b4e5e52c2f2e4719^PRE_SUB_DEPENDS b/gnome3-libs/vte3/REPAIR^all^PRE_SUB_DEPENDS
index 2ba72639b8..f17d6a1a85 100755
--- a/gnome3-libs/vte3/REPAIR^70c687ef8c37c3c6b4e5e52c2f2e4719^PRE_SUB_DEPENDS
+++ b/gnome3-libs/vte3/REPAIR^all^PRE_SUB_DEPENDS
@@ -3,6 +3,8 @@ case $THIS_SUB_DEPENDS in
;;
DEPRECATED) [[ "x${VTE_DEPRECATED}" == "x--enable-deprecation" ]] && return 0
;;
+ INTROSPECTION) is_depends_enabled $SPELL gobject-introspection && return 0
+ ;;
esac
return 1
diff --git a/gnome3-libs/vte3/SUB_DEPENDS b/gnome3-libs/vte3/SUB_DEPENDS
index 25d6cb3f44..98d2972998 100755
--- a/gnome3-libs/vte3/SUB_DEPENDS
+++ b/gnome3-libs/vte3/SUB_DEPENDS
@@ -6,6 +6,9 @@ case $THIS_SUB_DEPENDS in
VTE_DEPRECATED="--enable-deprecated"
persistent_add VTE_DEPRECATED
;;
+ INTROSPECTION) echo "GObject introspection requested, forcing dependency on gobject-introspection."
+ depends gobject-introspection '--enable-introspection=yes'
+ ;;
*) echo "unknown sub-depends!"
return 1
;;