Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00

35 lines
1.0 KiB
BlitzBasic

# SPDX-License-Identifier: MIT
#
# Copyright Leica Geosystems AG
#
SUMMARY = "C++ library for kernel mode setting"
HOMEPAGE = "https://github.com/tomba/kmsxx"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
BRANCH = "master"
SRC_URI = "git://github.com/tomba/kmsxx.git;protocol=https;branch=${BRANCH}"
SRCREV = "412935a47b762c33e54a464243f2d789b065bbb6"
PACKAGES =+ "${PN}-python"
PACKAGECONFIG ?= "utils python "
PACKAGECONFIG[omap] += "-Domap=enabled, -Domap=disabled"
PACKAGECONFIG[python] += "-Dpykms=enabled, -Dpykms=disabled, python3 python3-pybind11"
PACKAGECONFIG[utils] += "-Dutils=true, -Dutils=false"
DEPENDS += "libdrm libevdev fmt"
inherit meson pkgconfig
do_install:append() {
if ${@bb.utils.contains('PACKAGECONFIG', 'utils', 'true', 'false', d)}; then
# kmstest already provided by libdrm-tests
mv ${D}${bindir}/kmstest ${D}${bindir}/kmsxxtest
fi
}
FILES:${PN} = "${bindir} ${libdir}"
FILES:${PN}-python += "${PYTHON_SITEPACKAGES_DIR}/*"