Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/kdsoap-ws-discovery-client/
Date: Sat, 02 Jan 2021 20:31:42
Message-Id: 1609619453.c58dae8d82bb05485a2a48cb7460cd2f954e2187.asturm@gentoo
1 commit: c58dae8d82bb05485a2a48cb7460cd2f954e2187
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 16:38:53 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 20:30:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c58dae8d
7
8 net-libs/kdsoap-ws-discovery-client: 0.2_pre20200927 version bump
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-libs/kdsoap-ws-discovery-client/Manifest | 1 +
14 ...soap-ws-discovery-client-0.2_pre20200927.ebuild | 59 ++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/net-libs/kdsoap-ws-discovery-client/Manifest b/net-libs/kdsoap-ws-discovery-client/Manifest
18 index 83d1d976ff2..7dac6647d17 100644
19 --- a/net-libs/kdsoap-ws-discovery-client/Manifest
20 +++ b/net-libs/kdsoap-ws-discovery-client/Manifest
21 @@ -1 +1,2 @@
22 DIST kdsoap-ws-discovery-client-0.2_pre20200317.tar.gz 37395 BLAKE2B 03bee2d6f87a3fb407e0cff7e84f9bd83814d742f714630b8c469b26a139062472ad39a0f743caac6f5de4ae2c8a55c42b56ee14c6afcd3a0a874c3f0d9978c5 SHA512 f99092e06e4d7496d6fe79e4cf78265c072476159da958c2a0ee7b852be00b16c89582a8c69c5cbe4160a6419435ee2d8bc71bce40ea9753eaf458c34df6f86b
23 +DIST kdsoap-ws-discovery-client-0.2_pre20200927.tar.gz 37493 BLAKE2B c0dff21554bc56c4055c74a166a85186d67b0378f7bfbfcd3582ae7b992aaa71cefb6b794258fa07b37fcdd1d42ac2bf9fbfd7cd8142f8f77b1ba9791d683dae SHA512 86f8c4eee3fd484253ee91190092a9ae0dbd3d0c536ec25a6e3ec35be45d4a3d320cffbfc0ed2024d447788b43c9df88ca81181157720ce8942c9034d4eea49f
24
25 diff --git a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200927.ebuild b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200927.ebuild
26 new file mode 100644
27 index 00000000000..74f1eb852d1
28 --- /dev/null
29 +++ b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200927.ebuild
30 @@ -0,0 +1,59 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +ECM_QTHELP="false"
37 +ECM_TEST="true"
38 +inherit ecm
39 +
40 +if [[ ${PV} != *9999* ]]; then
41 + COMMIT=dcefb65c88e76f1f9eda8b0318006e93d15a0e1e
42 + SRC_URI="https://gitlab.com/caspermeijn/${PN}/repository/${COMMIT}/archive.tar.gz -> ${P}.tar.gz"
43 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
44 + S="${WORKDIR}/${PN}-${COMMIT}-${COMMIT}"
45 +else
46 + EGIT_REPO_URI="https://gitlab.com/caspermeijn/${PN}.git"
47 + inherit git-r3
48 +fi
49 +
50 +DESCRIPTION="WS-Discovery client library based on KDSoap"
51 +HOMEPAGE="https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client
52 +https://caspermeijn.gitlab.io/kdsoap-ws-discovery-client"
53 +
54 +LICENSE="CC0-1.0 GPL-3+"
55 +SLOT="0"
56 +IUSE="doc"
57 +
58 +BDEPEND="
59 + doc? ( app-doc/doxygen[dot] )
60 +"
61 +RDEPEND="
62 + dev-qt/qtcore:5
63 + dev-qt/qtnetwork:5
64 + >=net-libs/kdsoap-1.9.0:="
65 +DEPEND="${RDEPEND}
66 + test? ( dev-qt/qtxml:5 )
67 +"
68 +
69 +RESTRICT+=" test"
70 +
71 +PATCHES=( "${FILESDIR}"/${PN}-0.2_pre20200317-no-install-docs.patch )
72 +
73 +src_prepare() {
74 + ecm_src_prepare
75 + use test || ecm_punt_bogus_dep Qt5 Xml
76 +}
77 +
78 +src_configure() {
79 + local mycmakeargs=(
80 + $(cmake_use_find_package doc Doxygen)
81 + -DBUILD_QCH=OFF # does not use ecm_add_qch from ECMAddQch
82 + )
83 + ecm_src_configure
84 +}
85 +
86 +src_install() {
87 + use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
88 + ecm_src_install
89 +}