mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-libs/dqlite: add 1.16.6
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
f22d10126f
commit
e0fff5c2cf
@@ -1 +1,2 @@
|
||||
DIST dqlite-1.16.4.tar.gz 499174 BLAKE2B 3a5f28dd352ada1d0866d3563c450aad10413118a30fc9369aaadc5f46acefaa8f28e21118e71ef3eb801c51c9946664882d82a15eff71eefbbd51f6fd68c4b3 SHA512 164a63ce9224b9a4f10d2312ac03e98ccdec8c6c4fe22e6fc595dc792f9a7c75317cf8e839eb31a8db2501a094d67053300532a92bca26c86ef5097dd3c06a2b
|
||||
DIST dqlite-1.16.6.tar.gz 528753 BLAKE2B ce189198bd1edd311bd76f50d780af63cabaecc0c0f6c5ba49d3d3e04cafcfcb215c0297bba8d86db83f1457dad71fa0c7c018af076ccbf7c647918c10265399 SHA512 c71c9da8c0a0ed2ea70d2a2a8eb45470818b1cc80126483fefbcdf84a77dddd2dbc85ed38fe0e860e6e085ad11356981375c41626888a53ea20cc4a00d840774
|
||||
|
||||
59
dev-libs/dqlite/dqlite-1.16.6.ebuild
Normal file
59
dev-libs/dqlite/dqlite-1.16.6.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# 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
|
||||
"${FILESDIR}"/dqlite-1.16.6-respect-cflags.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
|
||||
|
||||
# Will build with experimental dqlite backend
|
||||
--enable-dqlite-next=no
|
||||
|
||||
$(use_with lz4)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
13
dev-libs/dqlite/files/dqlite-1.16.6-respect-cflags.patch
Normal file
13
dev-libs/dqlite/files/dqlite-1.16.6-respect-cflags.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 0936760..ce8feb7 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -6,8 +6,6 @@ AC_CONFIG_AUX_DIR([ac])
|
||||
AM_INIT_AUTOMAKE([subdir-objects -Wall -Wno-portability foreign])
|
||||
AM_SILENT_RULES([yes])
|
||||
|
||||
-# Without this line, AC_PROG_CC boneheadedly adds `-g -O2` to our CFLAGS.
|
||||
-AC_SUBST(CFLAGS, "")
|
||||
AC_PROG_CC
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
||||
Reference in New Issue
Block a user