summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2023-10-17 19:46:16 +0300
committerJoonas Niilola <juippis@gentoo.org>2023-10-17 19:47:00 +0300
commit23697ce0ab2a735bce5d02c2389568b0800b7ed0 (patch)
treed7f055eae41460af034a1f2a4a3da0cda8ce937f /dev-libs/cowsql
parentmedia-libs/libplacebo: sync live keywords (diff)
downloadgentoo-23697ce0ab2a735bce5d02c2389568b0800b7ed0.tar.gz
gentoo-23697ce0ab2a735bce5d02c2389568b0800b7ed0.tar.bz2
gentoo-23697ce0ab2a735bce5d02c2389568b0800b7ed0.zip
dev-libs/cowsql: add 1.15.3
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/cowsql')
-rw-r--r--dev-libs/cowsql/Manifest1
-rw-r--r--dev-libs/cowsql/cowsql-1.15.3.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/cowsql/Manifest b/dev-libs/cowsql/Manifest
index 884fb88867fc..8190cca3b7d5 100644
--- a/dev-libs/cowsql/Manifest
+++ b/dev-libs/cowsql/Manifest
@@ -1 +1,2 @@
DIST cowsql-0_pre20230921.tar.gz 364458 BLAKE2B 4d4a6126a0a9059402c6591aeada96005964566e41a6ad0ce3b47c07d63ddf626b1d279e7847eb4677d44fea82a5b425fd8d5569d0b9545d37d4d903db3a6d0b SHA512 7297c6149287fe96fded43689f081b5b59b294e8b73067587a8255bde41671744a1b3ac541028565eaefd61d72195172ab82bd1f0ddcd6e8bad48af9db8db320
+DIST cowsql-1.15.3.tar.gz 364221 BLAKE2B 83258056931251ee8913b1ac65b639b9825242503734b8f9054c618b1bc8b7d433a81923aba0d5d9e53eae08fc9236052ef0e8537b1771dc65eb30295a9ba90e SHA512 c22b8b29f62c65a6e6289424e4a168fbfc772c1058b378ba5d3300f29cdf8192f4818291be23df26551b5cabc46948798df4816dab83ed6c786b88fc2c85d320
diff --git a/dev-libs/cowsql/cowsql-1.15.3.ebuild b/dev-libs/cowsql/cowsql-1.15.3.ebuild
new file mode 100644
index 000000000000..496e9cff9648
--- /dev/null
+++ b/dev-libs/cowsql/cowsql-1.15.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-2023 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 (fork of dqlite)"
+HOMEPAGE="https://cowsql.dev/ https://github.com/cowsql/cowsql"
+SRC_URI="https://github.com/cowsql/cowsql/archive/refs/tags/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.17.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
+}