summaryrefslogtreecommitdiff
path: root/dev-libs/dqlite
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-13 19:37:38 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-13 19:37:38 +0100
commitd01ca4361883c2aec4ffb1c2dcd75980773fdc31 (patch)
treeb918b6c397ceb2422bde7865f55fd37ff8eef908 /dev-libs/dqlite
parent7b02e37a04e4051a91a109814d386711f41f9a4b (diff)
gentoo auto-resync : 13:07:2022 - 19:37:38
Diffstat (limited to 'dev-libs/dqlite')
-rw-r--r--dev-libs/dqlite/Manifest3
-rw-r--r--dev-libs/dqlite/dqlite-1.11.0.ebuild44
-rw-r--r--dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch10
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest
index 8e962f0a12c1..cce7c4e2b38e 100644
--- a/dev-libs/dqlite/Manifest
+++ b/dev-libs/dqlite/Manifest
@@ -1,3 +1,6 @@
+AUX dqlite-1.11.0-fix-version-information.patch 380 BLAKE2B 0fbc4fedd3ebecacfab1257cc15255d8d75238f428d3446622ed25edcaa3e9563000e35be05813ece98cfe23eb02527d9f2336af4d1c1e69781fe436c56b3a8f SHA512 f00c885847aaeaaa2398300e73e6c3112a7ba9667730270deb0b36ff79d1ee30bbad1bd76c560babec61ee402ebc60b4939be44c5a78d5e39b8bb92233ae2457
DIST dqlite-1.10.0.tar.gz 170908 BLAKE2B b65cd39a4eb175a016934a174f27043ff1e9fc5404f5324030ddadf15567390edb6388e42b83ab76a0d1d3262343f8a4407d7756b85af30cf281a4b5076f87cd SHA512 f7364d968d0d2aef0bbd59f55bb7f775b41d509b0d1af106357bdb470703e143081649742870491e5c75760d3f6159568395b4a671c446a26df744fd4f631d33
+DIST dqlite-1.11.0.tar.gz 172030 BLAKE2B 2626f73f351abeedfed686838c9f74edd94b6fecb5fa61e5b90c86b37582975d86e42ebbb61934121912e1356f30a545e3fcc2236b5c5d5d4eee82b6412e0aaa SHA512 0dbd07bc3ccbb889d6b3a5fbf9e7658caeffe652666d819c1291420d1a18aa0c2e382dcc8bb3910f7d2d184b7e3a09d6ac557bf9400120712c2e6e2e41006dc8
EBUILD dqlite-1.10.0.ebuild 841 BLAKE2B 993356a01761bdba2a9b2fd2a66d597c91119151970ac540a0496105d7b456ed956097500b977320c39d06771934e798e1d462eccfbe92a462ab9cba36c451e9 SHA512 39a239c8f6de027cfc933f0f3be9db9c15780333aa30f2201f9b647128b41630848c36191975471e6d04d13900aac7717ef2f1bfd410e4601c7dccbf9796dcd2
+EBUILD dqlite-1.11.0.ebuild 913 BLAKE2B 6bf4c6dedb4658b3f2b5fe392000a6d417f147ccfd35df19ab5967e3bcdd4f9566fdd6879253732481b8a4b841fae1faf87b5b1b7497ab70064a7c12fd3d574f SHA512 c2835297148d1e906f00694151e7cecf45abdc12ba422e90713815b2253217217a13b97a0663bdd6b01ddd9074e168418130c0e3abf85bd8bae3390458f6163c
MISC metadata.xml 865 BLAKE2B 3489de10f0de21d57146940eed0f4b69e637b0226b4be0127f33232dc6d8648ca4c169451948c31296ac5c41d163c8e65e983992f5baeb24db7d1b5dedfa4d22 SHA512 fc5c1fec36820bb855569c5e8bf7bfc3b522f00892489b20062e95121e6bd4e45f6b87a2d7c6d7a2e6b6c92e3dfd39b66705c58920207cf601e029d330b580ce
diff --git a/dev-libs/dqlite/dqlite-1.11.0.ebuild b/dev-libs/dqlite/dqlite-1.11.0.ebuild
new file mode 100644
index 000000000000..972892a7f794
--- /dev/null
+++ b/dev-libs/dqlite/dqlite-1.11.0.ebuild
@@ -0,0 +1,44 @@
+# 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"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-db/sqlite:3
+ dev-libs/libuv:=
+ >=dev-libs/raft-0.13.0"
+DEPEND="${RDEPEND}
+ test? ( >=dev-libs/raft-0.13.0[lz4,test] )"
+
+PATCHES=( "${FILESDIR}"/dqlite-1.11.0-fix-version-information.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-debug
+ --disable-sanitize
+ --disable-static
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch b/dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch
new file mode 100644
index 000000000000..0d1f0023b3c2
--- /dev/null
+++ b/dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch
@@ -0,0 +1,10 @@
+diff -Naur a/configure.ac b/configure.ac
+--- a/configure.ac 2022-04-26 23:46:37.000000000 +0300
++++ b/configure.ac 2022-07-13 14:25:18.039895152 +0300
+@@ -1,5 +1,5 @@
+ AC_PREREQ(2.60)
+-AC_INIT([libdqlite], [1.10.0], [https://github.com/canonical/dqlite])
++AC_INIT([libdqlite], [1.11.0], [https://github.com/canonical/dqlite])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_AUX_DIR([ac])
+