public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-im/choqok/files: choqok-0.9.98-libindicate.patch choqok-0.9.55_qt47.patch
@ 2011-01-13  6:59 Theo Chatzimichos (tampakrap)
  0 siblings, 0 replies; only message in thread
From: Theo Chatzimichos (tampakrap) @ 2011-01-13  6:59 UTC (permalink / raw
  To: gentoo-commits

tampakrap    11/01/13 06:59:29

  Added:                choqok-0.9.98-libindicate.patch
  Removed:              choqok-0.9.55_qt47.patch
  Log:
  Fix automagic depedency for libindicate-qt, bug 348456
  
  (Portage version: 2.2.0_alpha14/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-im/choqok/files/choqok-0.9.98-libindicate.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/choqok/files/choqok-0.9.98-libindicate.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/choqok/files/choqok-0.9.98-libindicate.patch?rev=1.1&content-type=text/plain

Index: choqok-0.9.98-libindicate.patch
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2612167..67dda82 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,18 +8,19 @@ set(CHOQOK_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
 
 set(CMAKE_MODULE_PATH ${CHOQOK_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
 
+option(QTINDICATE_ENABLE "Enable support for notifications via indicator")
+
 find_package(QJson REQUIRED)
 find_package(QCA2 REQUIRED)
 find_package(QtOAuth REQUIRED)
 
-find_package(QtIndicate QUIET)
-
-if(QTINDICATE_FOUND)
+if(QTINDICATE_ENABLE)
+    find_package(QtIndicate QUIET)
     message(STATUS "Found libindicate-qt: Will support notifications via indicator")
     set(HAVE_INDICATEQT true)
-else(QTINDICATE_FOUND)
+else(QTINDICATE_ENABLE)
     message(STATUS "Optional dependency libindicate-qt not found: Won't support notifications via indicator")
-endif(QTINDICATE_FOUND)
+endif(QTINDICATE_ENABLE)
 
 set(CHOQOK_INCLUDES
 ${KDE4_INCLUDES}






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-13  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13  6:59 [gentoo-commits] gentoo-x86 commit in net-im/choqok/files: choqok-0.9.98-libindicate.patch choqok-0.9.55_qt47.patch Theo Chatzimichos (tampakrap)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox