GYP: Switch source to a mirror by the FreeBSD ports project

The official googlesource repository did not create the same tarball for each
request, so checksum verification failed.
This commit is contained in:
Markus Himmel
2016-09-21 17:29:33 +02:00
parent ea2d088dbf
commit cea5f2b4f7

View File

@@ -1,13 +1,19 @@
SUMMARY="Generate Your Projects (GYP) is a build automation tool"
DESCRIPTION="GYP is created by Google to generate native IDE project files \
(such as Visual Studio and Xcode) for building the Chromium web browser."
HOMEPAGE="https://chromium.googlesource.com/external/gyp/"
HOMEPAGE="https://gyp.gsrc.io/"
COPYRIGHT="2012 Google Inc."
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="https://chromium.googlesource.com/external/gyp/+archive/702ac58e477214c635d9b541932e75a95d349352.tar.gz"
CHECKSUM_SHA256="76464353502cfd09b4350e92b061b61ff77aebdf7267e8217c6b99114958c2cb"
SOURCE_DIR=""
REVISION="2"
# Note that the hash which FreeBSD keeps for this version is not the same as
# the commit ID in the official gyp repository. This revision in the FreeBSD
# mirror is equivalent to commit 02b145a1 in the official repository, which
# cannot be used because the source tarballs it creates are different for each
# request.
freebsdRevision="e679e688ba6db12336b79650c27fcf8a5ed21e60"
SOURCE_URI="http://distcache.freebsd.org/local-distfiles/hrs/gyp-$freebsdRevision.tar.gz"
CHECKSUM_SHA256="51fadf46a7a108b0c8f273fb726b113609d7be5394d286716cbf472d1327d18c"
SOURCE_DIR="gyp-$freebsdRevision"
ARCHITECTURES="x86 x86_gcc2 x86_64"