x11-libs/libva: Update git source, use git-r3.eclass, switch to github for releases...
authorAlexis Ballier <aballier@gentoo.org>
Wed, 1 Feb 2017 11:34:57 +0000 (12:34 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 1 Feb 2017 11:34:57 +0000 (12:34 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

x11-libs/libva/libva-9999.ebuild

index 2d53da196f3be8e56526096b59d604eee7cbf847..e90613928057c28b352817e8ee4041565763c500 100644 (file)
@@ -6,9 +6,9 @@ EAPI=5
 
 SCM=""
 if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
-       SCM=git-2
+       SCM=git-r3
        EGIT_BRANCH=master
-       EGIT_REPO_URI="git://anongit.freedesktop.org/vaapi/libva"
+       EGIT_REPO_URI="https://github.com/01org/libva"
 fi
 
 AUTOTOOLS_AUTORECONF="yes"
@@ -18,9 +18,9 @@ DESCRIPTION="Video Acceleration (VA) API for Linux"
 HOMEPAGE="https://01.org/linuxmedia/vaapi"
 if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
        SRC_URI=""
-       S="${WORKDIR}/${PN}"
 else
-       SRC_URI="https://www.freedesktop.org/software/vaapi/releases/libva/${P}.tar.bz2"
+       SRC_URI="https://github.com/01org/libva/archive/${P}.tar.gz"
+       S="${WORKDIR}/${PN}-${P}"
 fi
 
 LICENSE="MIT"