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: Wed, 30 Nov 2016 13:55:37
Message-Id: 1480514128.bd74920e03ccbd498fd8bf228fb198aedfda094f.pinkbyte@gentoo
1 commit: bd74920e03ccbd498fd8bf228fb198aedfda094f
2 Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 30 13:55:09 2016 +0000
4 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 30 13:55:28 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd74920e
7
8 dev-db/sqlcipher: version bump
9
10 EAPI 6, switch from autotools-multilib to multilib-minimal eclass.
11 Add support for libressl.
12
13 Reported-by: Ian <csmk <AT> chaoslab.org>
14 Gentoo-Bug: 598402
15
16 Package-Manager: portage-2.3.2
17
18 dev-db/sqlcipher/Manifest | 1 +
19 dev-db/sqlcipher/sqlcipher-3.4.0.ebuild | 56 +++++++++++++++++++++++++++++++++
20 2 files changed, 57 insertions(+)
21
22 diff --git a/dev-db/sqlcipher/Manifest b/dev-db/sqlcipher/Manifest
23 index 0e21d04..f4443ba 100644
24 --- a/dev-db/sqlcipher/Manifest
25 +++ b/dev-db/sqlcipher/Manifest
26 @@ -1 +1,2 @@
27 DIST sqlcipher-3.3.0.tar.gz 10235736 SHA256 18f5df41a9806bc8eece00fde24c85107bd4807a5ae7057f9a6188de5d8fd82a SHA512 9f24fcd25811aabe36f5e27cdfc117a02ad3578a95691e9b3b7f41ee47ee0c176243c4f35a8415a17a3828d4534aae58a1097b75a950937706b10a79f2c92c81 WHIRLPOOL 1f4bdaf9ead7e2834d1efd2612c74eb91df2bbc17dfa4d404a72db4ef837b6b7a8430da522b6ec708f8873482c2de318a3cf65aebfdc53c200cad53a4ded9e6b
28 +DIST sqlcipher-3.4.0.tar.gz 13600901 SHA256 99b702ecf796de02bf7b7b35de4ceef145f0d62b4467a86707c2d59beea243d0 SHA512 c9b7db77b742a61b5befc33f63070a2970137e0c57892ba554a37e3ca51e42dd1164a6789d21958375ed7f38ee919bfc1332eb9da8307e6fa3805d9f9c409d9c WHIRLPOOL 644b4193dc128a2bbb5ba71867d6e919ae22894143ffc3c8d6a8d103aa8ed22795cfa2b7e1e04e54f38df00c86e0534bf04be1bc9df92be32c56da6b834376d7
29
30 diff --git a/dev-db/sqlcipher/sqlcipher-3.4.0.ebuild b/dev-db/sqlcipher/sqlcipher-3.4.0.ebuild
31 new file mode 100644
32 index 00000000..ebc5d00
33 --- /dev/null
34 +++ b/dev-db/sqlcipher/sqlcipher-3.4.0.ebuild
35 @@ -0,0 +1,56 @@
36 +# Copyright 1999-2016 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +# $Id$
39 +
40 +EAPI=6
41 +
42 +inherit autotools eutils flag-o-matic multilib-minimal
43 +
44 +DESCRIPTION="Full Database Encryption for SQLite"
45 +HOMEPAGE="https://www.zetetic.net/sqlcipher/"
46 +SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +IUSE="readline libressl static-libs tcl test"
53 +
54 +# Tcl is always needed by buildsystem
55 +RDEPEND="
56 + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
57 + libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
58 + readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
59 + tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )
60 +"
61 +DEPEND="${RDEPEND}
62 + dev-lang/tcl:*"
63 +
64 +# Testsuite requires compilation with TCL, bug #582584
65 +REQUIRED_USE="test? ( tcl )"
66 +
67 +DOCS=( README.md )
68 +
69 +src_prepare() {
70 + append-cflags -DSQLITE_HAS_CODEC
71 +
72 + eapply_user
73 + eautoreconf
74 +}
75 +
76 +multilib_src_configure() {
77 + ECONF_SOURCE=${S} \
78 + econf \
79 + --enable-fts3 \
80 + --enable-fts4 \
81 + --enable-fts5 \
82 + --enable-json1 \
83 + --enable-tempstore \
84 + $(use_enable readline) \
85 + $(use_enable static-libs static) \
86 + $(use_enable tcl)
87 +}
88 +
89 +multilib_src_install_all() {
90 + prune_libtool_files
91 +}