summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-devtools/half/half_2.1.0.bb19
-rw-r--r--recipes-devtools/stb/stb_git.bb18
-rw-r--r--recipes-fsl/fsl-rc-local/fsl-rc-local.bb23
-rw-r--r--recipes-fsl/fsl-rc-local/fsl-rc-local/LICENSE1
-rwxr-xr-xrecipes-fsl/fsl-rc-local/fsl-rc-local/rc.local.etc14
-rwxr-xr-xrecipes-fsl/fsl-rc-local/fsl-rc-local/rc.local.init36
-rw-r--r--recipes-fsl/images/fsl-image-machine-test.bb31
-rw-r--r--recipes-fsl/images/fsl-image-multimedia-full.bb8
-rw-r--r--recipes-fsl/images/fsl-image-multimedia.bb30
-rw-r--r--recipes-fsl/images/fsl-image-network-full-cmdline.bb22
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb17
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb15
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb118
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-network.bb50
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb23
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb28
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb32
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb45
-rw-r--r--recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb33
-rw-r--r--recipes-graphics/devil/devil_1.8.0.bb21
-rw-r--r--recipes-graphics/gli/gli_0.8.4.0.bb22
-rw-r--r--recipes-graphics/glm/glm_%.bbappend2
-rw-r--r--recipes-graphics/imx-gpu-sdk/imx-gpu-sdk-src.inc4
-rw-r--r--recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb145
-rw-r--r--recipes-graphics/imx-gpu-sdk/libxdg-shell.bb21
-rw-r--r--recipes-graphics/imx-gpu-sdk/libxdg-shell/0001-xdg-shell-Add-CMake-minimum.patch38
-rw-r--r--recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb16
-rw-r--r--recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb14
-rw-r--r--recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb13
-rw-r--r--recipes-graphics/vulkan/assimp/0001-X3D-Fix-invalid-vector-back-usage-6283.patch52
-rw-r--r--recipes-graphics/vulkan/assimp_5.4.3.bb34
-rw-r--r--recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb25
32 files changed, 970 insertions, 0 deletions
diff --git a/recipes-devtools/half/half_2.1.0.bb b/recipes-devtools/half/half_2.1.0.bb
new file mode 100644
index 000000000..4914f8701
--- /dev/null
+++ b/recipes-devtools/half/half_2.1.0.bb
@@ -0,0 +1,19 @@
1SUMMARY = "C++ library for half precision floating point arithmetics"
2DESCRIPTION = "half is a C++ header-only library to provide an IEEE-754 conformant \
3half-precision floating point type along with corresponding arithmetic operators, \
4type conversions and common mathematical functions."
5
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=813a6278831975d26c115ed6f9c21831"
8
9SRC_URI = "https://sourceforge.net/projects/half/files/half/${PV}/${BP}.zip"
10SRC_URI[sha256sum] = "ad1788afe0300fa2b02b0d1df128d857f021f92ccf7c8bddd07812685fa07a25"
11
12S = "${UNPACKDIR}"
13
14do_install () {
15 install -d ${D}${includedir}
16 cp -r ${S}/include/* ${D}${includedir}
17}
18
19ALLOW_EMPTY:${PN} = "1"
diff --git a/recipes-devtools/stb/stb_git.bb b/recipes-devtools/stb/stb_git.bb
new file mode 100644
index 000000000..f5d52f809
--- /dev/null
+++ b/recipes-devtools/stb/stb_git.bb
@@ -0,0 +1,18 @@
1SUMMARY = "single-file public domain (or MIT licensed) libraries for C/C++"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://stb.h;beginline=14418;endline=14433;md5=b10975d4c8155af1811ab611586f01d2"
4
5PV = "0.0+git${SRCPV}"
6
7SRCREV = "f67165c2bb2af3060ecae7d20d6f731173485ad0"
8SRC_URI = "git://github.com/nothings/stb.git;protocol=https;branch=master"
9
10do_install() {
11 install -d ${D}${includedir}
12 for hdr in ${S}/*.h; do
13 install -m 0644 $hdr ${D}${includedir}
14 done
15}
16
17# This is a header-only library, so the main package will be empty.
18ALLOW_EMPTY:${PN} = "1"
diff --git a/recipes-fsl/fsl-rc-local/fsl-rc-local.bb b/recipes-fsl/fsl-rc-local/fsl-rc-local.bb
new file mode 100644
index 000000000..d5c8ebc31
--- /dev/null
+++ b/recipes-fsl/fsl-rc-local/fsl-rc-local.bb
@@ -0,0 +1,23 @@
1# Copyright (C) 2012 O.S. Systems Software LTDA.
2
3DESCRIPTION = "Extra files for fsl-gui-image"
4LICENSE = "LGPL-2.0-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=39ec502560ab2755c4555ee8416dfe42"
6
7SRC_URI = "file://rc.local.etc \
8 file://rc.local.init \
9 file://LICENSE"
10
11S = "${UNPACKDIR}"
12
13inherit update-rc.d
14
15INITSCRIPT_NAME = "rc.local"
16INITSCRIPT_PARAMS = "start 99 2 3 4 5 ."
17
18do_install () {
19 install -d ${D}/${sysconfdir}/init.d
20 install -m 755 ${S}/rc.local.etc ${D}/${sysconfdir}/rc.local
21 install -m 755 ${S}/rc.local.init ${D}/${sysconfdir}/init.d/rc.local
22
23}
diff --git a/recipes-fsl/fsl-rc-local/fsl-rc-local/LICENSE b/recipes-fsl/fsl-rc-local/fsl-rc-local/LICENSE
new file mode 100644
index 000000000..757cfe655
--- /dev/null
+++ b/recipes-fsl/fsl-rc-local/fsl-rc-local/LICENSE
@@ -0,0 +1 @@
All content inside fsl-rc-local package are distributed under GPLv2 license
diff --git a/recipes-fsl/fsl-rc-local/fsl-rc-local/rc.local.etc b/recipes-fsl/fsl-rc-local/fsl-rc-local/rc.local.etc
new file mode 100755
index 000000000..65634dfa4
--- /dev/null
+++ b/recipes-fsl/fsl-rc-local/fsl-rc-local/rc.local.etc
@@ -0,0 +1,14 @@
1#!/bin/sh -e
2#
3# rc.local
4#
5# This script is executed at the end of each multiuser runlevel.
6# Make sure that the script will "exit 0" on success or any other
7# value on error.
8#
9# In order to enable or disable this script just change the execution
10# bits.
11#
12# By default this script does nothing.
13
14exit 0
diff --git a/recipes-fsl/fsl-rc-local/fsl-rc-local/rc.local.init b/recipes-fsl/fsl-rc-local/fsl-rc-local/rc.local.init
new file mode 100755
index 000000000..13402a758
--- /dev/null
+++ b/recipes-fsl/fsl-rc-local/fsl-rc-local/rc.local.init
@@ -0,0 +1,36 @@
1#! /bin/sh
2### BEGIN INIT INFO
3# Provides: rc.local
4# Required-Start: $all
5# Required-Stop:
6# Default-Start: 2 3 4 5
7# Default-Stop:
8# Short-Description: Run /etc/rc.local if it exist
9### END INIT INFO
10
11PATH=/sbin:/usr/sbin:/bin:/usr/bin
12
13do_start() {
14 if [ -x /etc/rc.local ]; then
15 echo -n "Running local boot scripts (/etc/rc.local)"
16 /etc/rc.local
17 [ $? = 0 ] && echo "." || echo "error"
18 return $ES
19 fi
20}
21
22case "$1" in
23 start)
24 do_start
25 ;;
26 restart|reload|force-reload)
27 echo "Error: argument '$1' not supported" >&2
28 exit 3
29 ;;
30 stop)
31 ;;
32 *)
33 echo "Usage: $0 start|stop" >&2
34 exit 3
35 ;;
36esac
diff --git a/recipes-fsl/images/fsl-image-machine-test.bb b/recipes-fsl/images/fsl-image-machine-test.bb
new file mode 100644
index 000000000..c78828e6f
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-machine-test.bb
@@ -0,0 +1,31 @@
1DESCRIPTION = "A console-only image that includes gstreamer packages, \
2Freescale's multimedia packages (VPU and GPU) when available, and \
3test and benchmark applications."
4
5IMAGE_FEATURES += " \
6 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
7 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \
8 '', d), d)} \
9 debug-tweaks \
10 tools-testapps \
11 tools-profile \
12"
13
14LICENSE = "MIT"
15
16inherit core-image
17
18CORE_IMAGE_EXTRA_INSTALL += " \
19 packagegroup-fsl-gstreamer1.0 \
20 packagegroup-fsl-gstreamer1.0-full \
21 packagegroup-fsl-tools-gpu \
22 packagegroup-fsl-tools-gpu-external \
23 packagegroup-fsl-tools-testapps \
24 packagegroup-fsl-tools-benchmark \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', \
26 'firmwared', '', d)} \
27 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \
28 'weston weston-init', '', d)} \
29 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', \
30 'weston-xwayland xterm', '', d)} \
31"
diff --git a/recipes-fsl/images/fsl-image-multimedia-full.bb b/recipes-fsl/images/fsl-image-multimedia-full.bb
new file mode 100644
index 000000000..0384162bc
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-multimedia-full.bb
@@ -0,0 +1,8 @@
1# This image extends fsl-image-multimedia with additional
2# gstreamer plugins
3
4require fsl-image-multimedia.bb
5
6CORE_IMAGE_EXTRA_INSTALL += " \
7 packagegroup-fsl-gstreamer1.0-full \
8"
diff --git a/recipes-fsl/images/fsl-image-multimedia.bb b/recipes-fsl/images/fsl-image-multimedia.bb
new file mode 100644
index 000000000..3a3ce28b8
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-multimedia.bb
@@ -0,0 +1,30 @@
1DESCRIPTION = "A console-only image that includes gstreamer packages and \
2Freescale's multimedia packages (VPU and GPU) when available for the specific \
3machine."
4
5IMAGE_FEATURES += "\
6 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \
7 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \
8 '', d), d)} \
9"
10
11LICENSE = "MIT"
12
13inherit core-image
14
15CORE_IMAGE_EXTRA_INSTALL += " \
16 packagegroup-fsl-tools-gpu \
17 packagegroup-fsl-gstreamer1.0 \
18 packagegroup-imx-tools-audio \
19 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \
20 'weston weston-init weston-examples \
21 gtk+3-demo', '', d)} \
22 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', \
23 'weston-xwayland xterm', '', d)} \
24"
25
26PACKAGE_IMX_TO_REMOVE = ""
27PACKAGE_IMX_TO_REMOVE:imxgpu2d = "gtk+3-demo"
28PACKAGE_IMX_TO_REMOVE:imxgpu3d = ""
29
30CORE_IMAGE_EXTRA_INSTALL:remove = "${PACKAGE_IMX_TO_REMOVE}"
diff --git a/recipes-fsl/images/fsl-image-network-full-cmdline.bb b/recipes-fsl/images/fsl-image-network-full-cmdline.bb
new file mode 100644
index 000000000..01f47c3e5
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-network-full-cmdline.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "A console-only image that includes full cmdline and \
2Freescale's networking packages (QorIQ DPAA/DPAA2) when available."
3
4IMAGE_FEATURES += " \
5 debug-tweaks \
6 tools-profile \
7"
8
9LICENSE = "MIT"
10
11CORE_IMAGE_EXTRA_INSTALL:append = "\
12 packagegroup-core-boot \
13 packagegroup-core-full-cmdline \
14 packagegroup-fsl-network \
15"
16
17# SPI Nor-Flash
18NETWORK_TOOLS:append:fsl-lsch3 = "\
19 mtd-utils \
20"
21
22inherit core-image
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb
new file mode 100644
index 000000000..9a86e5013
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "Package group used by FSL Community to provide audio and video plugins \
2that are subject to restricted licensing and/or royalties and thus require \
3the 'commercial' license whitelist flag"
4SUMMARY = "FSL Community package group - set of GStreamer 1.0 plugins with commercial licence flag"
5LICENSE_FLAGS = "commercial"
6
7inherit packagegroup
8
9RDEPENDS:${PN} = " \
10 packagegroup-fsl-gstreamer1.0 \
11"
12
13# Plugins from the -ugly collection which require the "commercial" flag in LICENSE_FLAGS_ACCEPTED to be set
14RDEPENDS:${PN} = " \
15 gstreamer1.0-plugins-ugly-asf \
16 gstreamer1.0-libav \
17"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb
new file mode 100644
index 000000000..6b2c3ac0e
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb
@@ -0,0 +1,15 @@
1DESCRIPTION = "Package group used by FSL Community to provide all GStreamer plugins from the \
2base, good, and bad packages, as well as the ugly and libav ones if commercial packages \
3are whitelisted, and plugins for the required hardware acceleration (if supported by the SoC)."
4SUMMARY = "FSL Community package group - full set of all GStreamer 1.0 plugins"
5
6inherit packagegroup
7
8RDEPENDS:${PN} = " \
9 packagegroup-fsl-gstreamer1.0 \
10 ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'packagegroup-fsl-gstreamer1.0-commercial', '', d)} \
11 gstreamer1.0-plugins-base-meta \
12 gstreamer1.0-plugins-good-meta \
13 gstreamer1.0-plugins-bad-meta \
14 ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'gstreamer1.0-plugins-ugly-meta', '', d)} \
15"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb
new file mode 100644
index 000000000..aef582a57
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb
@@ -0,0 +1,118 @@
1DESCRIPTION = "Package group used by FSL Community to provide audio, video, networking and debug \
2GStreamer plugins with the required hardware acceleration (if supported by the SoC)."
3SUMMARY = "FSL Community package group - set of commonly used GStreamer 1.0 plugins"
4
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7inherit packagegroup
8
9PACKAGES += " \
10 ${PN}-base \
11 ${PN}-audio \
12 ${PN}-video \
13 ${PN}-video-bad \
14 ${PN}-debug \
15 ${PN}-network-base \
16 ${PN}-network \
17"
18
19MACHINE_GSTREAMER_1_0_PLUGIN ?= ""
20
21RDEPENDS:${PN} = " \
22 ${PN}-audio \
23 ${PN}-video \
24 ${PN}-network-base \
25 ${PN}-debug \
26"
27
28# List of X11 specific plugins
29GST_X11_PACKAGES = " \
30 gstreamer1.0-plugins-base-ximagesink \
31 gstreamer1.0-plugins-base-xvimagesink \
32"
33
34# List of Wayland specific plugins
35GST_WAYLAND_PACKAGES = " \
36 gstreamer1.0-plugins-bad-waylandsink \
37"
38
39# basic plugins required in virtually every pipeline
40RDEPENDS:${PN}-base = " \
41 gstreamer1.0 \
42 gstreamer1.0-plugins-base-playback \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '', d)} \
44 gstreamer1.0-plugins-base-audioconvert \
45 gstreamer1.0-plugins-base-audioresample \
46 gstreamer1.0-plugins-base-gio \
47 gstreamer1.0-plugins-base-typefindfunctions \
48 gstreamer1.0-plugins-base-videoconvertscale \
49 gstreamer1.0-plugins-base-volume \
50 gstreamer1.0-plugins-good-autodetect \
51 ${MACHINE_GSTREAMER_1_0_PLUGIN} \
52 ${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-gst1.0-plugin-tools", "", d)} \
53"
54
55RRECOMMENDS:${PN}-base = " \
56 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${GST_X11_PACKAGES}', \
57 bb.utils.contains('DISTRO_FEATURES', 'wayland', \
58 '${GST_WAYLAND_PACKAGES}', '', d), d)} \
59"
60
61# Basic audio plugins: parsers, demuxers, decoders
62RDEPENDS:${PN}-audio = " \
63 ${PN}-base \
64 gstreamer1.0-plugins-base-ogg \
65 gstreamer1.0-plugins-good-audioparsers \
66 gstreamer1.0-plugins-good-flac \
67 gstreamer1.0-plugins-good-icydemux \
68 gstreamer1.0-plugins-good-id3demux \
69 gstreamer1.0-plugins-good-speex \
70 gstreamer1.0-plugins-good-wavparse \
71"
72
73# Basic video plugins: parsers, demuxers
74RDEPENDS:${PN}-video = " \
75 ${PN}-base \
76 gstreamer1.0-plugins-base-subparse \
77 gstreamer1.0-plugins-base-theora \
78 gstreamer1.0-plugins-good-avi \
79 gstreamer1.0-plugins-good-flv \
80 gstreamer1.0-plugins-good-isomp4 \
81 gstreamer1.0-plugins-good-matroska \
82"
83
84RRECOMMENDS:${PN}-video = " \
85 ${PN}-audio \
86"
87
88# Additional video plugins from the -bad collection
89RDEPENDS:${PN}-video-bad = " \
90 ${PN}-video \
91 gstreamer1.0-plugins-bad-mpegpsdemux \
92 gstreamer1.0-plugins-bad-mpegtsdemux \
93 gstreamer1.0-plugins-bad-videoparsersbad \
94"
95
96# Plugins used for diagnostics and debugging of pipelines
97RDEPENDS:${PN}-debug = " \
98 ${PN}-base \
99 gstreamer1.0-plugins-base-audiotestsrc \
100 gstreamer1.0-plugins-base-videotestsrc \
101 gstreamer1.0-plugins-good-debug \
102 gstreamer1.0-plugins-good-navigationtest \
103"
104
105# Basic networking plugins required by most pipelines that receive and/or send data
106RDEPENDS:${PN}-network-base = " \
107 gstreamer1.0-plugins-base-tcp \
108 gstreamer1.0-plugins-good-soup \
109 gstreamer1.0-plugins-good-udp \
110"
111
112# Additional networking plugins
113RDEPENDS:${PN}-network = " \
114 ${PN}-network-base \
115 gstreamer1.0-plugins-good-rtp \
116 gstreamer1.0-plugins-good-rtpmanager \
117 gstreamer1.0-plugins-good-rtsp \
118"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-network.bb b/recipes-fsl/packagegroups/packagegroup-fsl-network.bb
new file mode 100644
index 000000000..e14e0b74b
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-network.bb
@@ -0,0 +1,50 @@
1# Copyright (C) 2020 Jens Rehsack <sno@netbsd.org>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4DESCRIPTION = "Package group used by FSL Community to add the packages which provide (QorIQ) networking support."
5SUMMARY = "FSL Community package group - networking"
6
7PACKAGE_ARCH = "${MACHINE_ARCH}"
8
9inherit packagegroup
10
11NETWORK_TOOLS = "\
12 ethtool \
13 tcpdump \
14"
15
16NETWORK_TOOLS:append:qoriq = " \
17 ceetm \
18 dpdk \
19 ovs-dpdk \
20 pktgen-dpdk \
21 tsntool \
22"
23
24# Data Place Acceleration Architecture
25NETWORK_TOOLS:append:fsl-lsch2 = "\
26 eth-config \
27"
28
29# 2nd generation Data Place Acceleration Architecture
30NETWORK_TOOLS:append:ls1088a = "\
31 aiopsl \
32 gpp-aioptool \
33 ofp \
34"
35
36NETWORK_TOOLS:append:ls2088a = "\
37 aiopsl \
38 gpp-aioptool \
39 ofp \
40"
41
42NETWORK_TOOLS:append:fsl-lsch3 = "\
43 dce \
44 restool \
45 spc \
46"
47
48RDEPENDS:${PN} = " \
49 ${NETWORK_TOOLS} \
50"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
new file mode 100644
index 000000000..534d37627
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
@@ -0,0 +1,23 @@
1# Copyright (C) 2012-2016 Freescale Semiconductor
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4DESCRIPTION = "Package group used by FSL Community to provide a set of benchmark applications."
5SUMMARY = "FSL Communtiy package group - tools/benchmark"
6
7PACKAGE_ARCH = "${MACHINE_ARCH}"
8
9inherit packagegroup
10
11RDEPENDS:${PN} = " \
12 lmbench \
13 bonnie++ \
14 dbench \
15 fio \
16 iozone3 \
17 iperf3 \
18 nbench-byte \
19 tiobench \
20 ${@bb.utils.contains('TUNE_FEATURES', 'neon', 'cpuburn-neon', \
21 bb.utils.contains('TUNE_FEATURES', 'cortexa53 crypto', 'cpuburn-neon', \
22 '', d), d)} \
23"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
new file mode 100644
index 000000000..a361a4dd2
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
@@ -0,0 +1,28 @@
1# Copyright (C) 2014, 2016 Freescale Semiconductor
2# Copyright (C) 2015, 2016 O.S. Systems Software LTDA.
3# Released under the MIT license (see COPYING.MIT for the terms)
4DESCRIPTION = "Package group used by FSL Community to provide graphic packages used \
5to test the several hardware accelerated graphics APIs including packages not \
6provided by Freescale."
7SUMMARY = "FSL Community Package group - tools/gpu/external"
8
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11inherit packagegroup
12
13SOC_TOOLS_GPU_X11 = ""
14SOC_TOOLS_GPU_X11:imxgpu2d = " mesa-demos glmark2 gtkperf"
15
16SOC_TOOLS_GPU_FB = ""
17
18SOC_TOOLS_GPU_WAYLAND = ""
19
20SOC_TOOLS_GPU_XWAYLAND = ""
21SOC_TOOLS_GPU_XWAYLAND:imxgpu2d = "mesa-demos gtkperf"
22
23RDEPENDS:${PN} = " \
24 ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland", "${SOC_TOOLS_GPU_XWAYLAND}", \
25 bb.utils.contains("DISTRO_FEATURES", "wayland", "${SOC_TOOLS_GPU_WAYLAND}", \
26 bb.utils.contains("DISTRO_FEATURES", "x11", "${SOC_TOOLS_GPU_X11}", \
27 "${SOC_TOOLS_GPU_FB}", d), d), d)} \
28"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb
new file mode 100644
index 000000000..c7e820adb
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb
@@ -0,0 +1,32 @@
1# Copyright (C) 2012-2014, 2016 Freescale Semiconductor
2# Copyright (C) 2015, 2016 O.S. Systems Software LTDA.
3# Released under the MIT license (see COPYING.MIT for the terms)
4
5DESCRIPTION = "Package group used by FSL Community to add the packages which provide GPU support."
6SUMMARY = "FSL Community package group - tools/gpu"
7
8PACKAGE_ARCH = "${MACHINE_ARCH}"
9
10inherit packagegroup
11
12SOC_TOOLS_GPU = ""
13
14# i.MX6 SoloLite does not support apitrace because of its dependency on gles2.
15SOC_TOOLS_GPU:imxgpu2d = " \
16 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
17 bb.utils.contains('DISTRO_FEATURES', 'x11', 'xserver-xorg-extension-viv-autohdmi', \
18 '', d), d)} \
19"
20
21SOC_TOOLS_GPU:append:imxgpu3d = " \
22 imx-gpu-apitrace \
23"
24
25SOC_TOOLS_GPU:append:imxgpu = " \
26 imx-gpu-sdk \
27 imx-gpu-viv-tools \
28"
29
30RDEPENDS:${PN} = " \
31 ${SOC_TOOLS_GPU} \
32"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
new file mode 100644
index 000000000..2706dca97
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
@@ -0,0 +1,45 @@
1# Copyright (C) 2012-2014, 2016 Freescale Semiconductor
2# Copyright (C) 2015, 2016 O.S. Systems Software LTDA.
3# Released under the MIT license (see COPYING.MIT for the terms)
4
5DESCRIPTION = "Packagegroup used by FSL Community to provide a set of packages and utilities \
6for hardware test."
7SUMMARY = "FSL Community packagegroup - tools/testapps"
8
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11inherit packagegroup
12
13SOC_TOOLS_TEST = ""
14SOC_TOOLS_TEST:imx-nxp-bsp = "imx-test"
15SOC_TOOLS_TEST:imxgpu = "imx-test imx-gpu-viv-demos"
16SOC_TOOLS_TEST:qoriq = "ceetm optee-test-qoriq"
17
18RDEPENDS:${PN} = " \
19 alsa-utils \
20 alsa-tools \
21 dosfstools \
22 evtest \
23 e2fsprogs-mke2fs \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'fsl-rc-local', '', d)} \
25 fbset \
26 i2c-tools \
27 iproute2 \
28 memtester \
29 python3-core \
30 python3-json \
31 python3-datetime \
32 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'v4l-utils', '', d)} \
33 ethtool \
34 mtd-utils \
35 mtd-utils-ubifs \
36 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+3-demo', '', d)} \
37 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \
38 'weston-examples', '', d)} \
39 ${SOC_TOOLS_TEST} \
40"
41
42RDEPENDS_IMX_TO_REMOVE = ""
43RDEPENDS_IMX_TO_REMOVE:imxgpu3d = ""
44
45RDEPENDS:${PN}:remove = "${RDEPENDS_IMX_TO_REMOVE}"
diff --git a/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
new file mode 100644
index 000000000..54a428fdf
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
@@ -0,0 +1,33 @@
1# Copyright (C) 2015 Freescale Semiconductor
2# Copyright (C) 2015 O.S. Systems Software LTDA.
3# Released under the MIT license (see COPYING.MIT for the terms)
4
5SUMMARY = "Set of audio tools for inclusion on images"
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
8 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9
10inherit packagegroup
11
12ALSA_INSTALL = " \
13 alsa-utils \
14 alsa-tools \
15"
16
17PULSEAUDIO_INSTALL = " \
18 pulseaudio-server \
19 pulseaudio-module-cli \
20 pulseaudio-misc \
21 pulseaudio-module-device-manager \
22 ${@bb.utils.contains('DISTRO_FEATURES',"x11", "pulseaudio-module-x11-xsmp \
23 pulseaudio-module-x11-publish \
24 pulseaudio-module-x11-cork-request \
25 pulseaudio-module-x11-bell \
26 consolekit", \
27 "", d)} \
28"
29
30RDEPENDS:${PN} = " \
31 ${@bb.utils.contains("DISTRO_FEATURES", "alsa", "${ALSA_INSTALL}", "", d)} \
32 ${@bb.utils.contains("DISTRO_FEATURES", "pulseaudio", "${PULSEAUDIO_INSTALL}", "", d)} \
33"
diff --git a/recipes-graphics/devil/devil_1.8.0.bb b/recipes-graphics/devil/devil_1.8.0.bb
new file mode 100644
index 000000000..dcbdf3ac1
--- /dev/null
+++ b/recipes-graphics/devil/devil_1.8.0.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "A full featured cross-platform image library"
2SECTION = "libs"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"
5PR = "r0"
6
7DEPENDS = "libpng jpeg tiff xz"
8
9SRC_URI = "http://sourceforge.net/projects/openil/files/DevIL/${PV}/DevIL-${PV}.zip"
10SRC_URI[sha256sum] = "451337f392c65bfb83698a781370534dc63d7bafca21e9b37178df0518f7e895"
11
12S = "${UNPACKDIR}/DevIL/DevIL"
13
14inherit cmake
15
16TARGET_CFLAGS += "-Dpng_set_gray_1_2_4_to_8=png_set_expand_gray_1_2_4_to_8"
17
18SOLIBS = ".so"
19FILES_SOLIBSDEV = ""
20
21PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-graphics/gli/gli_0.8.4.0.bb b/recipes-graphics/gli/gli_0.8.4.0.bb
new file mode 100644
index 000000000..14d6a75ed
--- /dev/null
+++ b/recipes-graphics/gli/gli_0.8.4.0.bb
@@ -0,0 +1,22 @@
1SUMMARY = "OpenGL Image Library"
2DESCRIPTION = "OpenGL Image (GLI) is a header only C++ \
3image library for graphics software."
4HOMEPAGE = "http://gli.g-truc.net"
5BUGTRACKER = "https://github.com/g-truc/gli/issues"
6
7SECTION = "libs"
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://readme.md;beginline=19;endline=20;md5=ab03b667ee630c1abb1add70365a50fb"
11
12SRC_URI = " \
13 git://github.com/g-truc/gli;protocol=https;branch=master \
14"
15SRCREV = "0c171ee87fcfe35a7e0e0445adef06f92e0b6a91"
16
17inherit cmake
18
19# This is a header-only library, so the main package will be empty.
20ALLOW_EMPTY:${PN} = "1"
21
22BBCLASSEXTEND = "native"
diff --git a/recipes-graphics/glm/glm_%.bbappend b/recipes-graphics/glm/glm_%.bbappend
new file mode 100644
index 000000000..88a16cb9d
--- /dev/null
+++ b/recipes-graphics/glm/glm_%.bbappend
@@ -0,0 +1,2 @@
1# This is a header-only library, so the main package will be empty.
2ALLOW_EMPTY:${PN} = "1"
diff --git a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk-src.inc b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk-src.inc
new file mode 100644
index 000000000..3c927b587
--- /dev/null
+++ b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk-src.inc
@@ -0,0 +1,4 @@
1SRC_URI = "${GPU_SDK_SRC};branch=${GPU_SDK_SRC_BRANCH}"
2GPU_SDK_SRC ?= "git://github.com/nxp-imx/gtec-demo-framework.git;protocol=https"
3GPU_SDK_SRC_BRANCH ?= "master"
4SRCREV = "35bbd45ed6eac169a778bd154283771b9bf39be7"
diff --git a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb
new file mode 100644
index 000000000..e1510baf3
--- /dev/null
+++ b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb
@@ -0,0 +1,145 @@
1SUMMARY = "i.MX GPU SDK Samples"
2DESCRIPTION = "Set of sample applications for i.MX GPU"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://License.md;md5=9d58a2573275ce8c35d79576835dbeb8"
5
6DEPENDS_BACKEND = \
7 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libxdg-shell wayland', \
8 bb.utils.contains('DISTRO_FEATURES', 'x11', ' xrandr', \
9 '', d), d)}"
10DEPENDS_MX8 = ""
11DEPENDS_MX8:mx8-nxp-bsp = " \
12 glslang-native \
13 opencv \
14 rapidopencl \
15 rapidopenvx \
16 rapidvulkan \
17 vulkan-headers \
18 vulkan-loader \
19"
20DEPENDS_MX8:mx8mm-nxp-bsp = " \
21 opencv \
22"
23DEPENDS = " \
24 assimp \
25 cmake-native \
26 devil \
27 fmt \
28 gli \
29 glm \
30 gstreamer1.0 \
31 gstreamer1.0-plugins-base \
32 gtest \
33 half \
34 ninja-native \
35 nlohmann-json \
36 rapidjson \
37 stb \
38 zlib \
39 ${DEPENDS_BACKEND} \
40 ${DEPENDS_MX8} \
41"
42DEPENDS:append:imxgpu2d = " virtual/libg2d virtual/libopenvg"
43DEPENDS:append:imxgpu3d = " virtual/libgles2"
44
45require imx-gpu-sdk-src.inc
46
47
48WINDOW_SYSTEM = \
49 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland_XDG', \
50 bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \
51 'FB', d), d)}"
52
53FEATURES = "ConsoleHost,EarlyAccess,EGL,GoogleUnitTest,Lib_NlohmannJson,OpenVG,Test_RequireUserInputToExit,WindowHost"
54FEATURES:append:imxgpu = ",HW_GPU_VIVANTE"
55FEATURES:append:imxgpu2d = ",G2D"
56FEATURES:append:imxgpu3d = ",OpenGLES2"
57FEATURES:append = "${FEATURES_SOC}"
58
59FEATURES_SOC = ""
60FEATURES_SOC:mx6q-nxp-bsp = ",OpenGLES3"
61FEATURES_SOC:mx6dl-nxp-bsp = ",OpenGLES3"
62FEATURES_SOC:mx8-nxp-bsp = ",OpenCV4,Vulkan1.2,OpenGLES3.2,OpenCL1.2,OpenVX1.2"
63FEATURES_SOC:mx8mm-nxp-bsp = ",OpenCV4"
64
65EXTENSIONS = "*"
66EXTENSIONS:mx6q-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader"
67EXTENSIONS:mx6dl-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader"
68EXTENSIONS:mx8m-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_color_buffer_float"
69EXTENSIONS:mx8mm-nxp-bsp = "*"
70
71do_compile () {
72 export FSL_PLATFORM_NAME=Yocto
73 export ROOTFS=${STAGING_DIR_HOST}
74 . ./prepare.sh
75 FslBuild.py -vvvvv -t sdk --UseFeatures [${FEATURES}] --UseExtensions [${EXTENSIONS}] --Variants [WindowSystem=${WINDOW_SYSTEM}] --BuildThreads ${@oe.utils.parallel_make(d)} -c install --CMakeInstallPrefix ${S}
76}
77
78REMOVALS = " \
79 GLES2/DeBayer \
80 GLES2/DirectMultiSamplingVideoYUV \
81 GLES3/DirectMultiSamplingVideoYUV \
82"
83REMOVALS:append:imxdpu = " \
84 G2D/EightLayers \
85"
86REMOVALS:append:mx6q-nxp-bsp = " \
87 GLES3/HDR02_FBBasicToneMapping \
88 GLES3/HDR03_SkyboxTonemapping \
89 GLES3/HDR04_HDRFramebuffer \
90"
91REMOVALS:append:mx6dl-nxp-bsp = " \
92 GLES3/HDR02_FBBasicToneMapping \
93 GLES3/HDR03_SkyboxTonemapping \
94 GLES3/HDR04_HDRFramebuffer \
95"
96
97do_install () {
98 install -d "${D}/opt/${PN}"
99 cp -r ${S}/bin/* ${D}/opt/${PN}
100 for removal in ${REMOVALS}; do
101 rm -rf ${D}/opt/${PN}/$removal
102 done
103}
104
105FILES:${PN} += "/opt/${PN}"
106FILES:${PN}-dbg += "/opt/${PN}/*/*/.debug /usr/src/debug"
107INSANE_SKIP:${PN} += "already-stripped rpaths"
108
109# Unfortunately recipes with an empty main package, like header-only libraries,
110# are not included in the SDK. Use RDEPENDS as a workaround.
111RDEPENDS_EMPTY_MAIN_PACKAGE = " \
112 fmt \
113 gli \
114 glm \
115 googletest \
116 half \
117 nlohmann-json \
118 rapidjson \
119 stb \
120"
121RDEPENDS_EMPTY_MAIN_PACKAGE_MX8 = ""
122RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = " \
123 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libxdg-shell', '', d)} \
124 rapidopencl \
125 rapidopenvx \
126 rapidvulkan \
127"
128RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8mm-nxp-bsp = ""
129# vulkan-loader is dynamically loaded, so need to add an explicit
130# dependency
131RDEPENDS_VULKAN_LOADER = ""
132RDEPENDS_VULKAN_LOADER:mx8-nxp-bsp = "vulkan-validation-layers vulkan-loader"
133RDEPENDS_VULKAN_LOADER:mx8mm-nxp-bsp = ""
134RDEPENDS:${PN} += " \
135 ${RDEPENDS_EMPTY_MAIN_PACKAGE} \
136 ${RDEPENDS_EMPTY_MAIN_PACKAGE_MX8} \
137 ${RDEPENDS_VULKAN_LOADER} \
138"
139
140# For backwards compatibility
141RPROVIDES:${PN} = "fsl-gpu-sdk"
142RREPLACES:${PN} = "fsl-gpu-sdk"
143RCONFLICTS:${PN} = "fsl-gpu-sdk"
144
145COMPATIBLE_MACHINE = "(imxgpu)"
diff --git a/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb b/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb
new file mode 100644
index 000000000..a5637869a
--- /dev/null
+++ b/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb
@@ -0,0 +1,21 @@
1SUMMARY = "Provides XDG shell header and glue code library"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/License.md;md5=9d58a2573275ce8c35d79576835dbeb8"
4
5DEPENDS = "wayland-native wayland wayland-protocols"
6
7require imx-gpu-sdk-src.inc
8
9SRC_URI += "file://0001-xdg-shell-Add-CMake-minimum.patch"
10
11S = "${UNPACKDIR}/${BP}/ThirdParty/Recipe/xdg-shell"
12
13inherit cmake pkgconfig
14
15EXTRA_OECMAKE = " \
16 -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \
17 -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols \
18"
19
20ALLOW_EMPTY:${PN} = "1"
21RDEPENDS:${PN}-dev = "${PN}-staticdev"
diff --git a/recipes-graphics/imx-gpu-sdk/libxdg-shell/0001-xdg-shell-Add-CMake-minimum.patch b/recipes-graphics/imx-gpu-sdk/libxdg-shell/0001-xdg-shell-Add-CMake-minimum.patch
new file mode 100644
index 000000000..9ece7d8f7
--- /dev/null
+++ b/recipes-graphics/imx-gpu-sdk/libxdg-shell/0001-xdg-shell-Add-CMake-minimum.patch
@@ -0,0 +1,38 @@
1From 6e38ee09378bfa7edc97528967f0dd0bd810f2c6 Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Thu, 9 Oct 2025 08:29:44 -0500
4Subject: [PATCH] xdg-shell: Add CMake minimum
5
6The build is broken:
7```
8| CMake Error in CMakeLists.txt:
9| No cmake_minimum_required command is present. A line of code such as
10|
11| cmake_minimum_required(VERSION 4.1)
12|
13| should be added at the top of the file. The version specified may be lower
14| if you wish to support older CMake versions for this project. For more
15| information run "cmake --help-policy CMP0000".
16```
17
18Upstream-Status: Pending
19Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
20---
21 CMakeLists.txt | 2 ++
22 1 file changed, 2 insertions(+)
23
24diff --git a/CMakeLists.txt b/CMakeLists.txt
25index 8d39c6c5..5cb52e32 100644
26--- a/CMakeLists.txt
27+++ b/CMakeLists.txt
28@@ -1,5 +1,7 @@
29 # Generate the client header and glue library from xdg-shell.xml
30
31+cmake_minimum_required(VERSION 3.5)
32+
33 include(FindPkgConfig)
34
35 if (NOT DEFINED WAYLAND_PROTOCOLS_DIR)
36--
372.34.1
38
diff --git a/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb b/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb
new file mode 100644
index 000000000..d4200d394
--- /dev/null
+++ b/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb
@@ -0,0 +1,16 @@
1SUMMARY = "Experimental low level header only C++11 RAII wrapper classes for the OpenCL API"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204"
4
5SRC_URI = "git://github.com/Unarmed1000/RapidOpenCL;protocol=https;branch=master \
6"
7SRCREV = "21254804a56ae96e8385c2652733c338d62da04f"
8
9# RapidOpenCL is a header-only C++11 RAII wrapper class, so the main package will be empty.
10
11do_install () {
12 install -d ${D}${includedir}
13 cp -r ${S}/include/* ${D}${includedir}
14}
15
16ALLOW_EMPTY:${PN} = "1"
diff --git a/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb b/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb
new file mode 100644
index 000000000..049fca0fd
--- /dev/null
+++ b/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb
@@ -0,0 +1,14 @@
1SUMMARY = "Low level header only C++11 RAII wrapper classes for the OpenVX API"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204"
4
5SRC_URI = "git://github.com/Unarmed1000/RapidOpenVX;protocol=https;branch=master \
6"
7SRCREV = "909c7abbff0ee35610f07f6fadeaf3a2eadce36e"
8
9do_install () {
10 install -d ${D}${includedir}
11 cp -r ${S}/include/* ${D}${includedir}
12}
13
14ALLOW_EMPTY:${PN} = "1"
diff --git a/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb b/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb
new file mode 100644
index 000000000..86ec697d2
--- /dev/null
+++ b/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb
@@ -0,0 +1,13 @@
1SUMMARY = "Low level header only C++11 RAII wrapper classes for the Vulkan API"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204"
4
5DEPENDS = "vulkan-loader"
6
7SRC_URI = "git://github.com/Unarmed1000/RapidVulkan;protocol=https;branch=master"
8SRCREV = "e39a407c5ae880792d8843ada65a19dd26b3dca7"
9
10
11inherit cmake
12
13ALLOW_EMPTY:${PN} = "1"
diff --git a/recipes-graphics/vulkan/assimp/0001-X3D-Fix-invalid-vector-back-usage-6283.patch b/recipes-graphics/vulkan/assimp/0001-X3D-Fix-invalid-vector-back-usage-6283.patch
new file mode 100644
index 000000000..1b2bb5b1a
--- /dev/null
+++ b/recipes-graphics/vulkan/assimp/0001-X3D-Fix-invalid-vector-back-usage-6283.patch
@@ -0,0 +1,52 @@
1From 59bc03d931270b6354690512d0c881eec8b97678 Mon Sep 17 00:00:00 2001
2From: Kim Kulling <kimkulling@users.noreply.github.com>
3Date: Fri, 25 Jul 2025 15:01:16 +0200
4Subject: [PATCH] X3D: Fix invalid vector::back usage (#6283)
5
6* X3D: Fix invalid vector::back usage
7
8Upstream-Status: Backport [https://github.com/assimp/assimp/commit/59bc03d931270b6354690512d0c881eec8b97678]
9---
10 code/AssetLib/X3D/X3DGeoHelper.cpp | 14 ++++++++++----
11 1 file changed, 10 insertions(+), 4 deletions(-)
12
13diff --git a/code/AssetLib/X3D/X3DGeoHelper.cpp b/code/AssetLib/X3D/X3DGeoHelper.cpp
14index 1c962a460..b90956d2c 100644
15--- a/code/AssetLib/X3D/X3DGeoHelper.cpp
16+++ b/code/AssetLib/X3D/X3DGeoHelper.cpp
17@@ -128,13 +128,17 @@ void X3DGeoHelper::rect_parallel_epiped(const aiVector3D &pSize, std::list<aiVec
18
19 #undef MESH_RectParallelepiped_CREATE_VERT
20
21+static constexpr int InvalidIndex = -1;
22+
23 void X3DGeoHelper::coordIdx_str2faces_arr(const std::vector<int32_t> &pCoordIdx, std::vector<aiFace> &pFaces, unsigned int &pPrimitiveTypes) {
24 std::vector<int32_t> f_data(pCoordIdx);
25 std::vector<unsigned int> inds;
26 unsigned int prim_type = 0;
27
28- if (f_data.back() != (-1)) {
29- f_data.push_back(-1);
30+ if (!f_data.empty()) {
31+ if (f_data.back() != InvalidIndex) {
32+ f_data.push_back(InvalidIndex);
33+ }
34 }
35
36 // reserve average size.
37@@ -191,8 +195,10 @@ mg_m_err:
38 void X3DGeoHelper::coordIdx_str2lines_arr(const std::vector<int32_t> &pCoordIdx, std::vector<aiFace> &pFaces) {
39 std::vector<int32_t> f_data(pCoordIdx);
40
41- if (f_data.back() != (-1)) {
42- f_data.push_back(-1);
43+ if (!f_data.empty()) {
44+ if (f_data.back() != InvalidIndex) {
45+ f_data.push_back(InvalidIndex);
46+ }
47 }
48
49 // reserve average size.
50--
512.34.1
52
diff --git a/recipes-graphics/vulkan/assimp_5.4.3.bb b/recipes-graphics/vulkan/assimp_5.4.3.bb
new file mode 100644
index 000000000..ff4fb7719
--- /dev/null
+++ b/recipes-graphics/vulkan/assimp_5.4.3.bb
@@ -0,0 +1,34 @@
1DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \
2 various well-known 3D model formats in a uniform manner."
3HOMEPAGE = "http://www.assimp.org/"
4SECTION = "devel"
5
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=d9d5275cab4fb13ae624d42ce64865de"
8
9DEPENDS = "zlib"
10
11SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master \
12 file://0001-X3D-Fix-invalid-vector-back-usage-6283.patch"
13UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))"
14
15SRCREV = "c35200e38ea8f058812b83de2ef32c6093b0ece2"
16
17inherit cmake
18
19do_unpack:append() {
20 bb.build.exec_func('remove_non_compliant_source', d)
21}
22
23remove_non_compliant_source() {
24 # Remove non-compliant files manually. A patch file cannot be used
25 # since many of the files are binary.
26 rm -rf ${S}/test/models-nonbsd ${S}/scripts/StepImporter/schema_ifc2x3.exp
27}
28
29EXTRA_OECMAKE = "-DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_BUILD_TESTS=OFF -DASSIMP_LIB_INSTALL_DIR=${baselib}"
30
31BBCLASSEXTEND = "native nativesdk"
32
33# Work around do_package_qa error
34INSANE_SKIP:${PN}-dev += "buildpaths"
diff --git a/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb b/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb
new file mode 100644
index 000000000..96a7ce6ab
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb
@@ -0,0 +1,25 @@
1# Copyright (C) 2017 NXP Semiconductor
2
3SUMMARY = "RTSP server for live-stream from a v4l2 video source"
4HOMEPAGE = "https://github.com/Gateworks/gst-gateworks-apps"
5SECTION = "multimedia"
6
7LICENSE = "GPL-3.0-only"
8
9inherit pkgconfig
10
11DEPENDS = "gstreamer1.0 gstreamer1.0-rtsp-server glib-2.0"
12
13LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
14
15SRC_URI = " \
16 git://github.com/Gateworks/gst-gateworks-apps;branch=master;protocol=https \
17"
18
19SRCREV = "490564815d8049dbdd79087f546835b673ba6e88"
20
21
22do_install() {
23 install -m 0755 -D ${S}/bin/gst-variable-rtsp-server \
24 ${D}/${bindir}/gst-variable-rtsp-server
25}