media-video/mpv: prefer https git repo URI in live ebuild
authorIlya Tumaykin <itumaykin@gmail.com>
Sun, 16 Oct 2016 22:10:01 +0000 (01:10 +0300)
committerGöktürk Yüksek <gokturk@gentoo.org>
Mon, 17 Oct 2016 21:49:03 +0000 (17:49 -0400)
Sometimes git protocol isn't available.
Requested by Sergey Alirzaev in https://github.com/gentoo/gentoo/pull/2570

Closes: https://github.com/gentoo/gentoo/pull/2572
Package-Manager: portage-2.3.2

media-video/mpv/mpv-9999.ebuild

index e50ba86aac7f308485802a67405d616632b73d37..950092a5a9fa1e968cbc8504605748dee8a52e8e 100644 (file)
@@ -19,7 +19,7 @@ if [[ ${PV} != *9999* ]]; then
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
        DOCS=( RELEASE_NOTES )
 else
-       EGIT_REPO_URI="git://github.com/mpv-player/mpv.git"
+       EGIT_REPO_URI=( {https,git}://github.com/mpv-player/mpv.git )
        inherit git-r3
 fi
 SRC_URI+=" https://waf.io/waf-${WAF_PV}"