libyami: use git clone instead of unstable tarball

GitHub has confirmed that the /archive/ tarballs that are generated on demand
from git tags are not persistant and can change over time.

This is no longer an academic problem as this has been observed occuring.

libyami doesn't have any official maintainer-generated tarballs, so switch to
fetching over git.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Ross Burton 2017-09-18 15:00:30 +01:00 committed by Saul Wold
parent 8f5a9ade6b
commit 9bf043497c
2 changed files with 7 additions and 7 deletions

View File

@ -7,15 +7,15 @@ BUGTRACKER = "https://github.com/01org/libyami-utils/issues/new"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
SRC_URI = "https://github.com/01org/libyami-utils/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz \
SRC_URI = "git://github.com/01org/libyami-utils.git \
file://0001-Fix-build-with-clang.patch \
"
SRC_URI[md5sum] = "b4637f1a384e3de20076bf01ca2515d3"
SRC_URI[sha256sum] = "3dbaedc797bf2d0e03879bfdbea462c3ec2aac89b49c1ed55cbff1be2590d1e8"
SRCREV = "b480c0594a7e761a8ccfe6b19b3f9bd0c3d871a1"
S = "${WORKDIR}/git"
DEPENDS = "libva libyami"
EXTRA_OECONF = " --enable-tests-gles --disable-md5"
EXTRA_OECONF = "--enable-tests-gles --disable-md5"
inherit autotools pkgconfig distro_features_check

View File

@ -8,7 +8,7 @@ BUGTRACKER = "https://github.com/01org/libyami/issues/new"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI = "https://github.com/01org/libyami/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz \
SRC_URI = "git://github.com/01org/libyami.git;branch=apache \
file://0001-bitWriter.cpp-Delete-unused-CACHEBYTES.patch \
file://0002-typecast-index-from-size_t-to-int.patch \
file://0003-Add-Wno-invalid-offsetof-to-compiler-commandline.patch \
@ -19,8 +19,8 @@ SRC_URI = "https://github.com/01org/libyami/archive/${PV}.tar.gz;downloadfilenam
file://0008-NalUnit-is-declared-in-different-namespace.patch \
file://0009-Fix-clang-warnings.patch \
"
SRC_URI[md5sum] = "2e2ed3bd900866476eced140799ee48b"
SRC_URI[sha256sum] = "fdc3025f828c065a4434e73f5629e7ab8af593f1abbe097449dd5a13fa7d465f"
SRCREV = "c884fc3facbf1a0adf2082a1cf95cb146300a5ca"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)}"
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender"