aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--debian/control1
-rw-r--r--tests/Makefile.am2
3 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4190606..b9c8800 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,8 @@ PKG_CHECK_MODULES(APPLET, gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION
PKG_CHECK_MODULES(GIO, gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION)
+PKG_CHECK_MODULES(DBUSTEST, dbustest-1)
+
AC_SUBST(APPLET_CFLAGS)
AC_SUBST(APPLET_LIBS)
diff --git a/debian/control b/debian/control
index 5cdba7d..eccb874 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends: debhelper (>= 9),
gtk-doc-tools,
intltool,
libaccountsservice-dev,
+ libdbustest1-dev,
libgirepository1.0-dev (>= 0.9.12),
libgtest-dev,
python3-dbusmock,
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1980de3..7d433ba 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -47,10 +47,12 @@ indicator_test_CPPFLAGS = \
-DINDICATOR_MESSAGES_SERVICE_BINARY="\"$(top_bindir)/service/indicator-messages-service\"" \
-std=c++11 \
$(APPLET_CFLAGS) \
+ $(DBUSTEST_CFLAGS) \
$(AM_CPPFLAGS)
indicator_test_LDADD = \
$(APPLET_LIBS) \
+ $(DBUSTEST_LIBS) \
libgtest.a
TESTS += indicator-test