Files
meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-multimedia/kmsxx/kmsxx_git.bb
Swamil Jain 7692f40f5b kmsxx: Revert to using original name for kmstest
Earlier both libdrm[1] and kmsxx[2] projects used to provide a binary
program called kmstest. To avoid the clash, the kmsxx recipe was
updated to rename this binary to kmsxxtest during installation. However
libdrm project has now removed kmstest[3] and hence there is no clash
in naming anymore, so revert back to original name of binary i.e.
kmstest.

[1]: https://gitlab.freedesktop.org/mesa/libdrm.git
[2]: https://github.com/tomba/kmsxx
[3]: https://gitlab.freedesktop.org/mesa/libdrm.git
commit: 2b997bb4bb688be00620887c8646ff24ccb9396b

Signed-off-by: Swamil Jain <s-jain1@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-15 23:54:13 -07:00

27 lines
809 B
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
FILES:${PN} = "${bindir} ${libdir}"
FILES:${PN}-python += "${PYTHON_SITEPACKAGES_DIR}/*"