forked from agherzan/meta-raspberrypi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes DRAM DSI linking to missing library drm-rp1-dsi_dri.so agherzan#1389 Signed-off-by: Bassem Nomany <bassem.nomany@id8-engineering.io>
- Loading branch information
1 parent
1aeda3f
commit d24c574
Showing
2 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,27 @@ | ||
# DRI3 note: | ||
# With oe-core commit 8509e2e1a87578882b71948ccef3b50ccf1228b3 dri3 is set | ||
# as default. To state out clearly that Raspi needs dri3 and to avoid surprises | ||
# in case oe-core changes this default, we set dri3 explicitly. | ||
PACKAGECONFIG:append:rpi = " gallium vc4 v3d kmsro ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'vulkan broadcom', '', d)}" | ||
PACKAGECONFIG:append:rpi = " gallium gallium-llvm vc4 v3d ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'vulkan broadcom', '', d)}" | ||
DRIDRIVERS:class-target:rpi = "" | ||
|
||
# Remove unused patches | ||
SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ | ||
file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ | ||
" | ||
|
||
SRC_URI[sha256sum] = "3bcc1be0ae71eabb18d51c0bd9c84374e6dc4594a1b3261cd24901263c971e35" | ||
PV = "24.3.0-rc2" | ||
|
||
# -Dglvnd is deprecated from true/false to enabled/disabled | ||
PACKAGECONFIG[glvnd] = "-Dglvnd=enabled, -Dglvnd=disabled, libglvnd" | ||
|
||
# DRI3 note: | ||
# DRI3 Build option is removed from meson. | ||
PACKAGECONFIG_CONFARGS:remove = "-Ddri3=enabled, -Ddri3=disabled" | ||
|
||
DEPENDS += " wayland-protocols llvm python3-pyyaml python3-pyyaml-native" | ||
|
||
RDEPENDS:libgl-mesa += " llvm wayland-protocols" | ||
|
||
FILES:libgbm += " ${libdir}/gbm/dri_gbm*.so" | ||
|
||
FILES:libgl-mesa += " ${libdir}/libgallium*.so" | ||
|
||
FILES:libgbm-dev += " ${includedir}/gbm.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
SUMMARY = "Collection of additional Wayland protocols" | ||
DESCRIPTION = "Wayland protocols that add functionality not \ | ||
available in the Wayland core protocol. Such protocols either add \ | ||
completely new functionality, or extend the functionality of some other \ | ||
protocol either in Wayland core, or some other protocol in \ | ||
wayland-protocols." | ||
HOMEPAGE = "http://wayland.freedesktop.org" | ||
LICENSE = "MIT" | ||
LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \ | ||
file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53" | ||
|
||
SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${PV}/downloads/wayland-protocols-${PV}.tar.xz" | ||
SRC_URI[sha256sum] = "ff17292c05159d2b20ce6cacfe42d7e31a28198fa1429a769b03af7c38581dbe" | ||
|
||
UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags" | ||
UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)" | ||
|
||
inherit meson pkgconfig allarch | ||
|
||
DEPENDS += " wayland-native" | ||
|
||
EXTRA_OEMESON += "-Dtests=false" | ||
|
||
PACKAGES = "${PN}" | ||
FILES:${PN} += " \ | ||
${datadir}/pkgconfig/wayland-protocols.pc \ | ||
${includedir} \ | ||
" | ||
|
||
BBCLASSEXTEND = "native nativesdk" |