From: Ilya Tumaykin Date: Tue, 22 Dec 2015 14:47:07 +0000 (+0300) Subject: media-video/mpv: make more probable branch first X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a768a282bb0e5ce3d48d008f5bee6e5f43cec171;p=gentoo.git media-video/mpv: make more probable branch first We have only one live ebuild and no less than one versioned ebuild. Thus make the versioned case be the first to preserve the flow of reading in most cases. Package-Manager: portage-2.2.24 --- diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 7c49f70b4e28..a705081ec4e7 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -13,16 +13,16 @@ WAF_V="1.8.12" DESCRIPTION="Media player based on MPlayer and mplayer2" HOMEPAGE="https://mpv.io/" SRC_URI="https://waf.io/pub/release/waf-${WAF_V}" -DOCS=( README.md etc/example.conf etc/input.conf ) -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" - inherit git-r3 -else +if [[ ${PV} != *9999* ]]; then SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" - DOCS+=( RELEASE_NOTES ) + DOCS=( RELEASE_NOTES ) +else + EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" + inherit git-r3 fi +DOCS+=( README.md etc/example.conf etc/input.conf ) # See Copyright in source tarball and bug #506946. Waf is BSD, libmpv is ISC. LICENSE="GPL-2+ BSD ISC"