Diff sqlcipher-4.5.1 with a sqlcipher-4.5.5

/usr/portage/dev-db/sqlcipher/sqlcipher-4.5.5.ebuild 2023-10-09 14:52:29.340368346 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit autotools flag-o-matic multilib-minimal
7 7

  
......
11 11

  
12 12
LICENSE="BSD"
13 13
SLOT="0"
14
KEYWORDS="amd64 x86"
15

  
16
IUSE="debug libedit readline static-libs tcl test"
14
KEYWORDS="~amd64 ~x86"
15
IUSE="debug libedit readline tcl test"
16
# libedit and readline support are mutually exclusive
17
# Testsuite requires compilation with TCL, bug #582584
18
REQUIRED_USE="
19
	?? ( libedit readline )
20
	test? ( tcl )"
21
# Testsuite fails, bug #692310
22
RESTRICT="test"
17 23

  
18 24
# Tcl is always needed by buildsystem
19 25
RDEPEND="
20
	dev-libs/openssl:0=[${MULTILIB_USEDEP}]
26
	dev-libs/openssl:=[${MULTILIB_USEDEP}]
21 27
	sys-libs/zlib:=[${MULTILIB_USEDEP}]
22 28
	libedit? ( dev-libs/libedit[${MULTILIB_USEDEP}] )
23
	readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
24
	tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )
25
"
29
	readline? ( sys-libs/readline:=[${MULTILIB_USEDEP}] )
30
	tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )"
26 31
DEPEND="${RDEPEND}
27 32
	dev-lang/tcl:*"
28 33

  
29
# Libedit and readline support are mutually exclusive
30
# Testsuite requires compilation with TCL, bug #582584
31
REQUIRED_USE="
32
	libedit? ( !readline )
33
	test? ( tcl )
34
"
35

  
36
DOCS=( README.md )
37

  
38
# Testsuite fails, bug #692310
39
RESTRICT="test"
40

  
41 34
src_prepare() {
35
	default
36
	eautoreconf
37
}
38

  
39
src_configure() {
42 40
	# Column metadata added due to bug #670346
43 41
	append-cflags -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA
44 42

  
45
	default
46
	eautoreconf
43
	multilib-minimal_src_configure
47 44
}
48 45

  
49 46
multilib_src_configure() {
......
53 50
		--enable-fts4 \
54 51
		--enable-fts5 \
55 52
		--enable-geopoly \
56
		--enable-json1 \
57 53
		--enable-memsys5 \
58 54
		--enable-rtree \
59 55
		--enable-session \
......
61 57
		$(use_enable debug) \
62 58
		$(use_enable libedit editline) \
63 59
		$(use_enable readline) \
64
		$(use_enable static-libs static) \
65 60
		$(use_enable tcl)
66 61
}
67 62

  
68 63
multilib_src_install_all() {
69
	find "${D}" -name '*.la' -type f -delete || die
70 64
	einstalldocs
65
	find "${ED}" -name '*.la' -type f -delete || die
71 66
}
Thank you!