summaryrefslogtreecommitdiff
path: root/net-libs/kdsoap-ws-discovery-client
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/kdsoap-ws-discovery-client')
-rw-r--r--net-libs/kdsoap-ws-discovery-client/Manifest5
-rw-r--r--net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-deps.patch9
-rw-r--r--net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch13
-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/metadata.xml8
5 files changed, 97 insertions, 0 deletions
diff --git a/net-libs/kdsoap-ws-discovery-client/Manifest b/net-libs/kdsoap-ws-discovery-client/Manifest
new file mode 100644
index 000000000000..8b9f5de36784
--- /dev/null
+++ b/net-libs/kdsoap-ws-discovery-client/Manifest
@@ -0,0 +1,5 @@
+AUX kdsoap-ws-discovery-client-0.2_pre20200317-deps.patch 346 BLAKE2B 5b195b70196269ee1f09c7b92823d9b59303c7bb485c68f4352242eed1e1086159ad9f47c1963db9e1ed8fc1d03e31a6e480bb47abbeff4167638c1e46a62864 SHA512 cf0ba64983da5c8b18e4103bce0dd1afb2cd5292d3f37a52a29c93a5d19895c13ea244ad27433cc54be8ce419f3a67a1941e21e25a232a4230a0c9b56f020ace
+AUX kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch 467 BLAKE2B 1b972ba3ae3a6831d49c1c2986fae4ff75fa051964b1c39399b413d724c7c93fef6bc9e740a7e0f10860b64e228f1f18ad1f4836e887aec67d0b2addf7205892 SHA512 2370c1571dcee014b258f388a8a6401a331afc4a2ca0e3491e112ad686bc822cb780b155a1f74e4a8dbe315a65207cc22e088f2471ba621b645cc8e043829903
+DIST kdsoap-ws-discovery-client-0.2_pre20200317.tar.gz 37395 BLAKE2B 03bee2d6f87a3fb407e0cff7e84f9bd83814d742f714630b8c469b26a139062472ad39a0f743caac6f5de4ae2c8a55c42b56ee14c6afcd3a0a874c3f0d9978c5 SHA512 f99092e06e4d7496d6fe79e4cf78265c072476159da958c2a0ee7b852be00b16c89582a8c69c5cbe4160a6419435ee2d8bc71bce40ea9753eaf458c34df6f86b
+EBUILD kdsoap-ws-discovery-client-0.2_pre20200317.ebuild 1334 BLAKE2B f0257f735f2f6656cd50865cc47195336242820165557955930bc6aa53d7a1defb8efbb8764fc0c3017199b4c79af2bd6c76f802db979296aed58cad312fd171 SHA512 01e76eaa2fe60ae5be6312402e54e57da6eafbccc7b9f06d6d433e0977d91a19dee02176a1c6a9cd3e21ed7ed719dc6e7269c6a65d2650f848944280417902c2
+MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
diff --git a/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-deps.patch b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-deps.patch
new file mode 100644
index 000000000000..f8f6c08c5f1c
--- /dev/null
+++ b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-deps.patch
@@ -0,0 +1,9 @@
+--- a/KDSoapWSDiscoveryClientConfig.cmake.in 2020-03-02 23:38:05.253097303 +0100
++++ b/KDSoapWSDiscoveryClientConfig.cmake.in 2020-03-02 23:39:03.346641208 +0100
+@@ -5,5 +5,6 @@
+ @PACKAGE_INIT@
+
+ find_dependency(Qt5Core @REQUIRED_QT_VERSION@)
++find_dependency(KDSoap)
+
+ include("${CMAKE_CURRENT_LIST_DIR}/KDSoapWSDiscoveryClientTargets.cmake")
diff --git a/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch
new file mode 100644
index 000000000000..5e2cb6dcb6ac
--- /dev/null
+++ b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch
@@ -0,0 +1,13 @@
+Do not trigger QA with the paths we want our docs in.
+
+--- a/docs/CMakeLists.txt 2020-03-02 23:10:28.358584552 +0100
++++ b/docs/CMakeLists.txt 2020-03-02 23:11:52.228369765 +0100
+@@ -29,8 +29,4 @@
+ USE_STAMP_FILE
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..
+ )
+- install(DIRECTORY
+- ${CMAKE_CURRENT_BINARY_DIR}/html/
+- DESTINATION ${KDE_INSTALL_DATADIR}/doc/KDSoapWSDiscoveryClient
+- COMPONENT Devel)
+ endif()
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 000000000000..dabcdda16bf0
--- /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 ~ppc64"
+ 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/metadata.xml b/net-libs/kdsoap-ws-discovery-client/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/net-libs/kdsoap-ws-discovery-client/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>