Gentoo Archives: gentoo-commits

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlcipher/
Date: Tue, 05 Apr 2022 10:22:39
Message-Id: 1649154150.4b9315f7395f89508609befe55e5dcb7603dafa8.pinkbyte@gentoo
1 commit: 4b9315f7395f89508609befe55e5dcb7603dafa8
2 Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 5 10:22:07 2022 +0000
4 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 5 10:22:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b9315f7
7
8 dev-db/sqlcipher: version bump
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org>
12
13 dev-db/sqlcipher/Manifest | 1 +
14 dev-db/sqlcipher/sqlcipher-4.5.1.ebuild | 70 +++++++++++++++++++++++++++++++++
15 2 files changed, 71 insertions(+)
16
17 diff --git a/dev-db/sqlcipher/Manifest b/dev-db/sqlcipher/Manifest
18 index 727487be2c83..713b2b37b7c8 100644
19 --- a/dev-db/sqlcipher/Manifest
20 +++ b/dev-db/sqlcipher/Manifest
21 @@ -1 +1,2 @@
22 DIST sqlcipher-4.0.1.tar.gz 17006324 BLAKE2B 44e8eb4e1230c3625b4fe1b4af608cd8edc25f3c6adf7e11450c8f9ddb7970fea92ff0823f3a1e631d1b0acfbab6cf078c80e4645c535d66de57f1d73b55ff47 SHA512 0fb48326860a10e9849b2f56fae0c310deae124c7203b54d51f92d346782be795d505c29eafbdfb7206f5e7be54c0f7228fe50c45bd9d2b23cca976b263264fc
23 +DIST sqlcipher-4.5.1.tar.gz 18132121 BLAKE2B 233ffbd9636eae78533553325f08fa3ceb1e01ce0d809be44ca8ed64d46478d6a70dd40f81c38a1f0524986932ebe8614e52fda9dfc1c2f20134692cac7d4b16 SHA512 157ab90e1b80ae9ae85c68c6b77008fe8ab5b526cbb2604297a5ba54279286b4cac1fecd0db552e0113a75ff61a198f649611b8bde4dec5156c443e7b7fbe0c3
24
25 diff --git a/dev-db/sqlcipher/sqlcipher-4.5.1.ebuild b/dev-db/sqlcipher/sqlcipher-4.5.1.ebuild
26 new file mode 100644
27 index 000000000000..4d7ee1fefb7f
28 --- /dev/null
29 +++ b/dev-db/sqlcipher/sqlcipher-4.5.1.ebuild
30 @@ -0,0 +1,70 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit autotools flag-o-matic multilib-minimal
37 +
38 +DESCRIPTION="Full Database Encryption for SQLite"
39 +HOMEPAGE="https://www.zetetic.net/sqlcipher/"
40 +SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +
46 +IUSE="debug libedit readline static-libs tcl test"
47 +
48 +# Tcl is always needed by buildsystem
49 +RDEPEND="
50 + libedit? ( dev-libs/libedit[${MULTILIB_USEDEP}] )
51 + dev-libs/openssl:0=[${MULTILIB_USEDEP}]
52 + readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
53 + tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )
54 +"
55 +DEPEND="${RDEPEND}
56 + dev-lang/tcl:*"
57 +
58 +# Libedit and readline support are mutually exclusive
59 +# Testsuite requires compilation with TCL, bug #582584
60 +REQUIRED_USE="
61 + libedit? ( !readline )
62 + test? ( tcl )
63 +"
64 +
65 +DOCS=( README.md )
66 +
67 +# Testsuite fails, bug #692310
68 +RESTRICT="test"
69 +
70 +src_prepare() {
71 + # Column metadata added due to bug #670346
72 + append-cflags -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA
73 +
74 + default
75 + eautoreconf
76 +}
77 +
78 +multilib_src_configure() {
79 + ECONF_SOURCE="${S}" \
80 + econf \
81 + --enable-fts3 \
82 + --enable-fts4 \
83 + --enable-fts5 \
84 + --enable-geopoly \
85 + --enable-json1 \
86 + --enable-memsys5 \
87 + --enable-rtree \
88 + --enable-session \
89 + --enable-tempstore \
90 + $(use_enable debug) \
91 + $(use_enable libedit editline) \
92 + $(use_enable readline) \
93 + $(use_enable static-libs static) \
94 + $(use_enable tcl)
95 +}
96 +
97 +multilib_src_install_all() {
98 + find "${D}" -name '*.la' -type f -delete || die
99 + einstalldocs
100 +}