[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:29:09 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=f6cb042
The following commit has been merged in the master branch:
commit f6cb042000054cc05b91f92ba24378f72755b314
Author: Aleix Pol <aleixpol at kde.org>
Date: Sat Sep 12 22:12:38 2015 +0200
Revert "Add a hack to export auto generated interfaces"
This reverts commit 1501090b4110ef4abf96c02ab48a73ccb88664b5.
---
interfaces/CMakeLists.txt | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/interfaces/CMakeLists.txt b/interfaces/CMakeLists.txt
index 90d1de5..2fa6c8b 100644
--- a/interfaces/CMakeLists.txt
+++ b/interfaces/CMakeLists.txt
@@ -9,17 +9,7 @@ function(geninterface source_h output_h)
get_filename_component(basename ${output_h} NAME_WE)
qt5_add_dbus_interface(libkdeconnect_SRC ${xml_file} ${basename})
-
- #qdbusxml2cpp cannot add an export attribute to a class
- #we need this as we export our generated classes
- #this adds it in with a not ideal find and replace
- add_custom_command(COMMAND
- TARGET ${CMAKE_CURRENT_BINARY_DIR}/${output_h}.h
- COMMAND sed -i "s/class/class Q_DECL_EXPORT/" ${CMAKE_CURRENT_BINARY_DIR}/${output_h}.h
- )
-
set(libkdeconnect_SRC ${libkdeconnect_SRC} PARENT_SCOPE)
-
set(libkdeconnect_HEADERS ${libkdeconnect_HEADERS} PARENT_SCOPE)
endfunction()
@@ -54,6 +44,7 @@ geninterface(${CMAKE_SOURCE_DIR}/plugins/mprisremote/mprisremoteplugin.h mprisre
geninterface(${CMAKE_SOURCE_DIR}/plugins/remotecontrol/remotecontrolplugin.h remotecontrolinterface)
geninterface(${CMAKE_SOURCE_DIR}/plugins/lockdevice/lockdeviceplugin.h lockdeviceinterface)
+
add_library(kdeconnectinterfaces SHARED ${libkdeconnect_SRC})
set_target_properties(kdeconnectinterfaces PROPERTIES
VERSION ${KDECONNECT_VERSION}
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list