site  contact  subhomenews

VLC 3.0.12 with Qt5 GUI compiled

December 27, 2021 — BarryK

EasyOS has VLC video player available via the package manager, however is it the CLI (commandline) application only. It was compiled in OpenEmbedded.

Now that Qt5 has been compiled in OE, VLC can be compiled with its Qt5-based GUI. I downloaded the latest OE recipe, for VLC version 3.0.12, and added on my layer meta-quirky/recipes-multimedia/vlc/vlc_3.0.12.bbappend:

EXTRA_OECONF_append = ""

#| ../doltlibtool: line 19: /mnt/sda1/nvme/oe-builds/oe-quirky/build-amd64/tmp/work/nocona-64-poky-linux/vlc/3.0.12-r6/build/compat/../libtool: No such file or directory
#| make[3]: *** [Makefile:1319: libcompat.la] Error 127
# add libtool-native... ...NO, still get the error. instead see do_compile_prepend

DEPENDS_append = " pulseaudio v4l-utils x265 libarchive libtool-native"

DEPENDS_remove = "avahi"
DEPENDS_remove = "fribidi"

#already have in main recipe:
# live555 dc1394 dv1394 notify fontconfig fluidsynth freetype dvdread png x11 x264

#configure: error: Library freerdp >= 1.0.1 needed for freerdp was not found
# hmmm, oe dunfell has 2.0. anyway, remove "freerdp":

PACKAGECONFIG_append = " mad a52 jack libass libva speex vpx qt5 dvdnav \
sftp vorbis ogg svg svgdec notify vdpau"

do_compile_prepend() {
#see error msg above.
LIBTOOLFILE="$(find ${B} -mindepth 1 -maxdepth 1 -type f -name '*-poky-linux-libtool')"
cp -a ${LIBTOOLFILE} ${B}/libtool
}

SUMMARY = "Video player"

It is quite a big package, don't know if will include it builtin in the next release of Easy, but it will be available via the package manager.   

Tags: easy