summaryrefslogtreecommitdiff
path: root/ktp-text-ui-15.04-lib-soversion.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ktp-text-ui-15.04-lib-soversion.patch')
-rw-r--r--ktp-text-ui-15.04-lib-soversion.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/ktp-text-ui-15.04-lib-soversion.patch b/ktp-text-ui-15.04-lib-soversion.patch
new file mode 100644
index 0000000..65a6dc7
--- /dev/null
+++ b/ktp-text-ui-15.04-lib-soversion.patch
@@ -0,0 +1,27 @@
+diff --git a/image-sharer/CMakeLists.txt b/image-sharer/CMakeLists.txt
+index e8d84c92..470b2e82 100644
+--- a/image-sharer/CMakeLists.txt
++++ b/image-sharer/CMakeLists.txt
+@@ -13,5 +13,8 @@ target_link_libraries(ktpimagesharer
+ KF5::KIOWidgets
+ KTp::OTR
+ )
++set_target_properties(ktpimagesharer PROPERTIES
++ SOVERSION ${KTP_TEXT_UI_VERSION}
++)
+
+ install(TARGETS ktpimagesharer ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
+diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
+index 5783d5e7..f48bd40d 100644
+--- a/lib/CMakeLists.txt
++++ b/lib/CMakeLists.txt
+@@ -34,6 +34,9 @@ set(ktpchat_UI
+ ki18n_wrap_ui(ktpchat_SRCS ${ktpchat_UI})
+
+ add_library(ktpchat SHARED ${ktpchat_SRCS})
++set_target_properties(ktpchat PROPERTIES
++ SOVERSION ${KTP_TEXT_UI_VERSION}
++)
+
+ target_link_libraries(ktpchat
+ KF5::KIOWidgets