summaryrefslogtreecommitdiff
path: root/media-video
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2015-12-22 17:47:07 +0300
committerIlya Tumaykin <itumaykin@gmail.com>2015-12-28 15:46:52 +0300
commita768a282bb0e5ce3d48d008f5bee6e5f43cec171 (patch)
tree56415d4129dd7ef8767f472b188e904ce40cc325 /media-video
parent60d6dc965cb4ab46c33b920f0422b8ae5c8c6d0f (diff)
downloadgentoo-a768a282bb0e5ce3d48d008f5bee6e5f43cec171.tar.gz
gentoo-a768a282bb0e5ce3d48d008f5bee6e5f43cec171.tar.xz
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')
-rw-r--r--media-video/mpv/mpv-9999.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 7c49f70b4e2..a705081ec4e 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"