diff options
author | haarp <main.haarp@gmail.com> | 2023-09-18 12:17:27 +0200 |
---|---|---|
committer | haarp <main.haarp@gmail.com> | 2023-09-18 12:20:34 +0200 |
commit | 5d2f1e6edd51e69592b62c39ad60040716709068 (patch) | |
tree | 9b368c0a952f1e12a9d050e9428e4635b1ef97e4 /dev-db/sqlcipher/sqlcipher-4.5.5.ebuild | |
parent | JonoF's stuff: https (diff) | |
download | haarp-5d2f1e6edd51e69592b62c39ad60040716709068.tar.gz haarp-5d2f1e6edd51e69592b62c39ad60040716709068.tar.bz2 haarp-5d2f1e6edd51e69592b62c39ad60040716709068.zip |
Upgrade sqlcipher
Signed-off-by: haarp <main.haarp@gmail.com>
Diffstat (limited to 'dev-db/sqlcipher/sqlcipher-4.5.5.ebuild')
-rw-r--r-- | dev-db/sqlcipher/sqlcipher-4.5.5.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/dev-db/sqlcipher/sqlcipher-4.5.5.ebuild b/dev-db/sqlcipher/sqlcipher-4.5.5.ebuild new file mode 100644 index 0000000..7ec1f84 --- /dev/null +++ b/dev-db/sqlcipher/sqlcipher-4.5.5.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="Full Database Encryption for SQLite" +HOMEPAGE="https://www.zetetic.net/sqlcipher/" +SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="debug libedit readline static-libs tcl test" + +# Tcl is always needed by buildsystem +RDEPEND=" + dev-libs/openssl:0=[${MULTILIB_USEDEP}] + sys-libs/zlib:=[${MULTILIB_USEDEP}] + libedit? ( dev-libs/libedit[${MULTILIB_USEDEP}] ) + readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) + tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-lang/tcl:*" + +# Libedit and readline support are mutually exclusive +# Testsuite requires compilation with TCL, bug #582584 +REQUIRED_USE=" + libedit? ( !readline ) + test? ( tcl ) +" + +DOCS=( README.md ) + +# Testsuite fails, bug #692310 +RESTRICT="test" + +src_prepare() { + # Column metadata added due to bug #670346 + append-cflags -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA + + default + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + --enable-fts3 \ + --enable-fts4 \ + --enable-fts5 \ + --enable-geopoly \ + --enable-memsys5 \ + --enable-rtree \ + --enable-session \ + --enable-tempstore \ + $(use_enable debug) \ + $(use_enable libedit editline) \ + $(use_enable readline) \ + $(use_enable static-libs static) \ + $(use_enable tcl) +} + +multilib_src_install_all() { + find "${D}" -name '*.la' -type f -delete || die + einstalldocs +} |