* [gentoo-commits] repo/gentoo:master commit in: profiles/, net-libs/kdsoap/
@ 2024-01-11 22:49 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2024-01-11 22:49 UTC (permalink / raw
To: gentoo-commits
commit: bb5d045ea90c4105430a91347f7fdfcc99319339
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 11 21:36:47 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan 11 22:48:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5d045e
net-libs/kdsoap: add 2.2.0, add github upstream metadata
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
net-libs/kdsoap/Manifest | 1 +
net-libs/kdsoap/kdsoap-2.2.0.ebuild | 69 +++++++++++++++++++++++++++++++++++++
net-libs/kdsoap/metadata.xml | 3 ++
profiles/package.mask | 1 +
4 files changed, 74 insertions(+)
diff --git a/net-libs/kdsoap/Manifest b/net-libs/kdsoap/Manifest
index c4051e21a521..43281d3308a9 100644
--- a/net-libs/kdsoap/Manifest
+++ b/net-libs/kdsoap/Manifest
@@ -1 +1,2 @@
DIST kdsoap-2.1.1.tar.gz 948277 BLAKE2B 6daec26426bb6becc78400877ad221b929f0c30e45755644258eca864617d20b9d1269d8a964d38d40e9f5eb93ae213a95e05deb0a34dd3817261096178815a2 SHA512 12224f664dcae7ceb7395a7c3de48a208ae81c10f6fba4d0db233613472c6b9cdbea6375297c27b58fe7338d7db27a4447844f4e8f40a24ec1b4dd3fa38d20bb
+DIST kdsoap-2.2.0.tar.gz 11918875 BLAKE2B 0cce6af5ee08948d8029a2302174e0faa9cc06a7c813cb914a5395078a27b23d3c10ccc63f50831ecbd8f8958cb2eb5620b460d78cd6e63480e17580a331a8f9 SHA512 6ed5cd6a0d02a9faf6881facbd28391c553b3671512153ecd058ab53bfbe9d3f0afa3704d580e66010ddf6a3de7e578a632339f8c1ae7529c28f9d5fd7d1eb5f
diff --git a/net-libs/kdsoap/kdsoap-2.2.0.ebuild b/net-libs/kdsoap/kdsoap-2.2.0.ebuild
new file mode 100644
index 000000000000..64e1ce941828
--- /dev/null
+++ b/net-libs/kdsoap/kdsoap-2.2.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="https://github.com/KDAB/KDSoap/releases/download/${P}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+else
+ EGIT_REPO_URI="https://github.com/KDAB/KDSoap.git"
+ EGIT_SUBMODULES=( kdwsdl2cpp/libkode -autogen )
+ inherit git-r3
+fi
+inherit cmake multibuild
+
+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/2"
+IUSE="+qt5 qt6"
+REQUIRED_USE="|| ( qt5 qt6 )"
+
+RDEPEND="
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtxml:5
+ )
+ qt6? ( dev-qt/qtbase:6[network,xml] )"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+"
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) )
+}
+
+src_prepare() {
+ cmake_src_prepare
+ sed -e "/install.*INSTALL_DOC_DIR/d" -i CMakeLists.txt || die
+}
+
+src_configure() {
+ my_src_configure() {
+ local mycmakeargs=(
+ -DKDSoap_DOCS=OFF
+ -DKDSoap_EXAMPLES=OFF # no install targets
+ -DKDSoap_STATIC=OFF
+ )
+
+ if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then
+ mycmakeargs+=( -DKDSoap_QT6=ON )
+ else
+ mycmakeargs+=( -DKDSoap_QT6=OFF )
+ fi
+ cmake_src_configure
+ }
+
+ multibuild_foreach_variant my_src_configure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake_src_compile
+}
+
+src_install() {
+ multibuild_foreach_variant cmake_src_install
+}
diff --git a/net-libs/kdsoap/metadata.xml b/net-libs/kdsoap/metadata.xml
index 8641e5bdd399..77493fa9cc4b 100644
--- a/net-libs/kdsoap/metadata.xml
+++ b/net-libs/kdsoap/metadata.xml
@@ -5,4 +5,7 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">KDAB/KDSoap</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/profiles/package.mask b/profiles/package.mask
index 811dbbf83bcb..0b8b6fb7047f 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -402,6 +402,7 @@ dev-python/ruamel-std-pathlib
~media-libs/phonon-4.12.0
~media-libs/phonon-vlc-0.12.0
~media-libs/pulseaudio-qt-1.4.0
+~net-libs/kdsoap-2.2.0
~sys-auth/polkit-qt-0.175.0
# Hans de Graaff <graaff@gentoo.org> (2023-12-17)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-11 22:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-11 22:49 [gentoo-commits] repo/gentoo:master commit in: profiles/, net-libs/kdsoap/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox