diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /dev-db/qt5-sqlcipher | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'dev-db/qt5-sqlcipher')
-rw-r--r-- | dev-db/qt5-sqlcipher/Manifest | 2 | ||||
-rw-r--r-- | dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20181221.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-db/qt5-sqlcipher/Manifest b/dev-db/qt5-sqlcipher/Manifest index af7293f067e2..31f305a14395 100644 --- a/dev-db/qt5-sqlcipher/Manifest +++ b/dev-db/qt5-sqlcipher/Manifest @@ -1,5 +1,7 @@ AUX qt5-sqlcipher-install-path.patch 542 BLAKE2B 099aec88aa739615c444478dcf946a11782d34bcda0ea9905d88a766745a063b97f1198d0e03bb7222f338293178dad2c00d430eab7754475766ebfdf95a785d SHA512 a46bb590fe8f56f61d404b4c5deba362f70ecf3044fd746f5de3a897cf884aada1bd2345e768774e674ee8e91bd162775b6f2131e4f822cc91fae22c4d71bb13 DIST qt5-sqlcipher-1.0.1-qt-5.11.1.tar.xz 8528 BLAKE2B 981565882399943c6ab47b09968c27fa9f53cade5baee66259e416d749905a6bf7a9c1c27ed8165d7b6fc0a72fee85d51bb9ac0c3819b9dab5e89e741e880b13 SHA512 9d64b12990cd81ad1e81b941ff970388c8e7f34fd446ecd4ce2ed58e3f8e50acc06fe88fc0f6693e48b19422e70372516bc36b5c71908e18096e092f261c9eff DIST qt5-sqlcipher-1.0.1.tar.gz 56994 BLAKE2B 9de780126bc7ba99e23b529e6e45d629e9b20d52dfb4d91fcb7c8a6b77b8a8bc17bedaa40a288c4af32e40cc563631e164428be0f8c5a81ffa6143acc58b2e55 SHA512 ba83ba1d98b7764c7ad4bf776b1f39baff44ff6189e51cbc2131150e5a4c2962a21134d21d5ed41f171629395c721fce11ee911d080d304566033d53c552642a +DIST qt5-sqlcipher-1.0.1_p20181221.tar.xz 27668 BLAKE2B e9f7a380be72997a1364ff985271b421230ea75b80200fc1cb4d58946abcb5a98504e458811e9b6641a84a4f8bc7145fd9d6746a147f98bc886e8c2639698646 SHA512 408f71b7fdb26aea3f0419ce0fb295a438c247aa1649756a20b6743571dd9d45cb17d46f5b261a1fd611df4fe39a9dcd6cbd36180bf3742b0abba8b02a9a2d9a EBUILD qt5-sqlcipher-1.0.1-r3.ebuild 1281 BLAKE2B e3b45a2ef37f67bdc021c6c8b5108af6cc6def1dbab04c8c4a5b19991751cf2b16cfb12ec444a413b9e5b5f1c2915170d5cde70c2f7ee3668261ac04bdf7ef3e SHA512 3a28c4a2c67c2b5ce77d92843b549c26df8d222c540c369217b09947ccdbf1b472a8a0869eb86a831b3fa8ac9be9584cf1ba48d94766ea8fb725baf00beeaf0d +EBUILD qt5-sqlcipher-1.0.1_p20181221.ebuild 1226 BLAKE2B ae61660cdc3fb6ec76999904048130b4069093c6ac3ec44651a069c1820356efccbffcd668e46916cae1169897866e5c6176b3e4708fe0740c9b30e2a60fe1e2 SHA512 b9610f70d2ec403741e388be772f0a343165f380314d492dc8cb9f20d46801a88f93269be947f9780563b4a1d3b2a4fe8d279fd6f534ad6e6b5bd8b032a17135 MISC metadata.xml 212 BLAKE2B ecb53eb3efac6ceef048d345601c5ca0430e2f62d6409dc2a18494ee188f792d4763892816f197418d2e9a6d04452091a0c69d83afc207b366fca816632209ee SHA512 3919b8b096abf61c7edaa6a76898603b6ca2e206e2eccd27c671957a9d085bc2591a2fb4839a85ef2a51dcbf887bb2c752d4b38e82ea19c48dfd6d99b67954fa diff --git a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20181221.ebuild b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20181221.ebuild new file mode 100644 index 000000000000..744c62f7f414 --- /dev/null +++ b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20181221.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 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://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" + +LICENSE="LGPL-2.1" # version 2.1 only +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-db/sqlcipher-3.4.1 + >=dev-qt/qtcore-5.7.1:5= + >=dev-qt/qtsql-5.7.1:5=[sqlite] <dev-qt/qtsql-5.13:5=[sqlite]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}" +DOCS=(README.md) + +src_prepare() { + eapply "${FILESDIR}"/${PN}-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.7) vc=5.7.1 ;; + 5.9) vc=5.9.6 ;; + 5.11) vc=5.11.3 ;; + 5.12) vc=5.12.0 ;; + *) 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 +} |