From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A0155158041 for ; Fri, 23 Feb 2024 07:19:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C62862BC02D; Fri, 23 Feb 2024 07:19:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE06C2BC02D for ; Fri, 23 Feb 2024 07:19:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1C943431F4 for ; Fri, 23 Feb 2024 07:19:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C662131B for ; Fri, 23 Feb 2024 07:19:47 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1708672784.c414cece81c5295006517f2cf2808b045bf3d26b.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/dqlite/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/dqlite/Manifest dev-libs/dqlite/dqlite-1.16.3.ebuild X-VCS-Directories: dev-libs/dqlite/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c414cece81c5295006517f2cf2808b045bf3d26b X-VCS-Branch: master Date: Fri, 23 Feb 2024 07:19:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b01fed4-7054-46b3-bb96-3992ab2c9c9b X-Archives-Hash: 920878e4fb5c4f6d0b5303a9a904923a commit: c414cece81c5295006517f2cf2808b045bf3d26b Author: Joonas Niilola gentoo org> AuthorDate: Fri Feb 23 06:58:42 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Feb 23 07:19:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c414cece dev-libs/dqlite: add 1.16.3 - now uses Canonical's bundled libraft. Signed-off-by: Joonas Niilola gentoo.org> dev-libs/dqlite/Manifest | 1 + dev-libs/dqlite/dqlite-1.16.3.ebuild | 53 ++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest index 86f3b2c832d5..2320f245247a 100644 --- a/dev-libs/dqlite/Manifest +++ b/dev-libs/dqlite/Manifest @@ -1 +1,2 @@ DIST dqlite-1.16.0.tar.gz 216776 BLAKE2B 653eac56c237e466f8b57d43a62ad25b7b3bd72a2088345f66db53b6bce5cdd528d16f3440572e5af8536fafde3f3cbb7700898479f1cd62b273e2192160ad15 SHA512 f9bc7ea3021d72bd81fe487d1c11b86a566002e2b1ddf6000b0fd54e407746ac35af079afc508d9d752de774dfee33c5c6e54c40c7884ac67a3bc7dca14ea362 +DIST dqlite-1.16.3.tar.gz 494184 BLAKE2B bc99a93632fae6948411b61daf2f2d45466d63d32fe925b705faa52d5a35e8cf21d30b018448a3ee1be48c7e10047727a46088d513b4fb40598045201ba80041 SHA512 674bb801f7b9cd38a3d874fc2035e0c3ee36f77e0b538636ac2b0c01f54cde9ad0bb97f8a563350eaaf484b9266b20b0c619ce057b2ee786a323593dee2a8660 diff --git a/dev-libs/dqlite/dqlite-1.16.3.ebuild b/dev-libs/dqlite/dqlite-1.16.3.ebuild new file mode 100644 index 000000000000..832370126c90 --- /dev/null +++ b/dev-libs/dqlite/dqlite-1.16.3.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 +}