aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerion Entrup <gerion.entrup@flump.de>2023-07-15 00:07:40 +0200
committerGerion Entrup <gerion.entrup@flump.de>2023-07-15 00:07:40 +0200
commit6d0461d9e98369a351b0f8b3bc00d25afbed387d (patch)
tree6ac1a75efa16fa0e7b8d17ab1c66fcdfc7eff8ca /net-libs/libquotient/files/libquotient-0.8.0-no-android.patch
parentdev-python/ptpython: fix dependencies (diff)
downloadgerislay-6d0461d9e98369a351b0f8b3bc00d25afbed387d.tar.gz
gerislay-6d0461d9e98369a351b0f8b3bc00d25afbed387d.tar.bz2
gerislay-6d0461d9e98369a351b0f8b3bc00d25afbed387d.zip
net-libs/libquotient: add 0.8.0
However, Neochat does not build with it yet. Signed-off-by: Gerion Entrup <gerion.entrup@flump.de>
Diffstat (limited to 'net-libs/libquotient/files/libquotient-0.8.0-no-android.patch')
-rw-r--r--net-libs/libquotient/files/libquotient-0.8.0-no-android.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-libs/libquotient/files/libquotient-0.8.0-no-android.patch b/net-libs/libquotient/files/libquotient-0.8.0-no-android.patch
new file mode 100644
index 0000000..19dca18
--- /dev/null
+++ b/net-libs/libquotient/files/libquotient-0.8.0-no-android.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0a32ee4e..4200f29c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -387,7 +387,9 @@ install(FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/${QUOTIENT_LIB_NAME}/${QUOTIENT_LIB_NAME}ConfigVersion.cmake"
+ DESTINATION ${CMakeFilesLocation}
+ )
+-install(EXPORT_ANDROID_MK ${QUOTIENT_LIB_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules)
++if (ANDROID)
++ install(EXPORT_ANDROID_MK ${QUOTIENT_LIB_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules)
++endif ()
+
+ if (WIN32)
+ install(FILES mime/packages/freedesktop.org.xml DESTINATION mime/packages)