summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 00:47:21 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 00:47:21 +0100
commit3eece78fb8655df23ca7a8ed47882f71afbb3c40 (patch)
tree0c02d822ba9dae4d5640415039953b096cf47980
parentca9cfd82300d1c0c0bb4d8b84a73f1e1dedd007b (diff)
downloadkde-3eece78fb8655df23ca7a8ed47882f71afbb3c40.tar.gz
kde-3eece78fb8655df23ca7a8ed47882f71afbb3c40.tar.bz2
kde-3eece78fb8655df23ca7a8ed47882f71afbb3c40.zip
net-libs/kdsoap-ws-discovery-client: Add 0.2_pre20200317 snapshot
For consumption by upcoming Release Service 20.04 beta. API unstable, creating snapshot as used by kio-extras.git commit f544950f0a878d70bb554735a3a81e011ea66b5d Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--net-libs/kdsoap-ws-discovery-client/Manifest1
-rw-r--r--net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-deps.patch (renamed from net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-9999-deps.patch)0
-rw-r--r--net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch (renamed from net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-9999-no-install-docs.patch)0
-rw-r--r--net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200317.ebuild62
-rw-r--r--net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild4
5 files changed, 65 insertions, 2 deletions
diff --git a/net-libs/kdsoap-ws-discovery-client/Manifest b/net-libs/kdsoap-ws-discovery-client/Manifest
new file mode 100644
index 00000000000..83d1d976ff2
--- /dev/null
+++ b/net-libs/kdsoap-ws-discovery-client/Manifest
@@ -0,0 +1 @@
+DIST kdsoap-ws-discovery-client-0.2_pre20200317.tar.gz 37395 BLAKE2B 03bee2d6f87a3fb407e0cff7e84f9bd83814d742f714630b8c469b26a139062472ad39a0f743caac6f5de4ae2c8a55c42b56ee14c6afcd3a0a874c3f0d9978c5 SHA512 f99092e06e4d7496d6fe79e4cf78265c072476159da958c2a0ee7b852be00b16c89582a8c69c5cbe4160a6419435ee2d8bc71bce40ea9753eaf458c34df6f86b
diff --git a/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-9999-deps.patch b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-deps.patch
index f8f6c08c5f1..f8f6c08c5f1 100644
--- a/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-9999-deps.patch
+++ b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-deps.patch
diff --git a/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-9999-no-install-docs.patch b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch
index 5e2cb6dcb6a..5e2cb6dcb6a 100644
--- a/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-9999-no-install-docs.patch
+++ b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch
diff --git a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200317.ebuild b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200317.ebuild
new file mode 100644
index 00000000000..ac8ee194cf6
--- /dev/null
+++ b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200317.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_QTHELP="false"
+ECM_TEST="forceoptional"
+inherit ecm
+
+if [[ ${PV} != *9999* ]]; then
+ COMMIT=14287e92e80a77aa4c0adee2871e6b87c9c3055e
+ SRC_URI="https://gitlab.com/caspermeijn/${PN}/repository/${COMMIT}/archive.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}-${COMMIT}-${COMMIT}"
+else
+ EGIT_REPO_URI="https://gitlab.com/caspermeijn/${PN}.git"
+ inherit git-r3
+fi
+
+DESCRIPTION="WS-Discovery client library based on KDSoap"
+HOMEPAGE="https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client
+https://caspermeijn.gitlab.io/kdsoap-ws-discovery-client"
+
+LICENSE="CC0-1.0 GPL-3+"
+SLOT="0"
+IUSE="doc"
+
+BDEPEND="
+ doc? ( app-doc/doxygen[dot] )
+"
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5
+ >=net-libs/kdsoap-1.9.0"
+DEPEND="${RDEPEND}
+ test? ( dev-qt/qtxml:5 )
+"
+
+RESTRICT+=" test"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-no-install-docs.patch
+ "${FILESDIR}"/${P}-deps.patch
+)
+
+src_prepare() {
+ ecm_src_prepare
+ use test || ecm_punt_bogus_dep Qt5 Xml
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package doc Doxygen)
+ -DBUILD_QCH=OFF # does not use ecm_add_qch from ECMAddQch
+ )
+ ecm_src_configure
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
+ ecm_src_install
+}
diff --git a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild
index ac8ee194cf6..df5ad7e2e8b 100644
--- a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild
+++ b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild
@@ -39,8 +39,8 @@ DEPEND="${RDEPEND}
RESTRICT+=" test"
PATCHES=(
- "${FILESDIR}"/${P}-no-install-docs.patch
- "${FILESDIR}"/${P}-deps.patch
+ "${FILESDIR}"/${PN}-0.2_pre20200317-no-install-docs.patch
+ "${FILESDIR}"/${PN}-0.2_pre20200317-deps.patch
)
src_prepare() {