summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-12-21 10:21:26 +0100
committerUlrich Müller <ulm@gentoo.org>2019-12-21 10:21:48 +0100
commitd84af79d13e2ba8e3164e2c1320bb17f5b8d918f (patch)
tree259adb83b1abf4224a7da5c23b4819df4b21610b /dev-db/qt5-sqlcipher
parentdev-util/cmake: Reuse makeopts_jobs in bootstrap command (diff)
downloadgentoo-d84af79d13e2ba8e3164e2c1320bb17f5b8d918f.tar.gz
gentoo-d84af79d13e2ba8e3164e2c1320bb17f5b8d918f.tar.bz2
gentoo-d84af79d13e2ba8e3164e2c1320bb17f5b8d918f.zip
dev-db/qt5-sqlcipher: Support Qt 5.14.
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-db/qt5-sqlcipher')
-rw-r--r--dev-db/qt5-sqlcipher/Manifest1
-rw-r--r--dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20191025-r1.ebuild (renamed from dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20191025.ebuild)8
2 files changed, 7 insertions, 2 deletions
diff --git a/dev-db/qt5-sqlcipher/Manifest b/dev-db/qt5-sqlcipher/Manifest
index 929430adc672..9081c6b40e81 100644
--- a/dev-db/qt5-sqlcipher/Manifest
+++ b/dev-db/qt5-sqlcipher/Manifest
@@ -1 +1,2 @@
+DIST qt5-sqlcipher-1.0.1-qt-5.14.0.tar.xz 8248 BLAKE2B 0cc717deecf2ff1d212a5b510be0c57d5cdac6abf9dc5db8f5d69762adb2a0d79298aa0e2f453417a5aa5b242637094e7ebaf6d7fe777539e0f8896f6adc3709 SHA512 a61231756967f0596b3903db1ca40937f1140a3d06ff9b6b6f6a6195650c170e0d4f42a3d51ac3f3cb35f4e173b78986a8fb31ed7a7e01e125ae78c7dd851246
DIST qt5-sqlcipher-1.0.1_p20191025.tar.gz 200293 BLAKE2B 5a0c6401353bc1c9dc511ac585ebce8556742278c303032b3434116c5a778034df01a5133913f8eaac187863b91ef8432b20184b75882c738ed6d850682ac765 SHA512 9e5294ff4c25dc18ef83ecec6c7ef985fec73744f36b27d21591983eb9976b8a13151ef0a31ce3af9767ee3f6388b8f008404002345d328bf0094d03ca4dd8d0
diff --git a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20191025.ebuild b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20191025-r1.ebuild
index 06dc4411a574..deb835d5057a 100644
--- a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20191025.ebuild
+++ b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1_p20191025-r1.ebuild
@@ -8,7 +8,8 @@ inherit cmake-utils
COMMIT="8b8ba1579f4fdd0d2c1e8bd9596eedf5101dd917"
DESCRIPTION="Qt SQL driver plugin for SQLCipher"
HOMEPAGE="https://github.com/blizzard4591/qt5-sqlcipher"
-SRC_URI="https://github.com/blizzard4591/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/blizzard4591/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~ulm/distfiles/${PN}-${PV%_*}-qt-5.14.0.tar.xz"
LICENSE="LGPL-2.1" # version 2.1 only
SLOT="0"
@@ -16,13 +17,15 @@ 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.14:5=[sqlite]"
+ >=dev-qt/qtsql-5.12.3:5=[sqlite] <dev-qt/qtsql-5.15:5=[sqlite]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}-${COMMIT}"
DOCS=(README.md)
src_prepare() {
+ mv "${WORKDIR}/5.14.0" qt-file-cache/ || die
+
eapply "${FILESDIR}"/${PN}-install-path.patch
sed -i -e "s/@LIBDIR@/$(get_libdir)/" CMakeLists.txt || die
@@ -34,6 +37,7 @@ src_prepare() {
case $(ver_cut 1-2 ${v}) in
5.12) vc=5.12.5 ;;
5.13) vc=5.13.1 ;;
+ 5.14) vc=5.14.0 ;;
*) die "qtsql-${v} not supported" ;;
esac
elog "qtsql-${v} not in cache, using ${vc} instead"