[gnome-commander] Introduces GTEST_REQ variable for checking for Googles test library



commit 1e9b51085d6df6cbc50693e738b7b34c54a14379
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 a9bb755..6581cc6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,6 +65,11 @@ AC_SUBST(TAGLIB_REQ)
 AC_SUBST(LIBGSF_REQ)
 AC_SUBST(POPPLER_REQ)
 
+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
 PKG_CHECK_MODULES([GLIB], [glib-2.0 >= ${GLIB_REQ}])
 
diff --git a/data/gnome-commander.ebuild.in b/data/gnome-commander.ebuild.in
index 21d0179..858ad01 100644
--- a/data/gnome-commander.ebuild.in
+++ b/data/gnome-commander.ebuild.in
@@ -39,7 +39,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@ )
 "
 
 src_configure() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]