summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorVlad Glagolev2012-08-30 14:16:57 +0400
committerVlad Glagolev2012-08-30 14:16:57 +0400
commitc0d6521d075c24bb99023efed0218fbb4fda6310 (patch)
treee35c4926de88de94558719b5f75ec348a7d4dd26 /telephony
parent0d1a799ac1a648cb9bf751bdb1b6e32daf3cecbc (diff)
farstream: added missing dependencies
Diffstat (limited to 'telephony')
-rwxr-xr-xtelephony/farstream/DEPENDS17
-rw-r--r--telephony/farstream/HISTORY4
-rwxr-xr-xtelephony/farstream/PRE_SUB_DEPENDS4
-rwxr-xr-xtelephony/farstream/SUB_DEPENDS6
4 files changed, 30 insertions, 1 deletions
diff --git a/telephony/farstream/DEPENDS b/telephony/farstream/DEPENDS
index 3914e0b967..56d0b96457 100755
--- a/telephony/farstream/DEPENDS
+++ b/telephony/farstream/DEPENDS
@@ -1 +1,16 @@
-depends gstreamer
+depends gstreamer &&
+
+optional_depends python \
+ "--enable-python" \
+ "--disable-python" \
+ "for Python bindings" &&
+
+if is_depends_enabled $SPELL python; then
+ depends pygobject &&
+ depends gst-python
+fi &&
+
+optional_depends gtk-doc \
+ "--enable-gtk-doc" \
+ "--disable-gtk-doc" \
+ "to build documentation"
diff --git a/telephony/farstream/HISTORY b/telephony/farstream/HISTORY
index 4ceeaeb9da..8e8aef302e 100644
--- a/telephony/farstream/HISTORY
+++ b/telephony/farstream/HISTORY
@@ -1,2 +1,6 @@
+2012-08-30 Vlad Glagolev <stealth@sourcemage.org>
+ * DEPENDS: added missing optional dependencies (python, gtk-doc)
+ * {PRE_,}SUB_DEPENDS: added, for PYTHON subdependency
+
2012-04-05 Ladislav Hagara <hgr@vabo.cz>
* DETAILS, DEPENDS: spell created, version 0.1.2
diff --git a/telephony/farstream/PRE_SUB_DEPENDS b/telephony/farstream/PRE_SUB_DEPENDS
new file mode 100755
index 0000000000..90596d9d5d
--- /dev/null
+++ b/telephony/farstream/PRE_SUB_DEPENDS
@@ -0,0 +1,4 @@
+case "$THIS_SUB_DEPENDS" in
+ PYTHON) is_depends_enabled $SPELL python ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"; return 1;;
+esac
diff --git a/telephony/farstream/SUB_DEPENDS b/telephony/farstream/SUB_DEPENDS
new file mode 100755
index 0000000000..6e8c9904b4
--- /dev/null
+++ b/telephony/farstream/SUB_DEPENDS
@@ -0,0 +1,6 @@
+case "$THIS_SUB_DEPENDS" in
+ PYTHON) depends python "--enable-python" &&
+ depends pygobject &&
+ depends gst-python ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"; return 1;;
+esac