diff options
Diffstat (limited to 'dev-libs/dqlite')
-rw-r--r-- | dev-libs/dqlite/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/dqlite/dqlite-1.16.2.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest index 6616573d028e..97d911f9f645 100644 --- a/dev-libs/dqlite/Manifest +++ b/dev-libs/dqlite/Manifest @@ -1,4 +1,6 @@ AUX dqlite-1.12.0-disable-werror.patch 515 BLAKE2B 3a2ed21d6d4b33f3f39789459754f3663ff03946c65a9660bb98a07bbc6b9b3bde7f800580f40b2e49f92744cbca719463226c60a8e98b8f41f689797b63a916 SHA512 af0a219f9ef5315fdb169f7f812059b6cadc251df5262de8d5574827afb23da64e9d0015ef38db0e5581dd9e6a992a72e3a54c2cbb5181ceddcc07082a98bfdb DIST dqlite-1.16.0.tar.gz 216776 BLAKE2B 653eac56c237e466f8b57d43a62ad25b7b3bd72a2088345f66db53b6bce5cdd528d16f3440572e5af8536fafde3f3cbb7700898479f1cd62b273e2192160ad15 SHA512 f9bc7ea3021d72bd81fe487d1c11b86a566002e2b1ddf6000b0fd54e407746ac35af079afc508d9d752de774dfee33c5c6e54c40c7884ac67a3bc7dca14ea362 +DIST dqlite-1.16.2.tar.gz 218814 BLAKE2B 00f1553f986b7b7089a86336e61b6fb560dc5bb8c6d0bd52f8268654674499d62283bd6c25d52c716f3baeac5bd1742d90b598705d8adf93b21e1788f014c6fd SHA512 45cb9b42866bd4955d9ff4513f5f14006bdf9a7217b1f699c46388e49ff7d98c08c0220a7fb9b00cf91d9ba9e1f3e4d660d0bd40d8423d185e81c932624e97b9 EBUILD dqlite-1.16.0.ebuild 1021 BLAKE2B 0a12b3259ce6826c1a0543ee326643021e2935929a9db175251addd5f15739f19e07120907e0d5c74b483b420b5ab4f90e1c7ac573f575b603c77be37f9f2644 SHA512 95d1f9f0898362898317abb898c53dbc73d14e746e7397bed382c0aaabdf15568a69093b996f52f21b4bcec6ecb1c9b92cf745e0e52ef99b7be93296473cacd0 +EBUILD dqlite-1.16.2.ebuild 1159 BLAKE2B 8fc470b2f3ca48feb8ee3fedd087dc5f45a60f0267f8a07a6a3c328a010f0384713d30f164960ca5c7aa6a07b17d55e44ba51f732be966124be8f0c3a51a138c SHA512 b1f135970fd5032d23a1b843c4b3ffd0cef2e65ed0f092daa13b1db6ccb992fd8c483364249637e8a21c5ed1c047290a81f3f16dfb2923087fc8913d2dceb693 MISC metadata.xml 950 BLAKE2B 26822e40a2c719e8e3a03db6e513d869eef038fcca973ef049da1b6eeec29aefd0867d6bced049ad1dd0465a4d942982565ff0436a7744ffb127879987ea626a SHA512 bb07a8a87ae66e5b5a2aca695e9d5cd1e5a1d725d1d9200099f9d5b46adad83c2ca9ebfedc172ad01fe31aecc1fbbe5a4de7255a2e04d4462c03a106127c7221 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 +} |