[gnome-commander/gcmd-1-6] Introduces GTEST_REQ variable for checking for Googles test library
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-6] Introduces GTEST_REQ variable for checking for Googles test library
- Date: Sun, 28 May 2017 17:15:24 +0000 (UTC)
commit 6d85ee26b5387766e3724f74ba47d11a1d5da3df
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sun Feb 19 21:05:58 2017 +0100
Introduces GTEST_REQ variable for checking for Googles test library
Currently, this variable is only used when creating the ebuild file
in the data directory. This could possibly be expanded later on for
checking for the gtest library when running "make check".
configure.ac | 5 +++++
data/gnome-commander.ebuild.in | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6b55b19..677d54f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,6 +74,11 @@ AC_SUBST(LIBGSF_REQ)
AC_SUBST(POPPLER_REQ)
AC_SUBST(GOBJECT_CFLAGS)
+dnl Google Test library for 'make check'
+dnl This variable is currently used only in gentoo ebuild.
+GTEST_REQ=1.7.0
+AC_SUBST(GTEST_REQ)
+
dnl Check for glib
AC_MSG_CHECKING(if glib >= ${GLIB_REQ} exists)
if pkg-config --exists glib-2.0 ; then
diff --git a/data/gnome-commander.ebuild.in b/data/gnome-commander.ebuild.in
index d5128db..5b289d7 100644
--- a/data/gnome-commander.ebuild.in
+++ b/data/gnome-commander.ebuild.in
@@ -44,7 +44,7 @@ DEPEND="
>=dev-util/intltool-0.35.0
sys-devel/gettext
virtual/pkgconfig
- test? ( >=dev-util/cppunit-@CPPUNIT_REQ@ )
+ test? ( >=dev-cpp/gtest-@GTEST_REQ@ )
"
pkg_setup() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]