diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /dev-libs/dqlite | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'dev-libs/dqlite')
-rw-r--r-- | dev-libs/dqlite/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/dqlite/dqlite-1.16.6.ebuild | 59 | ||||
-rw-r--r-- | dev-libs/dqlite/files/dqlite-1.16.6-respect-cflags.patch | 13 | ||||
-rw-r--r-- | dev-libs/dqlite/metadata.xml | 4 |
4 files changed, 80 insertions, 1 deletions
diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest index 6e8ea9d6d5b7..aadb1d14ac34 100644 --- a/dev-libs/dqlite/Manifest +++ b/dev-libs/dqlite/Manifest @@ -1,4 +1,7 @@ AUX dqlite-1.12.0-disable-werror.patch 515 BLAKE2B 3a2ed21d6d4b33f3f39789459754f3663ff03946c65a9660bb98a07bbc6b9b3bde7f800580f40b2e49f92744cbca719463226c60a8e98b8f41f689797b63a916 SHA512 af0a219f9ef5315fdb169f7f812059b6cadc251df5262de8d5574827afb23da64e9d0015ef38db0e5581dd9e6a992a72e3a54c2cbb5181ceddcc07082a98bfdb +AUX dqlite-1.16.6-respect-cflags.patch 379 BLAKE2B 2b3efabe511eec6dc548bf81dc3dbe9b1ffe0076f01ff8736fb982f35d014af8557a0ed1359f0f35b4637d7f35750e054405249cc47d22fbfb79d9eaa3d0e376 SHA512 92d61fe10507e61ae7fd9a0921fc6bf910d3f442ca09a490caf8882c4dc013d8c2a0638aaa32f4ddd1a0352ce5af8b25e650b42f3be81598b6639a6168acb6f0 DIST dqlite-1.16.4.tar.gz 499174 BLAKE2B 3a5f28dd352ada1d0866d3563c450aad10413118a30fc9369aaadc5f46acefaa8f28e21118e71ef3eb801c51c9946664882d82a15eff71eefbbd51f6fd68c4b3 SHA512 164a63ce9224b9a4f10d2312ac03e98ccdec8c6c4fe22e6fc595dc792f9a7c75317cf8e839eb31a8db2501a094d67053300532a92bca26c86ef5097dd3c06a2b +DIST dqlite-1.16.6.tar.gz 528753 BLAKE2B ce189198bd1edd311bd76f50d780af63cabaecc0c0f6c5ba49d3d3e04cafcfcb215c0297bba8d86db83f1457dad71fa0c7c018af076ccbf7c647918c10265399 SHA512 c71c9da8c0a0ed2ea70d2a2a8eb45470818b1cc80126483fefbcdf84a77dddd2dbc85ed38fe0e860e6e085ad11356981375c41626888a53ea20cc4a00d840774 EBUILD dqlite-1.16.4-r1.ebuild 1109 BLAKE2B 814f7ac47cf2afa3ee25ce687aec1bd7ae6b6f83b330b401171f23edd314af7a7add862782f1d8a591449cc82d5b3b6890e98fdcf326b273e83088e932e79f43 SHA512 91defea4e4e2e681b2a6967a36a97a647455f33f0223868bfaf51c7eb2dfed1f553df02951b6ab1e18e2a983d8c1b30dd210cefca858323f4e14b643c008e867 -MISC metadata.xml 950 BLAKE2B 26822e40a2c719e8e3a03db6e513d869eef038fcca973ef049da1b6eeec29aefd0867d6bced049ad1dd0465a4d942982565ff0436a7744ffb127879987ea626a SHA512 bb07a8a87ae66e5b5a2aca695e9d5cd1e5a1d725d1d9200099f9d5b46adad83c2ca9ebfedc172ad01fe31aecc1fbbe5a4de7255a2e04d4462c03a106127c7221 +EBUILD dqlite-1.16.6.ebuild 1236 BLAKE2B 2b8c0df43829fc095665fafa34db24961219579f3ee8fe556f76239cd392e451dd6b7ffbf22bee166aef1bbe290ac2c7246a7a30f4ab81615277d85ef8da3593 SHA512 5bbb12596880c0a735792a72fa24a9c304899fd6028825c1d486f56d440a6332e7deaa5c4af2ec6735c8bcb782f80ff24ab710809bcebd6c1d216346c4859d84 +MISC metadata.xml 1083 BLAKE2B 2d06f19b07319a820185729e4d6d14c3869e09fe2d0b30f9e6252f38785da0616e03eb94c0a38657ae8439c985dcfe84bcfaa4cea7ce4b95c559327367f83b55 SHA512 0b47a191a7b0f3e19b341adca39e361391e8a802260c317afea46121feaee5be10415b9fff5e23f13837d562ef795eed38d192e7608ed536c0958d4ee947e94a diff --git a/dev-libs/dqlite/dqlite-1.16.6.ebuild b/dev-libs/dqlite/dqlite-1.16.6.ebuild new file mode 100644 index 000000000000..11256abc34ee --- /dev/null +++ b/dev-libs/dqlite/dqlite-1.16.6.ebuild @@ -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 +} diff --git a/dev-libs/dqlite/files/dqlite-1.16.6-respect-cflags.patch b/dev-libs/dqlite/files/dqlite-1.16.6-respect-cflags.patch new file mode 100644 index 000000000000..8d4fa6b8af7c --- /dev/null +++ b/dev-libs/dqlite/files/dqlite-1.16.6-respect-cflags.patch @@ -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 + diff --git a/dev-libs/dqlite/metadata.xml b/dev-libs/dqlite/metadata.xml index 93aa9821db98..980e4850634e 100644 --- a/dev-libs/dqlite/metadata.xml +++ b/dev-libs/dqlite/metadata.xml @@ -5,6 +5,10 @@ <email>juippis@gentoo.org</email> <name>Joonas Niilola</name> </maintainer> + <maintainer type="person" proxied="yes"> + <email>brahmajit.xyz@gmail.com</email> + <name>Brahmajit Das</name> + </maintainer> <maintainer type="project"> <email>virtualization@gentoo.org</email> <name>Gentoo Virtualization Project</name> |