1 |
commit: 71dd2f53fe48c47e3c29b82bc654fd9593f4cf99 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 2 06:40:51 2022 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 2 06:40:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71dd2f53 |
7 |
|
8 |
dev-db/qt5-sqlcipher: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
12 |
|
13 |
dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.11.ebuild | 49 ------------------------ |
14 |
1 file changed, 49 deletions(-) |
15 |
|
16 |
diff --git a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.11.ebuild b/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.11.ebuild |
17 |
deleted file mode 100644 |
18 |
index 2c4d7596f412..000000000000 |
19 |
--- a/dev-db/qt5-sqlcipher/qt5-sqlcipher-1.0.11.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,49 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit cmake-utils |
28 |
- |
29 |
-DESCRIPTION="Qt SQL driver plugin for SQLCipher" |
30 |
-HOMEPAGE="https://github.com/blizzard4591/qt5-sqlcipher" |
31 |
-SRC_URI="https://github.com/blizzard4591/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="LGPL-2.1" # version 2.1 only |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~amd64" |
36 |
- |
37 |
-RDEPEND=">=dev-db/sqlcipher-3.4.1 |
38 |
- >=dev-qt/qtcore-5.12.3:5= |
39 |
- >=dev-qt/qtsql-5.12.3:5=[sqlite] <dev-qt/qtsql-5.16:5=[sqlite]" |
40 |
-DEPEND="${RDEPEND}" |
41 |
- |
42 |
-DOCS=(README.md) |
43 |
- |
44 |
-src_prepare() { |
45 |
- eapply "${FILESDIR}"/${PN}-1.0.10-install-path.patch |
46 |
- sed -i -e "s/@LIBDIR@/$(get_libdir)/" CMakeLists.txt || die |
47 |
- |
48 |
- local v=$(best_version dev-qt/qtsql:5) |
49 |
- v=$(ver_cut 1-3 ${v#*/qtsql-}) |
50 |
- [[ -n ${v} ]] || die "could not determine qtsql version" |
51 |
- if ! [[ -d qt-file-cache/${v} ]]; then |
52 |
- local vc |
53 |
- case $(ver_cut 1-2 ${v}) in |
54 |
- 5.12) vc=5.12.5 ;; |
55 |
- 5.13) vc=5.13.2 ;; |
56 |
- 5.14) vc=5.14.2 ;; |
57 |
- 5.15) vc=5.15.0 ;; |
58 |
- *) die "qtsql-${v} not supported" ;; |
59 |
- esac |
60 |
- elog "qtsql-${v} not in cache, using ${vc} instead" |
61 |
- cp -R qt-file-cache/${vc} qt-file-cache/${v} || die |
62 |
- fi |
63 |
- |
64 |
- cmake-utils_src_prepare |
65 |
-} |
66 |
- |
67 |
-src_test() { |
68 |
- cd "${BUILD_DIR}" || die |
69 |
- ./qsqlcipher-test || die |
70 |
-} |