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 305BE15808B for ; Mon, 19 Feb 2024 09:16:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B4F62BC013; Mon, 19 Feb 2024 09:16:56 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C3052BC013 for ; Mon, 19 Feb 2024 09:16:56 +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 610EE33BE4D for ; Mon, 19 Feb 2024 09:16:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F278914AA for ; Mon, 19 Feb 2024 09:16:53 +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: <1708334209.d8e93a63921f1645ca53aabdcc0245af1320bc5e.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.2.ebuild X-VCS-Directories: dev-libs/dqlite/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: d8e93a63921f1645ca53aabdcc0245af1320bc5e X-VCS-Branch: master Date: Mon, 19 Feb 2024 09:16:53 +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: b9d0bc3b-4e5a-44c7-b07d-c5ace8e5394f X-Archives-Hash: 9b1de810729a4613f3eb521570624f82 commit: d8e93a63921f1645ca53aabdcc0245af1320bc5e Author: Joonas Niilola gentoo org> AuthorDate: Mon Feb 19 09:16:26 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Feb 19 09:16:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8e93a63 dev-libs/dqlite: add 1.16.2 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/dqlite/Manifest | 1 + dev-libs/dqlite/dqlite-1.16.2.ebuild | 51 ++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest index 86f3b2c832d5..ad75e5362cd2 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.2.tar.gz 218814 BLAKE2B 00f1553f986b7b7089a86336e61b6fb560dc5bb8c6d0bd52f8268654674499d62283bd6c25d52c716f3baeac5bd1742d90b598705d8adf93b21e1788f014c6fd SHA512 45cb9b42866bd4955d9ff4513f5f14006bdf9a7217b1f699c46388e49ff7d98c08c0220a7fb9b00cf91d9ba9e1f3e4d660d0bd40d8423d185e81c932624e97b9 diff --git a/dev-libs/dqlite/dqlite-1.16.2.ebuild b/dev-libs/dqlite/dqlite-1.16.2.ebuild new file mode 100644 index 000000000000..f3a5256c78dd --- /dev/null +++ b/dev-libs/dqlite/dqlite-1.16.2.ebuild @@ -0,0 +1,51 @@ +# 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="test" +RESTRICT="!test? ( test )" + +# Upstream change from canonical to cowsql resetted raft's SONAME, 3 -> 0. bgo#915960 +# Keeping dev-libs/raft:= for a while due to that. +RDEPEND="dev-db/sqlite:3 + dev-libs/libuv:= + >=dev-libs/raft-0.18.1:=" +DEPEND="${RDEPEND} + test? ( dev-libs/raft[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 + + # Will build a bundled libsqlite3.so. + --enable-build-sqlite=no + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}