diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-db/qt5-sqlcipher | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-db/qt5-sqlcipher')
-rw-r--r-- | dev-db/qt5-sqlcipher/Manifest | 3 | ||||
-rw-r--r-- | dev-db/qt5-sqlcipher/files/qt5-sqlcipher-1.0.10-install-path.patch | 14 | ||||
-rw-r--r-- | dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.10.ebuild | 48 |
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-db/qt5-sqlcipher/Manifest b/dev-db/qt5-sqlcipher/Manifest index 7b4de52d42e3..e6c63f1b2a36 100644 --- a/dev-db/qt5-sqlcipher/Manifest +++ b/dev-db/qt5-sqlcipher/Manifest @@ -1,5 +1,8 @@ +AUX qt5-sqlcipher-1.0.10-install-path.patch 566 BLAKE2B e2d5d854ebe12233c55dbc213df033dbf0d26ebe0ec8c87bc41a1d8aa1d9775331a8080d6263fccd6de14cfa0d7dbacfa005109d2f69de987cac339b1e652322 SHA512 f07d7d1659fc120ae00bc1bb6256895fcdfddee7054c77b5f25793945921e1d9f95dc26088edd57af3488728df857d1f567e0a9c4ecb61a21c7db055f77eda06 AUX qt5-sqlcipher-install-path.patch 542 BLAKE2B 099aec88aa739615c444478dcf946a11782d34bcda0ea9905d88a766745a063b97f1198d0e03bb7222f338293178dad2c00d430eab7754475766ebfdf95a785d SHA512 a46bb590fe8f56f61d404b4c5deba362f70ecf3044fd746f5de3a897cf884aada1bd2345e768774e674ee8e91bd162775b6f2131e4f822cc91fae22c4d71bb13 DIST qt5-sqlcipher-1.0.1-qt-5.14.0.tar.xz 8248 BLAKE2B 0cc717deecf2ff1d212a5b510be0c57d5cdac6abf9dc5db8f5d69762adb2a0d79298aa0e2f453417a5aa5b242637094e7ebaf6d7fe777539e0f8896f6adc3709 SHA512 a61231756967f0596b3903db1ca40937f1140a3d06ff9b6b6f6a6195650c170e0d4f42a3d51ac3f3cb35f4e173b78986a8fb31ed7a7e01e125ae78c7dd851246 +DIST qt5-sqlcipher-1.0.10.tar.gz 245054 BLAKE2B edb36a47881e2d5801cf07cc9b6094ea53b9e0e595c0078d3a09b493979222a6ad655b074b015c0a152073e0f39d1e31ecb9e2021f7788dda04a0547cd47eddd SHA512 1a23da7d7c6de020ee0739154abe83f94208a3a6d385fd58eff38d3ea27ce51b37a66994e8ad0ff5102525c3573134f9b9362accf2032b7386ea174b12ea1338 DIST qt5-sqlcipher-1.0.1_p20191025.tar.gz 200293 BLAKE2B 5a0c6401353bc1c9dc511ac585ebce8556742278c303032b3434116c5a778034df01a5133913f8eaac187863b91ef8432b20184b75882c738ed6d850682ac765 SHA512 9e5294ff4c25dc18ef83ecec6c7ef985fec73744f36b27d21591983eb9976b8a13151ef0a31ce3af9767ee3f6388b8f008404002345d328bf0094d03ca4dd8d0 +EBUILD qt5-sqlcipher-1.0.10.ebuild 1213 BLAKE2B 043a9bffc8f3973066220edb6bea8fa4aa5203dd6e351e1b6d3eae9bc6e741a521bb362dd3dcbcd7cf61f3d09847b4de3b5b28603e80ee545879931cdff7d816 SHA512 4d5d1a7f41998f60429cc1b9dddbeff1531651f474bbbbcb9c3da217f29998e386549c77cd78de7c4ad4bcf3a9175577b7013e439111072531f5a35de8fc06db EBUILD qt5-sqlcipher-1.0.1_p20191025-r1.ebuild 1416 BLAKE2B 19c8479a8f3817b3b3493f1b11bd47c0ec069f6bda93c43341e1f66c125445c5e11cd7395aaccd5c453620982565b41e0e965488773943816e4a77ab3802181b SHA512 c26b6b985db7d5f3980ddc799de0c39355fef69609c49638359893e83a719cdc016a03794fc2b75e6e600c1f4266797e0d252c8f8395e4c472b7e727c2b81764 MISC metadata.xml 212 BLAKE2B ecb53eb3efac6ceef048d345601c5ca0430e2f62d6409dc2a18494ee188f792d4763892816f197418d2e9a6d04452091a0c69d83afc207b366fca816632209ee SHA512 3919b8b096abf61c7edaa6a76898603b6ca2e206e2eccd27c671957a9d085bc2591a2fb4839a85ef2a51dcbf887bb2c752d4b38e82ea19c48dfd6d99b67954fa diff --git a/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-1.0.10-install-path.patch b/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-1.0.10-install-path.patch new file mode 100644 index 000000000000..5485ae942408 --- /dev/null +++ b/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-1.0.10-install-path.patch @@ -0,0 +1,14 @@ +--- qt5-sqlcipher-1.0.10-orig/CMakeLists.txt ++++ qt5-sqlcipher-1.0.10/CMakeLists.txt +@@ -197,10 +197,7 @@ + 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@/qt5/plugins/sqldrivers) + endif() + else() + INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers) diff --git a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.10.ebuild b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.10.ebuild new file mode 100644 index 000000000000..2e1c4834cc6c --- /dev/null +++ b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.10.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Qt SQL driver plugin for SQLCipher" +HOMEPAGE="https://github.com/blizzard4591/qt5-sqlcipher" +SRC_URI="https://github.com/blizzard4591/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" # version 2.1 only +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-db/sqlcipher-3.4.1 + >=dev-qt/qtcore-5.12.3:5= + >=dev-qt/qtsql-5.12.3:5=[sqlite] <dev-qt/qtsql-5.15:5=[sqlite]" +DEPEND="${RDEPEND}" + +DOCS=(README.md) + +src_prepare() { + eapply "${FILESDIR}"/${P}-install-path.patch + sed -i -e "s/@LIBDIR@/$(get_libdir)/" CMakeLists.txt || die + + local v=$(best_version dev-qt/qtsql:5) + v=$(ver_cut 1-3 ${v#*/qtsql-}) + [[ -n ${v} ]] || die "could not determine qtsql version" + if ! [[ -d qt-file-cache/${v} ]]; then + local vc + case $(ver_cut 1-2 ${v}) in + 5.12) vc=5.12.5 ;; + 5.13) vc=5.13.2 ;; + 5.14) vc=5.14.1 ;; + *) die "qtsql-${v} not supported" ;; + esac + elog "qtsql-${v} not in cache, using ${vc} instead" + cp -R qt-file-cache/${vc} qt-file-cache/${v} || die + fi + + cmake-utils_src_prepare +} + +src_test() { + cd "${BUILD_DIR}" || die + ./qsqlcipher-test || die +} |