From cdbc49db38c274c880d2372a1d0fe648de920a68 Mon Sep 17 00:00:00 2001 From: Damian Hobson-Garcia Date: Fri, 8 Apr 2022 12:34:23 +0900 Subject: drm-lease-manager: Add configuration file suppport Use latest drm-lease-manager version and add a generic lease manager configuration file. Platforms should override this with something appropriate for their system. Bug-AGL: SPEC-3815 Change-Id: I3c0a4b137e53dab7ff2782791cfca951e4c14e13 Signed-off-by: Damian Hobson-Garcia --- .../recipes-support/tomlc99/tomlc99_git.bb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-agl-drm-lease/recipes-support/tomlc99/tomlc99_git.bb (limited to 'meta-agl-drm-lease/recipes-support/tomlc99') diff --git a/meta-agl-drm-lease/recipes-support/tomlc99/tomlc99_git.bb b/meta-agl-drm-lease/recipes-support/tomlc99/tomlc99_git.bb new file mode 100644 index 00000000..6df5ae5d --- /dev/null +++ b/meta-agl-drm-lease/recipes-support/tomlc99/tomlc99_git.bb @@ -0,0 +1,21 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=95bbe2f9180443b5dcef3fb959804a65" + +SRC_URI = "git://github.com/cktan/tomlc99;protocol=https;branch=master" + +PV = "1.0+git${SRCPV}" +SRCREV = "034b23ed3e4e5ee5345040eabed470f204d7f668" + +S = "${WORKDIR}/git" + +TARGET_CC_ARCH += "${LDFLAGS}" + +do_install () { + oe_runmake install prefix=${D}/${prefix} + + ln -rs ${D}/${prefix}/lib/libtoml.so.0.0 ${D}${prefix}/lib/libtoml.so + + sed 's:^prefix=.*:prefix=${prefix}:' ${S}/libtoml.pc.sample > libtoml.pc + install -d ${D}${prefix}/lib/pkgconfig + install libtoml.pc ${D}${prefix}/lib/pkgconfig/ +} -- cgit 1.2.3-korg