Files
meta-openembedded/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb
T
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00

23 lines
638 B
BlitzBasic

SUMMARY = "SPIRV-Cross is a tool designed for parsing and converting SPIR-V \
to other shader languages"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SECTION = "graphics"
S = "${WORKDIR}/git"
SRCREV = "ed16b3e69985feaf565efbecea70a1cc2fca2a58"
SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https \
file://0001-Add-install-PHONY-target-in-Makefile.patch \
"
EXTRA_OEMAKE += 'TARGET_DIR_LIB="${D}${libdir}"'
EXTRA_OEMAKE += 'TARGET_DIR_BIN="${D}${bindir}"'
do_compile () {
cd ${S} && oe_runmake
}
do_install () {
cd ${S} && oe_runmake install
}