[telepathy-account-widgets] pc: add gudev and cheese as Requires if needed
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [telepathy-account-widgets] pc: add gudev and cheese as Requires if needed
- Date: Fri, 27 Dec 2013 15:31:54 +0000 (UTC)
commit 317cd9e4b501bb495e69912bf99398fdb0f0cf0b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Nov 29 15:48:27 2013 +0100
pc: add gudev and cheese as Requires if needed
https://bugzilla.gnome.org/show_bug.cgi?id=710919
configure.ac | 14 ++++++++++++++
telepathy-account-widgets-uninstalled.pc.in | 2 +-
2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4662e6d..7a5b070 100644
--- a/configure.ac
+++ b/configure.ac
@@ -256,6 +256,13 @@ $UDEV_PKG_ERRORS])
fi
AM_CONDITIONAL(HAVE_UDEV, test "x$have_gudev" = "xyes")
+if test x${have_gudev} = x"yes" ; then
+ REQUIRE_UDEV=", gudev-1.0"
+else
+ REQUIRE_UDEV=""
+fi
+AC_SUBST(REQUIRE_UDEV)
+
# -----------------------------------------------------------
# Cheese (optional dependency for avatar selection)
# -----------------------------------------------------------
@@ -279,6 +286,13 @@ else
fi
AM_CONDITIONAL(BUILD_CHEESE, test x${have_cheese} = xyes)
+if test x${have_cheese} = x"yes" ; then
+ REQUIRE_CHEESE=", cheese-gtk"
+else
+ REQUIRE_CHEESE=""
+fi
+AC_SUBST(REQUIRE_CHEESE)
+
# -----------------------------------------------------------
# ubuntu-online-accounts support
# -----------------------------------------------------------
diff --git a/telepathy-account-widgets-uninstalled.pc.in b/telepathy-account-widgets-uninstalled.pc.in
index b6546bf..1acc1fc 100644
--- a/telepathy-account-widgets-uninstalled.pc.in
+++ b/telepathy-account-widgets-uninstalled.pc.in
@@ -8,6 +8,6 @@ uoa_provider= TPAW_UOA_PROVIDER@
Name: telepathy-account-widgets (uninstalled copy)
Description: Widgets and utility functions for configuring Telepathy accounts
Version: @VERSION@
-Requires: pkg-config >= 0.21, glib-2.0 >= 2.33.3, gobject-2.0 >= 2.33.3, gtk+-3.0 >= 3.5.1, telepathy-glib
= 0.19.9, libxml-2.0, libsecret-1 >= 0.5
+Requires: pkg-config >= 0.21, glib-2.0 >= 2.33.3, gobject-2.0 >= 2.33.3, gtk+-3.0 >= 3.5.1, telepathy-glib
= 0.19.9, libxml-2.0, libsecret-1 >= 0 5 REQUIRE_CHEESE@@REQUIRE_UDEV@
Libs: ${abs_top_builddir}/tp-account-widgets/libtp-account-widgets.la
Cflags: -I${abs_top_srcdir} -I${abs_top_builddir}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]