From 22747207f186691b9e31e0ddc7f2e3a238382ca9 Mon Sep 17 00:00:00 2001 From: Viorel Date: Sun, 22 Mar 2020 18:28:33 +0200 Subject: [PATCH] Mark the exact dependency version kdsoap and this had been added to main repo, but my current onvifviewer does not compile with them Until I'll fix this, I'll mark the old version as dependency --- ...oap-ws-discovery-client-20200122-r1.ebuild | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 net-misc/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-20200122-r1.ebuild diff --git a/net-misc/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-20200122-r1.ebuild b/net-misc/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-20200122-r1.ebuild new file mode 100644 index 0000000..b10e0ad --- /dev/null +++ b/net-misc/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-20200122-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake-utils + +COMMIT_SHA1=0521717c37f26fc22158e0c986f7c8b41b3fb0ee + +DESCRIPTION="WS-Discovery client library based on the KDSoap library" +HOMEPAGE=https://caspermeijn.gitlab.io/kdsoap-ws-discovery-client +SRC_URI=https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client/-/archive/master/${PN}-${COMMIT_SHA1}.tar.gz +RESTRICT="primaryuri" + +LICENSE=GPL-3 +SLOT="5" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="kde-frameworks/extra-cmake-modules:5 + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + =net-libs/kdsoap-1.8.50" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-master-${COMMIT_SHA1}" + +src_install() { + cmake-utils_src_install + dobin "${WORKDIR}/${P}_build/bin/onvif-discover" +}