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

List:       kde-commits
Subject:    [gluon] /: Add the KDE, KDE Ext,
From:       Laszlo Papp <lpapp () kde ! org>
Date:       2011-07-31 22:38:44
Message-ID: 20110731223844.2856AA60B4 () git ! kde ! org
[Download RAW message or body]

Git commit f0f262ed7804c884860ad9b95f5453d93837ff48 by Laszlo Papp.
Committed on 01/08/2011 at 03:37.
Pushed by lpapp into branch 'master'.

Add the KDE, KDE Ext, Plasmoid and Touch players to the Windows Installer pack

M  +8    -2    player/kde/CMakeLists.txt
M  +4    -2    player/plasmoid/CMakeLists.txt
M  +7    -2    player/touch/CMakeLists.txt
M  +7    -2    player/qtext/CMakeLists.txt
M  +50   -0    CMakeLists.txt
M  +11   -3    player/kdeext/CMakeLists.txt

http://commits.kde.org/gluon/f0f262ed7804c884860ad9b95f5453d93837ff48

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6ee7bd7..723fa28 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -208,6 +208,7 @@ else()
     )
 endif()
 
+###### CPACK PART ######
 #Packaging options
 #Component based settings
 set(CPACK_COMPONENTS_ALL
@@ -221,6 +222,7 @@ set(CPACK_COMPONENTS_ALL
     gluoncreator
 )
 
+# Core library
 set(CPACK_COMPONENT_GLUONCORE_DISPLAY_NAME "Gluon Core Library")
 set(CPACK_COMPONENT_GLUONCORE_DESCRIPTION
     "GluonCore is a thin library which
@@ -230,6 +232,7 @@ set(CPACK_COMPONENT_GLUONCORE_DESCRIPTION
 set(CPACK_COMPONENT_GLUONCORE_GROUP "GLUONLIBS")
 set(CPACK_COMPONENT_GLUONCORE_INSTALL_TYPES Minimal Full)
 
+# Audio library
 set(CPACK_COMPONENT_GLUONAUDIO_DISPLAY_NAME "Gluon Audio Library")
 set(CPACK_COMPONENT_GLUONAUDIO_DESCRIPTION
     "GluonAudio provides many convenience classes to easily use OpenAL in your
@@ -239,6 +242,7 @@ set(CPACK_COMPONENT_GLUONAUDIO_DEPENDS gluoncore)
 set(CPACK_COMPONENT_GLUONAUDIO_GROUP "GLUONLIBS")
 set(CPACK_COMPONENT_GLUONAUDIO_INSTALL_TYPES Minimal Full)
 
+# Input library
 set(CPACK_COMPONENT_GLUONINPUT_DISPLAY_NAME "Gluon Input Library")
 set(CPACK_COMPONENT_GLUONINPUT_DESCRIPTION
     "GluonInput provides a cross-platform way to manage and use the various
@@ -248,6 +252,7 @@ set(CPACK_COMPONENT_GLUONINPUT_DEPENDS gluoncore)
 set(CPACK_COMPONENT_GLUONINPUT_GROUP "GLUONLIBS")
 set(CPACK_COMPONENT_GLUONINPUT_INSTALL_TYPES Minimal Full)
 
+# Graphics library
 set(CPACK_COMPONENT_GLUONGRAPHICS_DISPLAY_NAME "Gluon Graphics Library")
 set(CPACK_COMPONENT_GLUONGRAPHICS_DESCRIPTION
     "GluonGraphics is a graphics library based on OpenGL. It provides easy to
@@ -257,6 +262,7 @@ set(CPACK_COMPONENT_GLUONGRAPHICS_DEPENDS gluoncore)
 set(CPACK_COMPONENT_GLUONGRAPHICS_GROUP "GLUONLIBS")
 set(CPACK_COMPONENT_GLUONGRAPHICS_INSTALL_TYPES Minimal Full)
 
+# Engine library
 set(CPACK_COMPONENT_GLUONENGINE_DISPLAY_NAME "Gluon Engine Library")
 set(CPACK_COMPONENT_GLUONENGINE_DESCRIPTION
     "GluonEngine provides all the necessary classes to build the structure of a
@@ -266,6 +272,7 @@ set(CPACK_COMPONENT_GLUONENGINE_DEPENDS gluonaudio gluoninput \
gluongraphics)  set(CPACK_COMPONENT_GLUONENGINE_GROUP "GLUONLIBS")
 set(CPACK_COMPONENT_GLUONENGINE_INSTALL_TYPES Minimal Full)
 
+# Player library
 set(CPACK_COMPONENT_GLUONPLAYER_DISPLAY_NAME "Gluon Player Library")
 set(CPACK_COMPONENT_GLUONPLAYER_DESCRIPTION
     "GluonPlayer provides all the necessary utilities to build a Gluon Player"
@@ -274,6 +281,7 @@ set(CPACK_COMPONENT_GLUONPLAYER_DEPENDS gluonengine)
 set(CPACK_COMPONENT_GLUONPLAYER_GROUP "GLUONLIBS")
 set(CPACK_COMPONENT_GLUONPLAYER_INSTALL_TYPES Minimal Full)
 
+# Libraries
 set(CPACK_COMPONENT_GROUP_GLUONLIBS_DISPLAY_NAME "Gluon Libraries")
 set(CPACK_COMPONENT_GROUP_GLUONLIBS_DESCRIPTION
     "They provide functionality to assist in constructing games, and they
@@ -281,6 +289,7 @@ set(CPACK_COMPONENT_GROUP_GLUONLIBS_DESCRIPTION
     these games."
 )
 
+#Qt Player
 set(CPACK_COMPONENT_GLUONQTPLAYER_DISPLAY_NAME "Gluon Qt Player Application")
 set(CPACK_COMPONENT_GLUONQTPLAYER_DESCRIPTION
     "Gluon Qt Player Application mostly meant for debugging and simple purposes"
@@ -289,9 +298,48 @@ set(CPACK_COMPONENT_GLUONQTPLAYER_DEPENDS gluonplayer)
 set(CPACK_COMPONENT_GLUONQTPLAYER_GROUP "GLUONPLAYERS")
 set(CPACK_COMPONENT_GLUONQTPLAYER_INSTALL_TYPES Minimal Full)
 
+#Touch Player
+set(CPACK_COMPONENT_GLUONTOUCHPLAYER_DISPLAY_NAME "Gluon Touch Player Application")
+set(CPACK_COMPONENT_GLUONTOUCHPLAYER_DESCRIPTION
+    "Gluon Touch Player Application mostly meant for Maemo, Meego, handset,
+    tablet, mobile platforms by using plain Qt/QML solution"
+)
+set(CPACK_COMPONENT_GLUONTOUCHPLAYER_DEPENDS gluonplayer)
+set(CPACK_COMPONENT_GLUONTOUCHPLAYER_GROUP "GLUONPLAYERS")
+set(CPACK_COMPONENT_GLUONTOUCHPLAYER_INSTALL_TYPES Minimal Full)
+
+#KDE Player
+set(CPACK_COMPONENT_GLUONKDEPLAYER_DISPLAY_NAME "Gluon KDE Player Application")
+set(CPACK_COMPONENT_GLUONKDEPLAYER_DESCRIPTION
+    "Gluon KDE Player Application mostly meant for debugging on Windows and simple \
purposes" +)
+set(CPACK_COMPONENT_GLUONKDEPLAYER_DEPENDS gluonplayer)
+set(CPACK_COMPONENT_GLUONKDEPLAYER_GROUP "GLUONPLAYERS")
+set(CPACK_COMPONENT_GLUONKDEPLAYER_INSTALL_TYPES Full)
+
+#KDE Ext. Player
+set(CPACK_COMPONENT_GLUONKDEEXTPLAYER_DISPLAY_NAME "Gluon KDE Ext. Player \
Application") +set(CPACK_COMPONENT_GLUONKDEEXTPLAYER_DESCRIPTION
+    "Gluon KDE Ext. Player Application is a full-fledged and powerful KDE Desktop \
Player" +)
+set(CPACK_COMPONENT_GLUONKDEEXTPLAYER_DEPENDS gluonplayer)
+set(CPACK_COMPONENT_GLUONKDEEXTPLAYER_GROUP "GLUONPLAYERS")
+set(CPACK_COMPONENT_GLUONKDEEXTPLAYER_INSTALL_TYPES Full)
+
+#Plasmoid Player
+#set(CPACK_COMPONENT_GLUONPLASMOIDPLAYER_DISPLAY_NAME "Gluon Plasmoid Player \
Application") +#set(CPACK_COMPONENT_GLUONPLASMOIDPLAYER_DESCRIPTION
+#    "Gluon Plasmoid Player Application is a full-fledged and powerful Plasmoid \
applet " +#)
+#set(CPACK_COMPONENT_GLUONPLASMOIDPLAYER_DEPENDS gluonplayer)
+#set(CPACK_COMPONENT_GLUONPLASMOIDPLAYER_GROUP "GLUONPLAYERS")
+#set(CPACK_COMPONENT_GLUONPLASMOIDPLAYER_INSTALL_TYPES Full)
+
+#Players
 set(CPACK_COMPONENT_GROUP_GLUONPLAYERS_DISPLAY_NAME "Gluon Player Applications")
 set(CPACK_COMPONENT_GROUP_GLUONPLAYERS_DISPLAY_DESCRIPTION "Gluon Player \
Applications")  
+#Creator
 set(CPACK_COMPONENT_GLUONCREATOR_DISPLAY_NAME "Gluon Creator Application")
 set(CPACK_COMPONENT_GLUONCREATOR_DESCRIPTION "Gluon Creator Application")
 set(CPACK_COMPONENT_GLUONCREATOR_DEPENDS gluonplayer)
@@ -341,4 +389,6 @@ set(CPACK_NSIS_CONTACT "gluon@kde.org")
 
 include(InstallRequiredSystemLibraries)
 include(CPack)
+
+###### CTEST part ######
 include(CTest)
diff --git a/player/kde/CMakeLists.txt b/player/kde/CMakeLists.txt
index 33aa4cf..228ce7b 100644
--- a/player/kde/CMakeLists.txt
+++ b/player/kde/CMakeLists.txt
@@ -54,6 +54,12 @@ endif()
 target_link_libraries(gluon_kdeplayer ${GLUON_ENGINE_LIBS} ${GLUON_GRAPHICS_LIBS} \
${GLUON_INPUT_LIBS} ${KDE4_KIO_LIBS})  
 if(NOT APPLE)
-    install(TARGETS gluon_kdeplayer DESTINATION ${BIN_INSTALL_DIR})
-    install(FILES gluon_kdeplayer.desktop DESTINATION \
${SHARE_INSTALL_DIR}/applications) +    install(TARGETS gluon_kdeplayer
+            DESTINATION ${BIN_INSTALL_DIR}
+            COMPONENT gluonkdeplayer)
+
+    install(FILES gluon_kdeplayer.desktop
+            DESTINATION ${SHARE_INSTALL_DIR}/applications
+            COMPONENT gluonkdeplayer)
+
 endif()
diff --git a/player/kdeext/CMakeLists.txt b/player/kdeext/CMakeLists.txt
index 707df37..af63086 100644
--- a/player/kdeext/CMakeLists.txt
+++ b/player/kdeext/CMakeLists.txt
@@ -70,7 +70,15 @@ endif()
 target_link_libraries(gluon_kdeextplayer ${GLUON_ENGINE_LIBS} ${GLUON_GRAPHICS_LIBS} \
${GLUON_PLAYER_LIBS} ${GLUON_INPUT_LIBS} ${KDE4_KIO_LIBS})  
 if(NOT APPLE)
-    install(TARGETS gluon_kdeextplayer DESTINATION ${BIN_INSTALL_DIR})
-    install(FILES ui/gluon_kdeextplayerui.rc DESTINATION \
                ${DATA_INSTALL_DIR}/gluon_kdeextplayer)
-    install(FILES gluon_kdeextplayer.desktop DESTINATION \
${SHARE_INSTALL_DIR}/applications) +    install(TARGETS gluon_kdeextplayer
+            DESTINATION ${BIN_INSTALL_DIR}
+            COMPONENT gluonkdeextplayer)
+
+    install(FILES ui/gluon_kdeextplayerui.rc
+            DESTINATION ${DATA_INSTALL_DIR}/gluon_kdeextplayer
+            COMPONENT gluonkdeextplayer)
+
+    install(FILES gluon_kdeextplayer.desktop
+            DESTINATION ${SHARE_INSTALL_DIR}/applications
+            COMPONENT gluonkdeextplayer)
 endif()
diff --git a/player/plasmoid/CMakeLists.txt b/player/plasmoid/CMakeLists.txt
index 8c6d58a..f8e7903 100644
--- a/player/plasmoid/CMakeLists.txt
+++ b/player/plasmoid/CMakeLists.txt
@@ -33,7 +33,9 @@ kde4_add_plugin(plasma_applet_gluonplayer \
${gluonplasmaapplet_SRCS})  target_link_libraries(plasma_applet_gluonplayer \
${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${GLUON_INPUT_LIBS} ${GLUON_ENGINE_LIBS} \
${GLUON_GRAPHICS_LIBS} ${GLUON_PLAYER_LIBS})  
 install(TARGETS plasma_applet_gluonplayer
-        DESTINATION ${PLUGIN_INSTALL_DIR})
+        DESTINATION ${PLUGIN_INSTALL_DIR}
+        COMPONENT gluonplasmoidplayer)
 
 install(FILES plasma-applet-gluonplayer.desktop
-        DESTINATION ${SERVICES_INSTALL_DIR})
+        DESTINATION ${SERVICES_INSTALL_DIR}
+        COMPONENT gluonplasmoidplayer)
diff --git a/player/qtext/CMakeLists.txt b/player/qtext/CMakeLists.txt
index 8eac19b..e027941 100644
--- a/player/qtext/CMakeLists.txt
+++ b/player/qtext/CMakeLists.txt
@@ -73,8 +73,13 @@ endif()
 target_link_libraries(gluon_qtextplayer ${GLUON_ENGINE_LIBS} ${GLUON_GRAPHICS_LIBS} \
${GLUON_PLAYER_LIBS} ${GLUON_INPUT_LIBS})  
 if(NOT APPLE)
-    install(TARGETS gluon_qtextplayer DESTINATION ${BIN_INSTALL_DIR})
-    install(FILES gluon_qtextplayer.desktop DESTINATION \
${SHARE_INSTALL_DIR}/applications) +    install(TARGETS gluon_qtextplayer
+            DESTINATION ${BIN_INSTALL_DIR}
+            COMPONENT gluonqtextplayer)
+
+    install(FILES gluon_qtextplayer.desktop
+            DESTINATION ${SHARE_INSTALL_DIR}/applications
+            COMPONENT gluonqtextplayer)
 
     if(NOT PLAYER_ICONS_INSTALLED)
         add_subdirectory(../icons icons)
diff --git a/player/touch/CMakeLists.txt b/player/touch/CMakeLists.txt
index bf87ec4..909f3db 100644
--- a/player/touch/CMakeLists.txt
+++ b/player/touch/CMakeLists.txt
@@ -76,8 +76,13 @@ set(GLUON_DECLARATIVE_LIBS
 )
 
 if(NOT APPLE)
-    install(TARGETS gluon_qmlplayer DESTINATION ${BIN_INSTALL_DIR})
-    install(FILES gluon_qmlplayer.desktop DESTINATION \
${SHARE_INSTALL_DIR}/applications) +    install(TARGETS gluon_qmlplayer
+            DESTINATION ${BIN_INSTALL_DIR}
+            COMPONENT gluontouchplayer)
+
+    install(FILES gluon_qmlplayer.desktop
+            DESTINATION ${SHARE_INSTALL_DIR}/applications
+            COMPONENT gluontouchplayer)
 
     if(NOT PLAYER_ICONS_INSTALLED)
         set(PLAYER_ICONS_INSTALLED TRUE)


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

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