diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-19 13:00:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-19 13:00:31 +0000 |
commit | 26f79803004cb53e92cf2f0e889de89979385aa9 (patch) | |
tree | d46d17cb971a2dffbe96669e4ad8d341eb5ee3c7 /dev-libs/dqlite | |
parent | c5572b13d51970d6603acd131f27991cc1b66a79 (diff) |
gentoo auto-resync : 19:11:2022 - 13:00:31
Diffstat (limited to 'dev-libs/dqlite')
-rw-r--r-- | dev-libs/dqlite/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/dqlite/dqlite-1.12.0.ebuild | 45 | ||||
-rw-r--r-- | dev-libs/dqlite/files/dqlite-1.12.0-disable-werror.patch | 20 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest index 2ee572d1ef02..50138db92f60 100644 --- a/dev-libs/dqlite/Manifest +++ b/dev-libs/dqlite/Manifest @@ -1,3 +1,6 @@ +AUX dqlite-1.12.0-disable-werror.patch 515 BLAKE2B 3a2ed21d6d4b33f3f39789459754f3663ff03946c65a9660bb98a07bbc6b9b3bde7f800580f40b2e49f92744cbca719463226c60a8e98b8f41f689797b63a916 SHA512 af0a219f9ef5315fdb169f7f812059b6cadc251df5262de8d5574827afb23da64e9d0015ef38db0e5581dd9e6a992a72e3a54c2cbb5181ceddcc07082a98bfdb DIST dqlite-1.11.1.tar.gz 172024 BLAKE2B 48fb3c4eebc1f1a2d341254f9f0ad01f871b65fac727b132b80ac59eceb7d1ab95ac6118549ab39c8b032053a8791d6abef5e0d4856da7e45f00939b083463e5 SHA512 64d9a6548a4d75e3045adf5e31d54c508a02b255573225d32119225260c3d5219c4ac29c857ba054cd3fa3df54ee81cf88bbc2f9769839902f63f0f8c02cc6c7 +DIST dqlite-1.12.0.tar.gz 181709 BLAKE2B efb35aa9d0c348cd55eb190e27ad155b7d748ccbcb80822f33ce4589d56bc0090f5c0703d769e7090bb8da1b8908cbd73d1076568108661d5b85e55103795a9f SHA512 2a3dc17fcaa0ec2fc5481d3ff57a7bee42c8930f0e6ac7030d51e1a61ae3ce4d7b24f47921b29602a65353c1a51931a82d9af302ee580b19bdce561e6547e940 EBUILD dqlite-1.11.1.ebuild 869 BLAKE2B 0cd8e9e2a544716abee49e2a999a656a1bebd72b8647a9985f1717d6853e815a910da4b25aa722af6e9da3f9866ec911a24700abbd5cd509fcef0c42dbe81c48 SHA512 c0594bef260583d4dc90523f174aea2a781211e49eaaba3c89487c408e386d0e592ed6dc120fb110402199b8cbac24d30e0ef4b86653f4fab21c7e43821c863b +EBUILD dqlite-1.12.0.ebuild 939 BLAKE2B 4ecb3815f5dafa8e99f657b834f0b7fe625ef1beb6a1d2f31317ca7575374931d150e7085b8870e1d06d41dd0d1cb2f3b89b91dc6a810fa81a8bd79fcdaa6d8c SHA512 94a8085cab71b44d5688e790c4c6b6cee2eb8868ffe45321f3e848e7e2c4b4ffd057be420f75e91eb76508a7d9aad74f8b40867cdea44a9efe2a0c413e8d04d2 MISC metadata.xml 865 BLAKE2B 3489de10f0de21d57146940eed0f4b69e637b0226b4be0127f33232dc6d8648ca4c169451948c31296ac5c41d163c8e65e983992f5baeb24db7d1b5dedfa4d22 SHA512 fc5c1fec36820bb855569c5e8bf7bfc3b522f00892489b20062e95121e6bd4e45f6b87a2d7c6d7a2e6b6c92e3dfd39b66705c58920207cf601e029d330b580ce diff --git a/dev-libs/dqlite/dqlite-1.12.0.ebuild b/dev-libs/dqlite/dqlite-1.12.0.ebuild new file mode 100644 index 000000000000..59ce7c3bdc58 --- /dev/null +++ b/dev-libs/dqlite/dqlite-1.12.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020-2022 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.12.0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/sqlite:3 + dev-libs/libuv:= + >=dev-libs/raft-0.14.0" +DEPEND="${RDEPEND} + test? ( >=dev-libs/raft-0.13.0[lz4,test] )" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/dqlite-1.12.0-disable-werror.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-debug + --disable-sanitize + --disable-static + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/dqlite/files/dqlite-1.12.0-disable-werror.patch b/dev-libs/dqlite/files/dqlite-1.12.0-disable-werror.patch new file mode 100644 index 000000000000..9c92324688d6 --- /dev/null +++ b/dev-libs/dqlite/files/dqlite-1.12.0-disable-werror.patch @@ -0,0 +1,20 @@ +diff -Naur a/configure.ac b/configure.ac +--- a/configure.ac 2022-11-18 16:44:34.000000000 +0200 ++++ b/configure.ac 2022-11-19 09:21:24.157589426 +0200 +@@ -3,7 +3,7 @@ + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_AUX_DIR([ac]) + +-AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror -Wno-portability foreign]) ++AM_INIT_AUTOMAKE([subdir-objects -Wall -Wno-portability foreign]) + AM_SILENT_RULES([yes]) + + AC_PROG_CC_STDC +@@ -82,7 +82,6 @@ + -Wdate-time \ + -Wnested-externs \ + -Wconversion \ +- -Werror \ + ]) + # To enable: + # |