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 6A0BA138335 for ; Wed, 1 Jan 2020 18:02:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 653E1E0B67; Wed, 1 Jan 2020 18:02:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 4D7C5E0B5E for ; Wed, 1 Jan 2020 18:02:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 52B3934DE2F for ; Wed, 1 Jan 2020 18:02:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C51281 for ; Wed, 1 Jan 2020 18:02:37 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1577901752.65aef2cf1babdbce25111ce90cdb1adebbca67ea.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/clementine/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/clementine/clementine-9999.ebuild X-VCS-Directories: media-sound/clementine/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 65aef2cf1babdbce25111ce90cdb1adebbca67ea X-VCS-Branch: master Date: Wed, 1 Jan 2020 18:02:37 +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: 044707f9-90b4-400e-ba82-f92dce9c62e7 X-Archives-Hash: 83d136fb5af93a5443cba4c7baa2dd75 commit: 65aef2cf1babdbce25111ce90cdb1adebbca67ea Author: Lars Wendler gentoo org> AuthorDate: Wed Jan 1 18:00:53 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Jan 1 18:02:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65aef2cf media-sound/clementine: Synced live ebuild Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> media-sound/clementine/clementine-9999.ebuild | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/media-sound/clementine/clementine-9999.ebuild b/media-sound/clementine/clementine-9999.ebuild index be99d91ad50..896d3d9b097 100644 --- a/media-sound/clementine/clementine-9999.ebuild +++ b/media-sound/clementine/clementine-9999.ebuild @@ -1,21 +1,30 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PLOCALES="af ar be bg bn br bs ca cs cy da de el en en_CA en_GB eo es et eu fa fi fr ga gl he he_IL hi hr hu hy ia id is it ja ka kk ko lt lv mk_MK mr ms my nb nl oc pa pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr tr_TR uk uz vi zh_CN zh_TW" +inherit cmake flag-o-matic l10n virtualx xdg + MY_P="${P/_}" if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git" inherit git-r3 else - SRC_URI="https://github.com/${PN}-player/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN^}-${PV}" + SRC_URI_BASE="https://github.com/clementine-player/${PN^}" + COMMIT="" + if [[ -n "${COMMIT}" ]] ; then + SRC_URI="${SRC_URI_BASE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN^}-${COMMIT}" + elif [[ $(ver_cut 3) -gt 90 ]] ; then + SRC_URI="${SRC_URI_BASE}/archive/${PV}.tar.gz -> ${P}.tar.gz" + else + SRC_URI="${SRC_URI_BASE}/releases/download/${PV}/${P}.tar.xz" + fi KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN^}-${COMMIT}" fi -inherit cmake flag-o-matic l10n virtualx xdg - DESCRIPTION="Modern music player and library organizer based on Amarok 1.4 and Qt" HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player/Clementine"