site  contact  subhomenews

Pyqt5 and MLT compiled in OE

January 05, 2022 — BarryK

I have been looking around at video editors, as having ongoing issues with LiVES. There are a couple that require 'pyqt5' and at least one that requires 'mlt'. This is what I have compiled in OpenEmbedded:

fdk-aac          2.0.1
mlt 7.4.0
python3-pyqt5 5.15.1
qtquickcontrols2 5.14.2+gitAUTOINC+bb2b1adffe
sip3 4.19.23

MLT home page:

Here is my recipe, meta-quirky/recipes-support/mlt/

# Recipe created by recipetool
# recipetool create -o

LICENSE = "LGPLv2.1 & GPLv2 & GPLv3 & MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d \
file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://GPLv3;md5=d32239bcb673463ab874e80d47fae504 \

SRC_URI = "${PV}.tar.gz"
SRC_URI[md5sum] = "4bc74ec681e67310340bafc235178a81"
SRC_URI[sha256sum] = "17c19843ffdbca66777aaadf39acb11829fd930eaded92f768cbcb8ae59a5f37"

#removed: tcl-native ruby-native
DEPENDS = "libx11 swig-native qtbase virtual/libgl \
libsdl libsdl2 ffmpeg zlib libxxf86vm libxv xvidcore libxtst libxshmfence \
libxrender libxrandr libxml2 libxi libxfixes libxext libxdmcp libxdamage \
libxcb libxau x265 x264 libx11 libwebp wavpack libvpx libvorbis libvdpau \
libva v4l-utils util-linux libusb1 eudev libtheora openssl speex speexdsp \
sox libsndfile1 libsndfile1-native libsm libsamplerate0 libraw1394 \
qtdeclarative qtscript qtsvg qttools qtx11extras qtxmlpatterns \
pulseaudio libpthread-stubs libpthread-stubs-native libpng libpcre libpcre2 \
pango opencore-amr libogg lame libmad xz libjpeg-turbo libid3tag icu \
libice harfbuzz graphite2 mesa glib-2.0 glib-2.0-native gdk-pixbuf fribidi \
freetype fontconfig flac fftw libffi expat libexif libdrm libdc1394 \
libcdio-paranoia libcdio libcap bzip2 libbluray ffmpeg libao alsa-lib \
swig python3-native lua-native perl-native"

inherit cmake cmake_qt5 pkgconfig

#removed: -DCPU_SSE2=OFF

#| ninja: error: multiple rules generate out/lib/ [-w dupbuild=err]
#fix, ref:
EXTRA_OECMAKE_BUILD += "-w dupbuild=warn"

#| CMake Error at src/swig/perl/cmake_install.cmake:50 (file):
#| file RPATH_CHANGE could not write new RPATH:
# have changed -DSWIG_PERL to OFF.

SUMMARY = "MLT Multimedia Framework"

So, what video-editors to consider? Have got a short list, will check them out.   

Tags: easy