agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
520 stars 407 forks source link

rpidistro-vlc: upgrade 3.0.12 -> 3.0.17 #1127

Closed EasyIP2023 closed 1 year ago

EasyIP2023 commented 1 year ago

Connected to: https://github.com/agherzan/meta-raspberrypi/issues/1117

Update is also meant to fix bug where if x11 isn't define in DISTRO_FEATURES builds will fail to compile.

Upgrades version of VLC to 3.0.17

Updates to PACKAGECONFIG

Removal of

TARGET_CFLAGS:append = " -fcommon"
TARGET_CXXFLAGS:append = " -fcommon"

as define in configure.ac via the 3001-configure.ac-setup-for-OE-usage.patch patch

Removes extraneous sed operations in the do_configure takes. Appears to no longer be required.

Adds required flags to build that couldn't be set in configure.ac

TARGET_CFLAGS:append = " -I${STAGING_INCDIR}/drm"
TARGET_LDFLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES',  'opengl', '-lGLESv2', '', d)}"

Replaces patches with updated patches used in actual commit. Prepend patches that are from meta-openembedded/meta-multimedia to 2XXX-.patch. Adds nine new patches to fix ./configure, compile, runtime bugs.

PATCHES:

EasyIP2023 commented 1 year ago

@agherzan Sorry about the massive PR's Hopefully the commit message explains enough. Decided it would be best that way to save on unnecessary iterations.

Also, now it shouldn't matter what's set or not set in DISTRO_FEATURES variable. Should build just fine and display on screen, but the main distro features that I tested against where opengl x11 and wayland.

Have a branch for testing here https://github.com/EasyIP2023/meta-raspberrypi/tree/testing-two