diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2015-12-22 17:47:07 +0300 |
---|---|---|
committer | Ilya Tumaykin <itumaykin@gmail.com> | 2015-12-28 15:46:52 +0300 |
commit | a768a282bb0e5ce3d48d008f5bee6e5f43cec171 (patch) | |
tree | 56415d4129dd7ef8767f472b188e904ce40cc325 /media-video/mpv | |
parent | media-video/mpv: use HTTPS links where possible (diff) | |
download | gentoo-a768a282bb0e5ce3d48d008f5bee6e5f43cec171.tar.gz gentoo-a768a282bb0e5ce3d48d008f5bee6e5f43cec171.tar.bz2 gentoo-a768a282bb0e5ce3d48d008f5bee6e5f43cec171.zip |
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
Diffstat (limited to 'media-video/mpv')
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
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" |