3 # For running GStreamer on wayland (experimental).
5 # Uncoment below if want to use multimedia acceleration on wayland
7 IMAGE_INSTALL_append_porter = " \
8 gstreamer1.0-plugins-bad-waylandsink \
11 # Additional plugins to test multimedia acceleration (experimental)
13 # Uncoment below if want to use multimedia acceleration
15 IMAGE_INSTALL_append_porter = " \
16 gstreamer1.0-plugins-base-videorate \
17 gstreamer1.0-plugins-base-videotestsrc \
18 gstreamer1.0-plugins-base-audiotestsrc \
19 gstreamer1.0-plugins-base-alsa \
20 gstreamer1.0-plugins-good-autodetect \
21 gstreamer1.0-plugins-good-isomp4 \
22 gstreamer1.0-plugins-good-videocrop \
23 gstreamer1.0-plugins-bad-asfmux \
24 gstreamer1.0-plugins-bad-fbdevsink \
25 gstreamer1.0-plugins-bad-faad \
26 gstreamer1.0-plugins-bad-videoparsersbad \
28 # gstreamer1.0-plugins-good-video4linux2 (temp disabled)
30 # for graphics acceleration
32 # Uncoment below if want to use multimedia acceleration
34 IMAGE_INSTALL_append_porter = " \
35 libegl libegl-dev libgbm-dev \
36 gles-kernel-module gles-user-module \
41 # for multimedia acceleration
43 # Uncoment below if want to use multimedia acceleration
45 IMAGE_INSTALL_append_porter = " \
46 packagegroup-rcar-gen2-multimedia \
47 packagegroup-lcb-oss-codecs \
48 alsa-utils alsa-utils-config alsa-tools \
51 IMAGE_INSTALL_append_porter = " \
57 # For Bluetooth hardware support
58 BT_KERNEL_MODULES = " \
61 kernel-module-rfcomm \
62 kernel-module-rfkill \
65 # Distribution-specific runtime components
66 IMAGE_INSTALL_append = " \
67 ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "${BT_KERNEL_MODULES}", "", d)} \
70 # TODO: When booting weston, someone try to load 'libgbm_kms.so' then
71 # fail to boot. It should be 'libgbm_kms.so.1'.
72 # Tentatively, it is to install 'libgbm-dev' pkg.
73 #IMAGE_INSTALL_append = "libgbm-dev"
74 # this is not recommended and should be done in the recipe requiring this module (gles-user-module)
76 LICENSE_FLAGS_WHITELIST = "commercial"
78 # Define the name of multimedia, dtv, graphic test, multimedia-test for bbmask
79 BB_MULTIMEDIA_KERNEL_MODULE = "fdpm-kernel-module|mmngr-kernel-module|\
80 mmngrbuf-kernel-module|s3ctl-kernel-module|\
81 uvcs-kernel-module|vspm-kernel-module"
82 BB_MULTIMEDIA_USER_MODULE = "fdpm-user-module|mmngr-user-module|\
83 mmngrbuf-user-module|omx-user-module|\
84 s3ctl-user-module|vspm-user-module|libmemcpy"
85 BB_MULTIMEDIA_TEST_MODULE = "fdpm-tp-user-module|mmngr-tp-user-module|\
86 mmngrbuf-tp-user-module|s3ctl-tp-user-module|\
88 BB_GST_PLUGINS = "meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer"
89 MULTIMEDIA_BB = "${BB_MULTIMEDIA_KERNEL_MODULE}|${BB_MULTIMEDIA_USER_MODULE}|\
90 ${BB_MULTIMEDIA_TEST_MODULE}|${BB_GST_PLUGINS}"
92 # Enable Multimedia standard pkg
93 MACHINE_FEATURES_append = " multimedia"
95 # UnMask the multimedia kernel modules
96 #BBMASK .= "|${BB_MULTIMEDIA_KERNEL_MODULE}"
98 # UnMask the multimedia user modules
99 #BBMASK .= "|${BB_MULTIMEDIA_USER_MODULE}"
101 # Include static library in SDK
102 SDKIMAGE_FEATURES_append = " staticdev-pkgs"
105 #MACHINE_FEATURES_append = " dtv"
106 BBMASK = "dtv-module|ssp-module|scu-module"
108 # Enable graphic pkgs
109 #BBMASK .= "|gles-kernel-module|gles-user-module"
111 # Mask the multimedia-test
112 BBMASK .= "|${BB_MULTIMEDIA_TEST_MODULE}"
114 # Mask the graphic test
115 BBMASK .= "|gles-test-module"
117 #DISTRO_FEATURES_append = " mm-test"
118 #DISTRO_FEATURES_append = " gles-test"
121 MACHINE_FEATURES_append = " sgx"
122 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
126 PREFERRED_PROVIDER_virtual/libgles1 = ""
127 PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module"
128 PREFERRED_PROVIDER_virtual/egl = "libegl"
129 PREFERRED_PROVIDER_virtual/libgl = ""
130 PREFERRED_PROVIDER_virtual/mesa = ""
131 PREFERRED_PROVIDER_libgbm = "libgbm"
132 PREFERRED_PROVIDER_libgbm-dev = "libgbm"
134 # Setting for u-boot Wayland
135 UBOOT_MACHINE = "porter_vin_config"
137 # Addtional Configurations of Optional OMX modules
139 # OMX Media Component H263 Decoder Library
140 #DISTRO_FEATURES_append = " h263dec_lib"
141 # OMX Media Component VC-1 Decoder Library
142 #DISTRO_FEATURES_append = " vc1dec_lib"
143 # OMX Media Component MPEG-4 Decoder Library
144 #DISTRO_FEATURES_append = " mpeg4dec_lib"
145 # VCP3 Driver Adapted for Linux MPEG-2 Decoder Library
146 #DISTRO_FEATURES_append = " mpeg2dec_lib"
147 # DivX Decoder Library for Linux
148 #DISTRO_FEATURES_append = " divxdec_lib"
149 # Encoder Library for Linux
150 DISTRO_FEATURES_append = " h264avcenc_lib"
152 # Configurations of Optional Audio Decoders
153 # ARM 5.1ch aacPlus V2 Decoder for Linux
154 #DISTRO_FEATURES_append = " aacp2dec_lib"
155 # ARM MP3 Decoder for Linux
156 #DISTRO_FEATURES_append = " mp3dec_lib"
157 # ARM WMA Decoder for Linux
158 #DISTRO_FEATURES_append = " wmadec_lib"
159 # ARM 5.1ch Dolby Digital Decoder for Linux
160 #DISTRO_FEATURES_append = " ddddec_lib"
161 # ARM ALAC Decoder for Linux
162 #DISTRO_FEATURES_append = " alacdec_lib"
163 # ARM FLAC Decoder for Linux
164 #DISTRO_FEATURES_append = " flacdec_lib"
165 # ARM AAC-LC Decoder Library Sample for Linux
166 #DISTRO_FEATURES_append = " aaclcsdec_lib"
167 # ARM AAC Encoder for Linux
168 #DISTRO_FEATURES_append = " aacenc_lib"
170 # Configurations of Optional Audio Middlewares
171 # ARM 5.1ch aacPlus V2 Decode Middleware for Linux
172 #DISTRO_FEATURES_append = " armaccp2dec_mdw"
173 # ARM MP3 Decode Middleware for Linux
174 #DISTRO_FEATURES_append = " mp3dec_mdw"
175 # ARM WMA Decode Middleware for Linux
176 #DISTRO_FEATURES_append = " wmadec_mdw"
177 # ARM 5.1ch Dolby Digital Decode Middleware for Linux
178 #DISTRO_FEATURES_append = " ddddec_mdw"
179 # ARM ALAC Decode Middleware for Linux
180 #DISTRO_FEATURES_append = " alacdec_mdw"
181 # ARM FLAC Decode Middleware for Linux
182 #DISTRO_FEATURES_append = " flacdec_mdw"
183 # ARM AAC Decode Middleware Sample for Linux
184 #DISTRO_FEATURES_append = " aacsdec_mdw"
185 # ARM AAC Encode Middleware for Linux
186 #DISTRO_FEATURES_append = " aacenc_mdw"