summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-04-06 00:11:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-04-16 01:02:40 +0200
commite81a44dbcc774fe46458d9a47f392d70dc0ddfe9 (patch)
tree18b3afb78b78421573c6d15547a7d5924ca4da0d /eclass
parentdev-python/python-systemd-234: hppa stable (diff)
downloadgentoo-e81a44dbcc774fe46458d9a47f392d70dc0ddfe9.tar.gz
gentoo-e81a44dbcc774fe46458d9a47f392d70dc0ddfe9.tar.bz2
gentoo-e81a44dbcc774fe46458d9a47f392d70dc0ddfe9.zip
kde.org.eclass: Allow to use SRC_URI in addition to live sources
Copied from qt5-build.eclass. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit bb9352eaa4e149475a4f2c8a34f115b9e27fe732)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde.org.eclass9
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index bb9bd618eb2e..f2e6f03b22b1 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -250,11 +250,10 @@ kde.org_pkg_nofetch() {
kde.org_src_unpack() {
debug-print-function ${FUNCNAME} "$@"
- if [[ ${KDE_BUILD_TYPE} = live ]]; then
- git-r3_src_unpack
- else
- default
- fi
+ case ${KDE_BUILD_TYPE} in
+ live) git-r3_src_unpack ;&
+ *) default ;;
+ esac
}
fi