summaryrefslogtreecommitdiff
path: root/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1-r2.ebuild
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-07-05 01:49:29 +0200
committerUlrich Müller <ulm@gentoo.org>2018-07-05 01:50:24 +0200
commite13be0dd1a6f17248dd58b5c9e343d951bc0c002 (patch)
tree74b84ad6d4df9bf7b14b993b8503c0a5bc6eba9c /dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1-r2.ebuild
parent301d7cf6c9e7c573b0c6e3e7a72552fe816346e2 (diff)
downloadgentoo-e13be0dd1a6f17248dd58b5c9e343d951bc0c002.tar.gz
gentoo-e13be0dd1a6f17248dd58b5c9e343d951bc0c002.tar.bz2
gentoo-e13be0dd1a6f17248dd58b5c9e343d951bc0c002.zip
dev-db/qt5-sqlcipher: Support Qt 5.11.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1-r2.ebuild')
-rw-r--r--dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1-r2.ebuild47
1 files changed, 0 insertions, 47 deletions
diff --git a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1-r2.ebuild b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1-r2.ebuild
deleted file mode 100644
index 952ae0ab2e74..000000000000
--- a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.1-r2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils eapi7-ver
-
-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.10: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
-
- 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.3 ;;
- *) 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
-}