[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim-runtime] resources/google: Hide process on Mac.
From:       Till Adam <adam () kde ! org>
Date:       2012-07-24 14:59:59
Message-ID: 20120724145959.8FFD4A6094 () git ! kde ! org
[Download RAW message or body]

Git commit 121b3cbf2734ee853e883e0dec58b662e1030990 by Till Adam.
Committed on 24/07/2012 at 16:59.
Pushed by tilladam into branch 'master'.

Hide process on Mac.

M  +16   -0    resources/google/calendar/CMakeLists.txt
M  +13   -0    resources/google/contacts/CMakeLists.txt

http://commits.kde.org/kdepim-runtime/121b3cbf2734ee853e883e0dec58b662e1030=
990

diff --git a/resources/google/calendar/CMakeLists.txt b/resources/google/ca=
lendar/CMakeLists.txt
index bc3f02f..a937781 100644
--- a/resources/google/calendar/CMakeLists.txt
+++ b/resources/google/calendar/CMakeLists.txt
@@ -31,6 +31,21 @@ qt4_add_dbus_adaptor(calendarresource_SRCS
 =

 kde4_add_executable(akonadi_googlecalendar_resource RUN_UNINSTALLED ${cale=
ndarresource_SRCS})
 =

+if(Q_WS_MAC)
+  set_target_properties(akonadi_googlecalendar_resource PROPERTIES
+    MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/../../Info.plist.=
template
+  )
+  set_target_properties(akonadi_googlecalendar_resource PROPERTIES
+    MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.Akonadi.googlecalendar"
+  )
+  set_target_properties(akonadi_googlecalendar_resource PROPERTIES
+    MACOSX_BUNDLE_BUNDLE_NAME "KDE Akonadi Google Calendar Resource"
+  )
+endif()
+
+
+
+
 target_link_libraries(akonadi_googlecalendar_resource
   ${KDEPIMLIBS_AKONADI_LIBS}
   ${KDEPIMLIBS_KCAL_LIBS}
@@ -43,6 +58,7 @@ target_link_libraries(akonadi_googlecalendar_resource
   ${KDE4_KDECORE_LIBS}
   ${KDE4_KDEWEBKIT_LIBS}
   ${QJSON_LIBRARIES}
+  ${QJSON_LIBRARY} # for Mac OSX
   ${LibKGAPI_LIBRARY}
 )
 =

diff --git a/resources/google/contacts/CMakeLists.txt b/resources/google/co=
ntacts/CMakeLists.txt
index 30ee987..30fb43b 100644
--- a/resources/google/contacts/CMakeLists.txt
+++ b/resources/google/contacts/CMakeLists.txt
@@ -22,6 +22,19 @@ qt4_add_dbus_adaptor(contactsresource_SRCS
 =

 kde4_add_executable(akonadi_googlecontacts_resource RUN_UNINSTALLED ${cont=
actsresource_SRCS})
 =

+if(Q_WS_MAC)
+  set_target_properties(akonadi_googlecontacts_resource PROPERTIES
+    MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/../../Info.plist.=
template
+  )
+  set_target_properties(akonadi_googlecontacts_resource PROPERTIES
+    MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.Akonadi.googlecontacts"
+  )
+  set_target_properties(akonadi_googlecontacts_resource PROPERTIES
+    MACOSX_BUNDLE_BUNDLE_NAME "KDE Akonadi Google Contacts Resource"
+  )
+endif()
+
+
 target_link_libraries(akonadi_googlecontacts_resource
   ${KDEPIMLIBS_AKONADI_LIBS}
   ${KDEPIMLIBS_KABC_LIBS}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic