diff options
-rw-r--r-- | dev-db/qt5-sqlcipher/Manifest | 1 | ||||
-rw-r--r-- | dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-db/qt5-sqlcipher/Manifest b/dev-db/qt5-sqlcipher/Manifest index 7f8b4c29d813..cff59e81457e 100644 --- a/dev-db/qt5-sqlcipher/Manifest +++ b/dev-db/qt5-sqlcipher/Manifest @@ -1 +1,2 @@ DIST qt5-sqlcipher-0.1.1_pre20171202.tar.xz 24340 BLAKE2B de40988c9ca13de0ebafebd4078f9da1c21ad4d8d78a9931497048859617d34f4de8ba630d438024dbb034bb817703e1e456619c3897b3c7dc6dbfa2a719e307 SHA512 e95eb1e73ff944d24f785129cb3e6ebc297abf457d14a2c6466d64230003932eb99b83dc3b216b27fe40565213e67d62b45d43fa538f6f693626283c788ca562 +DIST qt5-sqlcipher-1.0.1.tar.gz 56994 BLAKE2B 9de780126bc7ba99e23b529e6e45d629e9b20d52dfb4d91fcb7c8a6b77b8a8bc17bedaa40a288c4af32e40cc563631e164428be0f8c5a81ffa6143acc58b2e55 SHA512 ba83ba1d98b7764c7ad4bf776b1f39baff44ff6189e51cbc2131150e5a4c2962a21134d21d5ed41f171629395c721fce11ee911d080d304566033d53c552642a diff --git a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild new file mode 100644 index 000000000000..fcef1f8e730f --- /dev/null +++ b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" # version 2.1 only +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=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.9.5:5=[sqlite]" +RDEPEND="${DEPEND}" + +DOCS=(README.md) + +src_prepare() { + eapply "${FILESDIR}"/${PN}-install-path.patch + sed -i -e "s/@LIBDIR@/$(get_libdir)/" CMakeLists.txt || die + # workaround for bug 647624 (Qt 5.9.3 and 5.9.4 files are identical) + cp -R qt-file-cache/5.9.{3,4} || die + cmake-utils_src_prepare +} + +src_test() { + cd "${BUILD_DIR}" || die + ./qsqlcipher-test || die +} |