1 |
commit: 9b2dd2c3a6b5100dbb638eb799abd0986c0bd72b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 2 22:22:34 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 2 22:45:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=9b2dd2c3 |
7 |
|
8 |
net-libs/kdsoap-ws-discovery-client: New package |
9 |
|
10 |
Bug: https://bugs.gentoo.org/710936 |
11 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../kdsoap-ws-discovery-client-9999-deps.patch | 9 ++++ |
15 |
...-ws-discovery-client-9999-no-install-docs.patch | 13 ++++++ |
16 |
.../kdsoap-ws-discovery-client-9999.ebuild | 54 ++++++++++++++++++++++ |
17 |
net-libs/kdsoap-ws-discovery-client/metadata.xml | 8 ++++ |
18 |
4 files changed, 84 insertions(+) |
19 |
|
20 |
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-9999-deps.patch |
21 |
new file mode 100644 |
22 |
index 0000000000..f8f6c08c5f |
23 |
--- /dev/null |
24 |
+++ b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-9999-deps.patch |
25 |
@@ -0,0 +1,9 @@ |
26 |
+--- a/KDSoapWSDiscoveryClientConfig.cmake.in 2020-03-02 23:38:05.253097303 +0100 |
27 |
++++ b/KDSoapWSDiscoveryClientConfig.cmake.in 2020-03-02 23:39:03.346641208 +0100 |
28 |
+@@ -5,5 +5,6 @@ |
29 |
+ @PACKAGE_INIT@ |
30 |
+ |
31 |
+ find_dependency(Qt5Core @REQUIRED_QT_VERSION@) |
32 |
++find_dependency(KDSoap) |
33 |
+ |
34 |
+ include("${CMAKE_CURRENT_LIST_DIR}/KDSoapWSDiscoveryClientTargets.cmake") |
35 |
|
36 |
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-9999-no-install-docs.patch |
37 |
new file mode 100644 |
38 |
index 0000000000..5e2cb6dcb6 |
39 |
--- /dev/null |
40 |
+++ b/net-libs/kdsoap-ws-discovery-client/files/kdsoap-ws-discovery-client-9999-no-install-docs.patch |
41 |
@@ -0,0 +1,13 @@ |
42 |
+Do not trigger QA with the paths we want our docs in. |
43 |
+ |
44 |
+--- a/docs/CMakeLists.txt 2020-03-02 23:10:28.358584552 +0100 |
45 |
++++ b/docs/CMakeLists.txt 2020-03-02 23:11:52.228369765 +0100 |
46 |
+@@ -29,8 +29,4 @@ |
47 |
+ USE_STAMP_FILE |
48 |
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/.. |
49 |
+ ) |
50 |
+- install(DIRECTORY |
51 |
+- ${CMAKE_CURRENT_BINARY_DIR}/html/ |
52 |
+- DESTINATION ${KDE_INSTALL_DATADIR}/doc/KDSoapWSDiscoveryClient |
53 |
+- COMPONENT Devel) |
54 |
+ endif() |
55 |
|
56 |
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 |
57 |
new file mode 100644 |
58 |
index 0000000000..6c7bb08af3 |
59 |
--- /dev/null |
60 |
+++ b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild |
61 |
@@ -0,0 +1,54 @@ |
62 |
+# Copyright 1999-2020 Gentoo Authors |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+ |
65 |
+EAPI=7 |
66 |
+ |
67 |
+ECM_QTHELP="false" |
68 |
+ECM_TEST="forceoptional" |
69 |
+EGIT_REPO_URI="https://gitlab.com/caspermeijn/${PN}.git" |
70 |
+inherit ecm git-r3 |
71 |
+ |
72 |
+DESCRIPTION="WS-Discovery client library based on KDSoap" |
73 |
+HOMEPAGE="https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client |
74 |
+https://caspermeijn.gitlab.io/kdsoap-ws-discovery-client" |
75 |
+ |
76 |
+LICENSE="CC0-1.0 GPL-3+" |
77 |
+SLOT="0" |
78 |
+KEYWORDS="" |
79 |
+IUSE="doc" |
80 |
+ |
81 |
+BDEPEND=" |
82 |
+ doc? ( app-doc/doxygen[dot] ) |
83 |
+" |
84 |
+RDEPEND=" |
85 |
+ dev-qt/qtcore:5 |
86 |
+ dev-qt/qtnetwork:5 |
87 |
+ >=net-libs/kdsoap-1.9.0" |
88 |
+DEPEND="${RDEPEND} |
89 |
+ test? ( dev-qt/qtxml:5 ) |
90 |
+" |
91 |
+ |
92 |
+RESTRICT+=" test" |
93 |
+ |
94 |
+PATCHES=( |
95 |
+ "${FILESDIR}"/${P}-no-install-docs.patch |
96 |
+ "${FILESDIR}"/${P}-deps.patch |
97 |
+) |
98 |
+ |
99 |
+src_prepare() { |
100 |
+ ecm_src_prepare |
101 |
+ use test || ecm_punt_bogus_dep Qt5 Xml |
102 |
+} |
103 |
+ |
104 |
+src_configure() { |
105 |
+ local mycmakeargs=( |
106 |
+ $(cmake_use_find_package doc Doxygen) |
107 |
+ -DBUILD_QCH=OFF # does not use ecm_add_qch from ECMAddQch |
108 |
+ ) |
109 |
+ ecm_src_configure |
110 |
+} |
111 |
+ |
112 |
+src_install() { |
113 |
+ use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) |
114 |
+ ecm_src_install |
115 |
+} |
116 |
|
117 |
diff --git a/net-libs/kdsoap-ws-discovery-client/metadata.xml b/net-libs/kdsoap-ws-discovery-client/metadata.xml |
118 |
new file mode 100644 |
119 |
index 0000000000..2fdbf33d96 |
120 |
--- /dev/null |
121 |
+++ b/net-libs/kdsoap-ws-discovery-client/metadata.xml |
122 |
@@ -0,0 +1,8 @@ |
123 |
+<?xml version="1.0" encoding="UTF-8"?> |
124 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
125 |
+<pkgmetadata> |
126 |
+ <maintainer type="project"> |
127 |
+ <email>kde@g.o</email> |
128 |
+ <name>Gentoo KDE Project</name> |
129 |
+ </maintainer> |
130 |
+</pkgmetadata> |