diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /net-libs/rabbitmq-c | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'net-libs/rabbitmq-c')
-rw-r--r-- | net-libs/rabbitmq-c/Manifest | 4 | ||||
-rw-r--r-- | net-libs/rabbitmq-c/rabbitmq-c-0.8.0.ebuild | 4 | ||||
-rw-r--r-- | net-libs/rabbitmq-c/rabbitmq-c-0.9.0.ebuild | 54 |
3 files changed, 59 insertions, 3 deletions
diff --git a/net-libs/rabbitmq-c/Manifest b/net-libs/rabbitmq-c/Manifest index 72d71fd804fa..51792eb5dd75 100644 --- a/net-libs/rabbitmq-c/Manifest +++ b/net-libs/rabbitmq-c/Manifest @@ -1,3 +1,5 @@ DIST rabbitmq-c-v0.8.0.zip 249220 BLAKE2B 171ae0ffc093851089f4dc11cc1e8ef25ae90cbb0cce75ffb93c04a765b7d195e5bde8bbdaa4ce0c598c7f4bb291ed204d157443ed927db373a89f8ab9e7ebc0 SHA512 e386979ce1bc05c02cda06e8582981e0df25f9b31ca950f8a921bd2b249020f751ba65a6f38b8f5ba0be1b3e89492b29b72c6cd1d5ed3d6f19440799d6419ba6 -EBUILD rabbitmq-c-0.8.0.ebuild 1111 BLAKE2B 949f7f843f362345bab652f2bc7a7eb0d261fe8f6a5fecc50107ed01b4c99afa3ad744193819c21120ec3cebd997d3772eb54240124ed3e597dd2da10ae39cc1 SHA512 81e05977f399034885ca1699634e9403d8ec140e884c732415ab9e76309122d862b62b471143026a69dd2b1c4d0e7cc90794aeb39f23ab46546af039ef2da819 +DIST rabbitmq-c-v0.9.0.zip 227245 BLAKE2B ea37e0a9734bc7a8923cab880a9e150f055bab83bb79eb793882a1d435e6e435fbf4610034235f858d0e4d20978287b9432b312c8c3eea5e588655dc2f831554 SHA512 0cac0e26b4caca3de22b468200a20c38c8ace1a824442faa0855d93922b0c3a649fc2067366f6694eca0be635187ca9a9cfe47643472f4abb3d67028768f49fb +EBUILD rabbitmq-c-0.8.0.ebuild 1107 BLAKE2B a6b9018702b7b2969fb3f95a843aa243c7d057bd416dba9ab16fc586db8f9434995593fb6af660818008f53a02ff4db34364a4bd3fa3a37319623d7cc0274a7b SHA512 ea8089584ad9d42759c6bf901cef3e5ae5f0a9d6d2631ba86079f29b399c15898eba183e10e415a9d1d3dcc85fbb443014c6572f4695e3e114bd6a44c03523e0 +EBUILD rabbitmq-c-0.9.0.ebuild 1331 BLAKE2B 44b776bcd36dd8c8ef4498da062215dd1ae4b89461f0936e1ab93e960bf6f0465f9cb4d56ff099e4616da1a07cac49e8883dace20cf12658632404fb3ccab38d SHA512 02382404ffb6db5db3b7ee3d06a099753ac427b67e15162df1715f72741556a942ff79547ff40481517bd45231d961e523305aa5cd8954671aa5840e1c1be9ea MISC metadata.xml 334 BLAKE2B 672c5318c4bde4bcece68c54ef2267f870bef399b2f1f245fffbaef00be8debe125362f5e082af20738487636be8116c8dd14cbcced2c6f3d3862bd3ffca4377 SHA512 e28cd79f898d2fc3a02d48b62a572102724cf18951810791479c273f8407f0c4bf8f202bf72f035c8383fe7ab4a8f216a98ce79cbaa9bb1ad82f69c26d762d76 diff --git a/net-libs/rabbitmq-c/rabbitmq-c-0.8.0.ebuild b/net-libs/rabbitmq-c/rabbitmq-c-0.8.0.ebuild index 0a03a2d4ffab..b8a050a0a6f6 100644 --- a/net-libs/rabbitmq-c/rabbitmq-c-0.8.0.ebuild +++ b/net-libs/rabbitmq-c/rabbitmq-c-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/alanxz/${PN}.git" else SRC_URI="https://github.com/alanxz/${PN}/archive/v${PV}.zip -> ${PN}-v${PV}.zip" - KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ppc ppc64 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86" fi LICENSE="MIT" diff --git a/net-libs/rabbitmq-c/rabbitmq-c-0.9.0.ebuild b/net-libs/rabbitmq-c/rabbitmq-c-0.9.0.ebuild new file mode 100644 index 000000000000..5f1af9841fa7 --- /dev/null +++ b/net-libs/rabbitmq-c/rabbitmq-c-0.9.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit cmake-utils + +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}.zip -> ${PN}-v${PV}.zip" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0/4" +IUSE="doc libressl test +ssl static-libs tools" + +REQUIRED_USE="test? ( static-libs )" + +RDEPEND="ssl? ( + libressl? ( dev-libs/libressl:= ) + !libressl? ( dev-libs/openssl:0= ) + ) + tools? ( dev-libs/popt )" +DEPEND="${DEPEND} + doc? ( app-doc/doxygen ) + tools? ( app-text/xmlto )" +DOCS=( AUTHORS README.md THANKS TODO ) + +src_configure() { + mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -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-utils_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 +} |