Bruce Leidl
4831a46764
Recipes updated: adwaita-icon-theme 43 --> 46.0 cairomm 1.12.0 --> 1.18 gdm 42.0 --> 45.0 glibmm 2.62.0 --> 2.78.0 gjs 1.77.90 --> 1.80.0 gnome-backgrounds 45.0 --> 46.0 gnome-bluetooth 42.4 --> 46.0 gnome-control-center 45.0 --> 46.0 gnome-disk-utility 42.0 --> 46.0 gnome-session 42.0 --> 46.0 gnome-settings-daemon 45.0 --> 46.0 gnome-shell 45.0 --> 46.0 gnome-system-monitor 42.0 --> 46.0 gsettings-desktop-schemas 45.0 --> 46.0 gtk4 4.12.1 --> 4.14.1 gvfs 1.50.2 --> 1.54.0 libadwaita 1.4.0 --> 1.5.0 libgtop 2.40.0 --> 2.41.3 libgweather4 4.2.0 --> 4.4.2 libwacom 0.26 --> 2.8.0 mutter 45.0 --> 46.0 pangomm 2.46.2 --> 2.50.1 New recipes added: pipewire 1.0.4 wireplumber 0.5.0 doxygen 1.9.3 gcr 4.2.0 rtkit 0.13 libopus 1.5.1 libjxl 0.10.2 wayland gtkmm4 4.14.0
44 lines
1.9 KiB
BlitzBasic
44 lines
1.9 KiB
BlitzBasic
SUMMARY = "Mesa demo applications"
|
|
DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
|
|
These applications can be used for Mesa validation and benchmarking."
|
|
HOMEPAGE = "http://mesa3d.org"
|
|
BUGTRACKER = "https://bugs.freedesktop.org"
|
|
SECTION = "x11"
|
|
|
|
LICENSE = "MIT & PD"
|
|
LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e \
|
|
file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
|
|
|
|
SRC_URI = "https://mesa.freedesktop.org/archive/demos/${PV}/${BPN}-${PV}.tar.bz2 \
|
|
file://0001-mesa-demos-Add-missing-data-files.patch \
|
|
file://0004-Use-DEMOS_DATA_DIR-to-locate-data-files.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "cea2df0a80f09a30f635c4eb1a672bf90c5ddee0b8e77f4d70041668ef71aac1"
|
|
|
|
inherit meson pkgconfig features_check
|
|
# depends on virtual/egl, virtual/libgl ...
|
|
REQUIRED_DISTRO_FEATURES = "opengl x11"
|
|
|
|
EXTRA_OEMESON = "-Dwith-system-data-files=true"
|
|
|
|
PACKAGECONFIG ?= "drm egl gles1 gles2 \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}"
|
|
|
|
PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
|
|
PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
|
|
PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
|
|
PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
|
|
PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut"
|
|
PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
|
|
PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols"
|
|
PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu"
|
|
|
|
do_install:append() {
|
|
# it can be completely empty when all PACKAGECONFIG options are disabled
|
|
rmdir --ignore-fail-on-non-empty ${D}${bindir}
|
|
|
|
if [ -f ${D}${bindir}/clear ]; then
|
|
mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
|
|
fi
|
|
}
|