summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-12-13 16:23:30 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-12-13 16:25:12 +0200
commite7f23813dc4db72e495a8ae24cffec2d810ef95f (patch)
tree48b1b36123b65b7663254609d28e350e7fda9269 /dev-libs/dqlite
parentdev-lang/python: Fix installing lib-dynload in 3.12 (diff)
downloadgentoo-e7f23813dc4db72e495a8ae24cffec2d810ef95f.tar.gz
gentoo-e7f23813dc4db72e495a8ae24cffec2d810ef95f.tar.bz2
gentoo-e7f23813dc4db72e495a8ae24cffec2d810ef95f.zip
dev-libs/dqlite: add 1.13.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/dqlite')
-rw-r--r--dev-libs/dqlite/Manifest1
-rw-r--r--dev-libs/dqlite/dqlite-1.13.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest
index bb84b8985d3f..6fe89ca3ae8f 100644
--- a/dev-libs/dqlite/Manifest
+++ b/dev-libs/dqlite/Manifest
@@ -1,2 +1,3 @@
DIST dqlite-1.11.1.tar.gz 172024 BLAKE2B 48fb3c4eebc1f1a2d341254f9f0ad01f871b65fac727b132b80ac59eceb7d1ab95ac6118549ab39c8b032053a8791d6abef5e0d4856da7e45f00939b083463e5 SHA512 64d9a6548a4d75e3045adf5e31d54c508a02b255573225d32119225260c3d5219c4ac29c857ba054cd3fa3df54ee81cf88bbc2f9769839902f63f0f8c02cc6c7
DIST dqlite-1.12.0.tar.gz 181709 BLAKE2B efb35aa9d0c348cd55eb190e27ad155b7d748ccbcb80822f33ce4589d56bc0090f5c0703d769e7090bb8da1b8908cbd73d1076568108661d5b85e55103795a9f SHA512 2a3dc17fcaa0ec2fc5481d3ff57a7bee42c8930f0e6ac7030d51e1a61ae3ce4d7b24f47921b29602a65353c1a51931a82d9af302ee580b19bdce561e6547e940
+DIST dqlite-1.13.0.tar.gz 190627 BLAKE2B 02880a112a7b070ee19653b60f19dbb49030b1d0d1bd3671577137ce281fd1af9c135f138d692fcc1c14592972cc9321198b3a2003fa0e81829c8ae462604964 SHA512 da56c622c75dcdc1df814d2b7acfeb08cb046fa7b74691d63575ddb3d30f91b441b8f58cc72466872b4c5e0028706b6505846d8f3d06583be844baefdd85f8a9
diff --git a/dev-libs/dqlite/dqlite-1.13.0.ebuild b/dev-libs/dqlite/dqlite-1.13.0.ebuild
new file mode 100644
index 000000000000..8a73c0b76fbb
--- /dev/null
+++ b/dev-libs/dqlite/dqlite-1.13.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020-2022 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.12.0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-db/sqlite:3
+ dev-libs/libuv:=
+ >=dev-libs/raft-0.16.0"
+DEPEND="${RDEPEND}
+ test? ( >=dev-libs/raft-0.13.0[lz4,test] )"
+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
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}