summaryrefslogtreecommitdiff
path: root/net-libs/kdsoap/kdsoap-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/kdsoap/kdsoap-9999.ebuild')
-rw-r--r--net-libs/kdsoap/kdsoap-9999.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/net-libs/kdsoap/kdsoap-9999.ebuild b/net-libs/kdsoap/kdsoap-9999.ebuild
new file mode 100644
index 00000000000..d020b81ab97
--- /dev/null
+++ b/net-libs/kdsoap/kdsoap-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="https://github.com/KDAB/KDSoap/releases/download/${P}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+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://github.com/KDAB/KDSoap/"
+
+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() {
+ 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
+}