From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A91CC138350 for ; Wed, 8 Apr 2020 15:51:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACD19E0A00; Wed, 8 Apr 2020 15:51:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 95C02E0A00 for ; Wed, 8 Apr 2020 15:51:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6774934EF99 for ; Wed, 8 Apr 2020 15:51:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 866B1166 for ; Wed, 8 Apr 2020 15:51:05 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1586360320.bb9352eaa4e149475a4f2c8a34f115b9e27fe732.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde.org.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: bb9352eaa4e149475a4f2c8a34f115b9e27fe732 X-VCS-Branch: master Date: Wed, 8 Apr 2020 15:51:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fadd4073-0115-4041-b931-a7e11947be85 X-Archives-Hash: 55597ca2f966611daf8451f79dcdf966 commit: bb9352eaa4e149475a4f2c8a34f115b9e27fe732 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Apr 5 22:11:59 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Apr 8 15:38:40 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=bb9352ea kde.org.eclass: Allow to use SRC_URI in addition to live sources Copied from qt5-build.eclass. Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/kde.org.eclass | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index 0add316baa..a2f6bd0c34 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