[SCM] ktp-contact-runner packaging branch, master, updated. debian/15.12.1-2-244-g38a1f58

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 17:50:39 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-runner.git;a=commitdiff;h=b20114d

The following commit has been merged in the master branch:
commit b20114de3a312f749b029cf77303b77b0a3acfbc
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Wed Mar 6 14:38:11 2013 +0000

    Move version information to CMakeLists.txt
---
 CMakeLists.txt                                                 | 10 ++++++++--
 ...-contact.desktop => plasma-runner-ktp-contact.desktop.cmake |  2 +-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1fc0e3b..385ca8b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,6 @@
 project(KTPContactRunner)
 
+set(KTP_CONTACT_RUNNER_VERSION "0.5.3")
 set(IS_KTP_INTERNAL_MODULE TRUE)
 
 set(CMAKE_MODULE_PATH
@@ -36,6 +37,11 @@ target_link_libraries(krunner_ktp_contacts
 install(TARGETS krunner_ktp_contacts
         DESTINATION ${PLUGIN_INSTALL_DIR})
 
-install(FILES plasma-runner-ktp-contact.desktop
-        DESTINATION ${SERVICES_INSTALL_DIR})
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/plasma-runner-ktp-contact.desktop.cmake
+               ${CMAKE_CURRENT_BINARY_DIR}/plasma-runner-ktp-contact.desktop
+               @ONLY)
+
+install (FILES ${CMAKE_CURRENT_BINARY_DIR}/plasma-runner-ktp-contact.desktop
+         DESTINATION ${SERVICES_INSTALL_DIR}
+)
 
diff --git a/plasma-runner-ktp-contact.desktop b/plasma-runner-ktp-contact.desktop.cmake
similarity index 98%
rename from plasma-runner-ktp-contact.desktop
rename to plasma-runner-ktp-contact.desktop.cmake
index 1fd6302..2d2d950 100644
--- a/plasma-runner-ktp-contact.desktop
+++ b/plasma-runner-ktp-contact.desktop.cmake
@@ -87,6 +87,6 @@ X-KDE-Library=krunner_ktp_contacts
 X-KDE-PluginInfo-Author=Dan Vratil
 X-KDE-PluginInfo-Email=dan at progdan.cz
 X-KDE-PluginInfo-Name=ktp_contacts
-X-KDE-PluginInfo-Version=0.5.1
+X-KDE-PluginInfo-Version=@KTP_CONTACT_RUNNER_VERSION@
 X-KDE-PluginInfo-License=GPL
 X-KDE-PluginInfo-EnabledByDefault=true

-- 
ktp-contact-runner packaging



More information about the pkg-kde-commits mailing list