summaryrefslogtreecommitdiff
path: root/net-libs/rabbitmq-c
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-16 22:05:01 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-16 22:05:01 +0100
commitcc4618c9ba3d974948ebf340b542d8cb01db2f55 (patch)
tree125ee67bb9e0d548771cf7b61d04bb1f0dc57687 /net-libs/rabbitmq-c
parent677b7ba5c317778df2ad7e70df94b9b7eec4adbc (diff)
gentoo resync : 16.09.2021
Diffstat (limited to 'net-libs/rabbitmq-c')
-rw-r--r--net-libs/rabbitmq-c/Manifest4
-rw-r--r--net-libs/rabbitmq-c/metadata.xml2
-rw-r--r--net-libs/rabbitmq-c/rabbitmq-c-0.11.0.ebuild53
3 files changed, 57 insertions, 2 deletions
diff --git a/net-libs/rabbitmq-c/Manifest b/net-libs/rabbitmq-c/Manifest
index 44f4c41cf6f2..b34912e28c51 100644
--- a/net-libs/rabbitmq-c/Manifest
+++ b/net-libs/rabbitmq-c/Manifest
@@ -1,3 +1,5 @@
DIST rabbitmq-c-0.10.0.tar.gz 145361 BLAKE2B 99b53d5178fa407225d2060584239af83377027fb6a209002d11ed54be4b49bab70ae55c86ab971394ab745a632ece6f070f9c10a9bdd330de4778edbd8e1ea8 SHA512 52a1194fab2dc8698ed065d63898e32aa004a4d68080d4aaf5cb7148cc28ad967283f7a99910d7f054cbba92b487b3a67b839b6f0bd88486ef9be043c9517d4c
+DIST rabbitmq-c-0.11.0.tar.gz 145638 BLAKE2B dce862d132d4bca010dbc284957f34a35d55407ea0eb4fb79369f699207c01cc7ed64c1bd58bea2d1178bd2c02176c3e93b66177fc975175b1da9ab9baaf661f SHA512 0c3dbb6e2b862e9f25e3f76df798ea272bbd81de2865950b95adf1f1e5791eb20d7c9d5a76cb7d2fda54bad5f12bdf69cbfa7e9fd1afdede6f9ec729ca2287de
EBUILD rabbitmq-c-0.10.0.ebuild 1289 BLAKE2B b3e9bf9ca16e5f03ff24ce80695793909f891e83fae7c74a1bae7a66e71dbf9872a1d96deb430baceea8f11d1a4d4ad8fe2ddb468eb3dad5a9e09ef4d6aa7279 SHA512 8f1bb64aa8ebd3bc69824d320d5ac4270af2db79234955f7b43f2544a16ceb4173e8b2d220871329f146e936127e6915f98d8005bed4b5e36c23c85e2b1bccfe
-MISC metadata.xml 334 BLAKE2B 672c5318c4bde4bcece68c54ef2267f870bef399b2f1f245fffbaef00be8debe125362f5e082af20738487636be8116c8dd14cbcced2c6f3d3862bd3ffca4377 SHA512 e28cd79f898d2fc3a02d48b62a572102724cf18951810791479c273f8407f0c4bf8f202bf72f035c8383fe7ab4a8f216a98ce79cbaa9bb1ad82f69c26d762d76
+EBUILD rabbitmq-c-0.11.0.ebuild 1286 BLAKE2B 3fb3c831ad7f98447cb24314a53bc5d60d174d7ec2c7bc5d9d6dcd1673bc908d5f911978ee6f8cd8a3e874958abba7b0cbb8bb6d08482d3e4fc3a49b1708663e SHA512 a61914319cdf8026ad4df38a973b52f9a5bb2e4d7ef8f925f9367bfda5d02c55bbfb5035eeb49d62ec7876ca75eb32e313c5d541cc85c6de9034882ada34f089
+MISC metadata.xml 335 BLAKE2B b2cff371cbfbcd9eaeed0d85b658ab9df7fe669dec9e679f0155c31e794afb76a2592bc0a575eea231beeaac51cb5707c1ac0c593631f0e3e04cdb8a2e872a19 SHA512 68639ae3aed6e2846355f5690d7aa4d4af2d94078b489beb972b23eeef2e9bf62c99529c9580e6b88e857d47e82c4896e5e9fb7ed6ecf8f03135d8cd702d4f0c
diff --git a/net-libs/rabbitmq-c/metadata.xml b/net-libs/rabbitmq-c/metadata.xml
index bf9c427ce7c4..0fed8249ebef 100644
--- a/net-libs/rabbitmq-c/metadata.xml
+++ b/net-libs/rabbitmq-c/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<use>
diff --git a/net-libs/rabbitmq-c/rabbitmq-c-0.11.0.ebuild b/net-libs/rabbitmq-c/rabbitmq-c-0.11.0.ebuild
new file mode 100644
index 000000000000..b8e7ae78e5f9
--- /dev/null
+++ b/net-libs/rabbitmq-c/rabbitmq-c-0.11.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="RabbitMQ C client"
+HOMEPAGE="https://github.com/alanxz/rabbitmq-c"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/alanxz/${PN}.git"
+else
+ SRC_URI="https://github.com/alanxz/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0/4"
+IUSE="doc test +ssl static-libs tools"
+
+REQUIRED_USE="test? ( static-libs )"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )
+ tools? ( dev-libs/popt )"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )
+ tools? ( app-text/xmlto )"
+
+DOCS=( AUTHORS README.md THANKS TODO )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_API_DOCS=$(usex doc)
+ -DBUILD_STATIC_LIBS=$(usex static-libs)
+ -DBUILD_TESTS=$(usex test)
+ -DBUILD_TOOLS=$(usex tools)
+ -DBUILD_TOOLS_DOCS=$(usex tools)
+ -DENABLE_SSL_SUPPORT=$(usex ssl)
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ pushd "${BUILD_DIR}" > /dev/null || die
+
+ # Skip "basic" test which requires running local rabbitmq-server instance,
+ # see https://github.com/alanxz/rabbitmq-c/issues/530
+ ctest -v -E basic || die
+}