Files
meta-openembedded/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb
Mingli Yu c528790b60 frame: add opengl to REQUIRED_DISTRO_FEATURES
Fixes:
  ERROR: Nothing PROVIDES 'virtual/xserver' (but /build/layers/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb DEPENDS on or otherwise requires it)
xserver-xorg PROVIDES virtual/xserver but was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'geis', 'frame', 'virtual/xserver']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-09 23:36:20 -08:00

30 lines
1018 B
BlitzBasic

SUMMARY = "Frame handles simultaneous touches"
HOMEPAGE = "https://launchpad.net/frame"
LICENSE = "GPL-3.0-only & LGPL-3.0-only"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
"
inherit autotools pkgconfig features_check
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
SRC_URI = "https://launchpad.net/${BPN}/trunk/v${PV}/+download/${BPN}-${PV}.tar.gz \
file://pessimizing-move.patch"
UPSTREAM_CHECK_URI = "https://launchpad.net/frame/trunk"
SRC_URI[md5sum] = "02baa941091c5d198cd1623b3ad36e68"
SRC_URI[sha256sum] = "cfb9ab52cdccd926f1822a457264d0014c7eb9f4600a72626063dd073b26256f"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
PACKAGECONFIG[x11] = "--enable-x11, --disable-x11, libxi xext virtual/xserver"
PACKAGE_BEFORE_PN += "${PN}-test"
FILES:${PN}-test = "${bindir}/frame-test*"
SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"