mirror of
https://github.com/bensuperpc/meta-raylib.git
synced 2026-03-17 18:19:39 +01:00
Add files
Add raylib files Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
34
recipes-raylib/raylib-cpp/raylib-cpp_4.5.2.bb
Normal file
34
recipes-raylib/raylib-cpp/raylib-cpp_4.5.2.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "raylib-cpp"
|
||||
DESCRIPTION = "raylib-cpp"
|
||||
AUTHOR = "RobLoach"
|
||||
SECTION = "graphics"
|
||||
HOMEPAGE = "https://github.com/RobLoach/raylib-cpp"
|
||||
|
||||
LICENSE = "Zlib"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Zlib;md5=87f239f408daca8a157858e192597633"
|
||||
#PV = "4.5.2"
|
||||
#PN = "raylib-cpp"
|
||||
PR = "r0"
|
||||
|
||||
# Last commit for raylib-cpp 4.5.2
|
||||
SRCREV = "7d2ce8fc565ed2023521fad34351633bbf66dec4"
|
||||
SRCBRANCH = "master"
|
||||
|
||||
SRC_URI = "git://github.com/RobLoach/raylib-cpp.git;branch=${SRCBRANCH};protocol=https \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS += " \
|
||||
raylib \
|
||||
"
|
||||
|
||||
# Header only library
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
RPROVIDES:${PN} += "raylib-cpp-${PV}"
|
||||
PROVIDES += "raylib-cpp-${PV}"
|
||||
|
||||
inherit cmake
|
||||
|
||||
# -DCMAKE_INSTALL_PREFIX=/usr
|
||||
EXTRA_OECMAKE += "-DBUILD_RAYLIB_CPP_EXAMPLES=OFF"
|
||||
Reference in New Issue
Block a user