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 CB914138334 for ; Sun, 16 Jun 2019 15:21:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2666E0863; Sun, 16 Jun 2019 15:21:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 83A76E0863 for ; Sun, 16 Jun 2019 15:21:45 +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 2995B34623B for ; Sun, 16 Jun 2019 15:21:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D093449 for ; Sun, 16 Jun 2019 15:21:41 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1560698483.fc356e0816e9bf86959876912de318f435ea17e1.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/split2flac/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/split2flac/split2flac-9999.ebuild X-VCS-Directories: media-sound/split2flac/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: fc356e0816e9bf86959876912de318f435ea17e1 X-VCS-Branch: master Date: Sun, 16 Jun 2019 15:21:41 +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: a59c7574-144b-4d98-a830-c3cd7086940b X-Archives-Hash: aa229eb9c74a55699861f03a44d4bc2f commit: fc356e0816e9bf86959876912de318f435ea17e1 Author: David Seifert gentoo org> AuthorDate: Sun Jun 16 15:21:23 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Jun 16 15:21:23 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc356e08 media-sound/split2flac: Update live ebuild Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: David Seifert gentoo.org> media-sound/split2flac/split2flac-9999.ebuild | 33 +++++++++++++-------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/media-sound/split2flac/split2flac-9999.ebuild b/media-sound/split2flac/split2flac-9999.ebuild index fd0a7bea899..762b68edc49 100644 --- a/media-sound/split2flac/split2flac-9999.ebuild +++ b/media-sound/split2flac/split2flac-9999.ebuild @@ -1,22 +1,23 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" - -EGIT_REPO_URI="https://github.com/ftrvxmtrx/split2flac.git" +EAPI=7 inherit bash-completion-r1 -[[ ${PV} == *9999* ]] && inherit git-2 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ftrvxmtrx/split2flac.git" +else + SRC_URI="https://github.com/ftrvxmtrx/split2flac/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi DESCRIPTION="sh script to split an APE/FLAC/WV/WAV audio image with CUE sheet into tracks" HOMEPAGE="https://github.com/ftrvxmtrx/split2flac" -[[ ${PV} == *9999* ]] || \ -SRC_URI="https://rion-overlay.googlecode.com/files/${P}.tar.xz" LICENSE="MIT" SLOT="0" -[[ ${PV} == *9999* ]] || \ -KEYWORDS="~amd64 ~x86" IUSE="enca flake imagemagick mac mp3 mp4 ogg replaygain wavpack" RDEPEND=" @@ -34,20 +35,18 @@ RDEPEND=" mp3? ( media-sound/mp3gain ) ogg? ( media-sound/vorbisgain ) ) - imagemagick? ( media-gfx/imagemagick ) -" - -src_configure() { :; } - -src_compile() { :; } + imagemagick? ( media-gfx/imagemagick )" src_install() { dobin ${PN} newbashcomp ${PN}-bash-completion.sh ${PN} dosym ${PN} /usr/bin/split2wav - for i in mp3 mp4 ogg - do + + local i + for i in mp3 mp4 ogg; do use $i && dosym ${PN} /usr/bin/split2${i/mp4/m4a} done + + einstalldocs }