mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user