dev-libs/dqlite - 1.18.7 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/dqlite-1.18.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/dqlite-1.18.7

Or alternatively:

emerge --autounmask-write -a =dev-libs/dqlite-1.18.7

Package Information

Description:
Embeddable, replicated and fault tolerant SQL engine
Homepage:
https://dqlite.io/ https://github.com/canonical/dqlite
License:
LGPL-3-with-linking-exception

Ebuild Details

Version EAPI Keywords Slot
1.18.7 8 ~amd64 ~arm64 ~x86 0/1.18.0
View Raw Ebuild
# Copyright 2020-2026 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.18.0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="+lz4 test"
RESTRICT="!test? ( test )"

RDEPEND="
	>=dev-db/sqlite-3.34.0:3
	dev-libs/libuv:=
	lz4? ( app-arch/lz4:= )
"
DEPEND="
	${RDEPEND}
	>=sys-kernel/linux-headers-4.14
"
BDEPEND="virtual/pkgconfig"

PATCHES=(
	"${FILESDIR}"/dqlite-1.18.0-disable-werror.patch
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	local myeconfargs=(
		--disable-backtrace
		--disable-debug
		--disable-sanitize

		# Linking to a separately-built libraft is no longer supported.
		--enable-build-raft

		# Will build a bundled libsqlite3.so.
		--disable-build-sqlite

		$(use_with lz4)
	)

	econf "${myeconfargs[@]}"
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/dqlite | euse -E <flag> -p dev-libs/dqlite | euse -D <flag> -p dev-libs/dqlite

Global/Standard Flags

lz4
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	
	>=dev-db/sqlite-3.34.0:3
	dev-libs/libuv:=
	lz4? ( app-arch/lz4:= )

	>=sys-kernel/linux-headers-4.14

RDEPEND

	>=dev-db/sqlite-3.34.0:3
	dev-libs/libuv:=
	lz4? ( app-arch/lz4:= )

BDEPEND

virtual/pkgconfig

Manifest for 1.18.7

Type File Size Source URLs
DIST dqlite-1.18.7.tar.gz 516056 bytes https://github.com/canonical/dqlite/archive/v1.18.7.tar.gz