summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/kdsoap')
-rw-r--r--net-libs/kdsoap/Manifest2
-rw-r--r--net-libs/kdsoap/kdsoap-1.9.50_pre20200317.ebuild52
-rw-r--r--net-libs/kdsoap/metadata.xml8
3 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/kdsoap/Manifest b/net-libs/kdsoap/Manifest
new file mode 100644
index 000000000000..c24b812b570e
--- /dev/null
+++ b/net-libs/kdsoap/Manifest
@@ -0,0 +1,2 @@
+DIST kdsoap-1.9.50_pre20200317-libkode-dfe0d565cb58cfb25da77853d9694097aa8e5882.tar.gz 50653 BLAKE2B a14145adcb1a9551c9fc70246bebe034db605e8d4056744856ff67a575ed192b90439a25b7ba6916d66b9830d7ffec1da82f2e12425b6e58801ebbe289cc09b7 SHA512 efe539888d25a527d43a83a6e3c38d75eec92bab3f09766890870f3fe6516cbd8349b049b42399c8764b28550291130b705350ae9d4d9947b839c03174b9b984
+DIST kdsoap-1.9.50_pre20200317.tar.gz 919821 BLAKE2B 8028e98a1d79800e9f8bbddcb50e0b3ebb2d71b2f87d4f2920c6689b8536d712f76fb9ff48dd16b3d68871e46d9b1d36198aadab3d1d645f2dc397beef3d596e SHA512 f00c960d442c6a2977d321441ddd0924b42422e2a4e974a7fabb2d896fdb7310813750154f7548758ccb01a5d312d9af74a8d34746e09d07aff7925ebb6c3b4c
diff --git a/net-libs/kdsoap/kdsoap-1.9.50_pre20200317.ebuild b/net-libs/kdsoap/kdsoap-1.9.50_pre20200317.ebuild
new file mode 100644
index 000000000000..ba5f0c21a6b7
--- /dev/null
+++ b/net-libs/kdsoap/kdsoap-1.9.50_pre20200317.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} != *9999* ]]; then
+ KDSOAP_COMMIT=8fde0425e38bf58922b6054768b4a7e5f349500b
+ LIBKODE_COMMIT=dfe0d565cb58cfb25da77853d9694097aa8e5882
+ SRC_URI="https://github.com/KDAB/KDSoap/archive/${KDSOAP_COMMIT}.tar.gz -> ${P}.tar.gz
+ https://github.com/cornelius/libkode/archive/${LIBKODE_COMMIT}.tar.gz -> ${P}-libkode-${LIBKODE_COMMIT}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/KDSoap-${KDSOAP_COMMIT}"
+else
+ EGIT_REPO_URI="https://github.com/KDAB/KDSoap.git"
+ EGIT_SUBMODULES=( kdwsdl2cpp/libkode -autogen )
+ inherit git-r3
+fi
+inherit cmake
+
+DESCRIPTION="Qt-based client-side and server-side SOAP component"
+HOMEPAGE="https://www.kdab.com/development-resources/qt-tools/kd-soap/"
+
+LICENSE="GPL-3 AGPL-3"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+"
+
+src_prepare() {
+ rmdir kdwsdl2cpp/libkode || die
+ mv "${WORKDIR}"/libkode-${LIBKODE_COMMIT} "${S}"/kdwsdl2cpp/libkode || die
+
+ cmake_src_prepare
+
+ sed -e "/^find_package.*Qt5/s/Widgets //" \
+ -e "/install.*INSTALL_DOC_DIR/d" \
+ -i CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKDSoap_EXAMPLES=OFF # Qt4-based and no install targets
+ )
+ cmake_src_configure
+}
diff --git a/net-libs/kdsoap/metadata.xml b/net-libs/kdsoap/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/net-libs/kdsoap/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>