summaryrefslogtreecommitdiff
path: root/ktp-text-ui-15.04-lib-soversion.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-21 08:16:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-21 08:16:00 +0000
commit5d0cb6e57661977da40399419cf09133b7d3360f (patch)
tree875170306749aab4a24e7d5d25f80460f96009f6 /ktp-text-ui-15.04-lib-soversion.patch
parentb721a990a61834440c3e9d2cfe38b236f33376e4 (diff)
automatic import of ktp-text-uiopeneuler23.03
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