gentoo/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-1.1.0-install-path.patch
Ulrich Müller 1a3ce8bf5c
dev-db/qt5-sqlcipher: add 1.1.0
Despite the package's name, the upstream package supports only Qt6.

Bug: https://bugs.gentoo.org/955180
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2025-11-09 13:49:27 +01:00

16 lines
612 B
Diff

--- qt5-sqlcipher-1.1.0/CMakeLists.txt
+++ qt5-sqlcipher-1.1.0/CMakeLists.txt
@@ -193,11 +193,7 @@
INSTALL(TARGETS qsqlcipher-test DESTINATION bin)
endif()
else()
- message(WARNING "Packaging is not set up for this platform, either submit a ticket or change/add pathes yourself, if packaging is required.")
- INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers)
- if (QSQLCIPHER_BUILD_TESTS)
- INSTALL(TARGETS qsqlcipher-test DESTINATION bin)
- endif()
+ INSTALL(TARGETS qsqlcipher DESTINATION @LIBDIR@/qt6/plugins/sqldrivers)
endif()
else()
INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers)