Set libva version to actual version.

When this was pulled in originally, it was marked as 1.1.0; the tarball
we were using wasn't 1.1.0, it was a release candidate.  As such,
rename the tarball on our mirrors, and rename it locally.

BUG=chromium-os:35116
TEST=manual; manifest run, same checksums == things are back to normal.

Change-Id: I98f86796e477ad82bc861c225b7560b4d41a076b
Reviewed-on: https://gerrit.chromium.org/gerrit/34906
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Brian Harring <ferringb@chromium.org>
Tested-by: Brian Harring <ferringb@chromium.org>
diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index 09358b7..1e1af87 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1 +1 @@
-DIST libva-1.1.0.tar.bz2 530765 RMD160 d56b7f6d06af2e197c5c9f51f1ca9107405fcccb SHA1 875b27ea44dca68362fd8b61e15a6bbad8546044 SHA256 a7289f9c36639f04e7c140ac7ae67d0398d54625a1b5e87990fcba547349990f
+DIST libva-1.1.0_rc1.tar.bz2 530765 RMD160 d56b7f6d06af2e197c5c9f51f1ca9107405fcccb SHA1 875b27ea44dca68362fd8b61e15a6bbad8546044 SHA256 a7289f9c36639f04e7c140ac7ae67d0398d54625a1b5e87990fcba547349990f
diff --git a/x11-libs/libva/libva-1.1.0.ebuild b/x11-libs/libva/libva-1.1.0_rc1.ebuild
similarity index 86%
rename from x11-libs/libva/libva-1.1.0.ebuild
rename to x11-libs/libva/libva-1.1.0_rc1.ebuild
index c97d08d..a81ab89 100644
--- a/x11-libs/libva/libva-1.1.0.ebuild
+++ b/x11-libs/libva/libva-1.1.0_rc1.ebuild
@@ -20,6 +20,12 @@
 	S="${WORKDIR}/${PN}"
 else
 	SRC_URI="http://cgit.freedesktop.org/vaapi/libva/snapshot/${P}.tar.bz2"
+	if [ "${PV}" == "1.1.0_rc1" ]; then
+		# Temporary hack to work around a badly named upstream tarball;
+		# this is chrome-os specific, and should be removed once we move
+		# away from 1.1.0_rc1 .  See crosbug.com/35116
+		S="${WORKDIR}/${PN}-1.1.0"
+	fi
 fi
 
 LICENSE="MIT"