diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-02-25 11:28:47 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-02-25 11:28:47 +0200 |
commit | a88698e4026f5ae73410fbf21bfb4841ad1d33cb (patch) | |
tree | 5ec1a14c0c57b5b9045266932134f14e85f6bc91 /dev-libs/dqlite | |
parent | mail-filter/procmail: drop 3.22-r15, 3.22-r16 (diff) | |
download | gentoo-a88698e4026f5ae73410fbf21bfb4841ad1d33cb.tar.gz gentoo-a88698e4026f5ae73410fbf21bfb4841ad1d33cb.tar.bz2 gentoo-a88698e4026f5ae73410fbf21bfb4841ad1d33cb.zip |
dev-libs/dqlite: add 1.16.4
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/dqlite')
-rw-r--r-- | dev-libs/dqlite/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/dqlite/dqlite-1.16.4.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest index 2320f245247a..c4e7755c757d 100644 --- a/dev-libs/dqlite/Manifest +++ b/dev-libs/dqlite/Manifest @@ -1,2 +1,3 @@ DIST dqlite-1.16.0.tar.gz 216776 BLAKE2B 653eac56c237e466f8b57d43a62ad25b7b3bd72a2088345f66db53b6bce5cdd528d16f3440572e5af8536fafde3f3cbb7700898479f1cd62b273e2192160ad15 SHA512 f9bc7ea3021d72bd81fe487d1c11b86a566002e2b1ddf6000b0fd54e407746ac35af079afc508d9d752de774dfee33c5c6e54c40c7884ac67a3bc7dca14ea362 DIST dqlite-1.16.3.tar.gz 494184 BLAKE2B bc99a93632fae6948411b61daf2f2d45466d63d32fe925b705faa52d5a35e8cf21d30b018448a3ee1be48c7e10047727a46088d513b4fb40598045201ba80041 SHA512 674bb801f7b9cd38a3d874fc2035e0c3ee36f77e0b538636ac2b0c01f54cde9ad0bb97f8a563350eaaf484b9266b20b0c619ce057b2ee786a323593dee2a8660 +DIST dqlite-1.16.4.tar.gz 499174 BLAKE2B 3a5f28dd352ada1d0866d3563c450aad10413118a30fc9369aaadc5f46acefaa8f28e21118e71ef3eb801c51c9946664882d82a15eff71eefbbd51f6fd68c4b3 SHA512 164a63ce9224b9a4f10d2312ac03e98ccdec8c6c4fe22e6fc595dc792f9a7c75317cf8e839eb31a8db2501a094d67053300532a92bca26c86ef5097dd3c06a2b diff --git a/dev-libs/dqlite/dqlite-1.16.4.ebuild b/dev-libs/dqlite/dqlite-1.16.4.ebuild new file mode 100644 index 000000000000..832370126c90 --- /dev/null +++ b/dev-libs/dqlite/dqlite-1.16.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Embeddable, replicated and fault tolerant SQL engine" +HOMEPAGE="https://dqlite.io/ https://github.com/canonical/dqlite" +SRC_URI="https://github.com/canonical/dqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3-with-linking-exception" +SLOT="0/1.15.1" +KEYWORDS="amd64 ~arm64 ~x86" +IUSE="lz4 test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/sqlite:3 + dev-libs/libuv:= + lz4? ( app-arch/lz4:= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/dqlite-1.12.0-disable-werror.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-backtrace + --disable-debug + --disable-sanitize + --disable-static + + # Will use bundled raft instead of system raft. See bugs #915960, #925012. + --enable-build-raft + + # Will build a bundled libsqlite3.so. + --enable-build-sqlite=no + + $(use_with lz4) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |