summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 00:33:45 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 00:37:38 +0100
commitca9cfd82300d1c0c0bb4d8b84a73f1e1dedd007b (patch)
tree6b4ec1397681a96de8d521d5c7dea4060931a3ac
parent49e8e8de6379c21b20c6f75f860225e818ecaf29 (diff)
downloadkde-ca9cfd82300d1c0c0bb4d8b84a73f1e1dedd007b.tar.gz
kde-ca9cfd82300d1c0c0bb4d8b84a73f1e1dedd007b.tar.bz2
kde-ca9cfd82300d1c0c0bb4d8b84a73f1e1dedd007b.zip
net-libs/kdsoap-ws-discovery-client: Add release/snapshot switch
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild14
1 files changed, 11 insertions, 3 deletions
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
index 6c7bb08af39..ac8ee194cf6 100644
--- 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
@@ -5,8 +5,17 @@ EAPI=7
ECM_QTHELP="false"
ECM_TEST="forceoptional"
-EGIT_REPO_URI="https://gitlab.com/caspermeijn/${PN}.git"
-inherit ecm git-r3
+inherit ecm
+
+if [[ ${PV} != *9999* ]]; then
+ COMMIT=14287e92e80a77aa4c0adee2871e6b87c9c3055e
+ SRC_URI="https://gitlab.com/caspermeijn/${PN}/repository/${COMMIT}/archive.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}-${COMMIT}-${COMMIT}"
+else
+ EGIT_REPO_URI="https://gitlab.com/caspermeijn/${PN}.git"
+ inherit git-r3
+fi
DESCRIPTION="WS-Discovery client library based on KDSoap"
HOMEPAGE="https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client
@@ -14,7 +23,6 @@ https://caspermeijn.gitlab.io/kdsoap-ws-discovery-client"
LICENSE="CC0-1.0 GPL-3+"
SLOT="0"
-KEYWORDS=""
IUSE="doc"
BDEPEND="