site  contact  subhomenews

gst-editing-services compiled in OE

January 29, 2022 — BarryK

I discovered that 'gst-editing-services' is another dependency of Pitivi, added to these:

https://bkhome.org/news/202201/more-dependencies-for-pitivi-video-editor.html

There is no recipe in OE, so I attempted to compile it on the host system. Stuffed around for about 3 hours, unable to compile, ninja is doing something stupid.

Then I decided to have a go at cross-compiling it in OpenEmbedded, and I have to laugh, it compiled almost straight away. I got a bit of help looking at other gstreamer recipes, and I created meta-quirky/recipes-multimedia/gstreamer/gst-editing-services_1.18.2.bb:

# Recipe created by recipetool
# recipetool create -o gst-editing-services_1.18.2.bb https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.18.2.tar.xz

LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d"

SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-${PV}.tar.xz"
SRC_URI[md5sum] = "1404b6bf39514a557cf7c0f6154b61af"
SRC_URI[sha256sum] = "25ac7cd252a9bcb9ae179eca0b52fc9cf5384c1df16adab4d87bd84b3f9a625f"

DEPENDS = "glib-2.0 glib-2.0-native libxml2 bison-native flex-native \
python3-numpy-native gstreamer1.0 gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
gstreamer1.0-plugins-ugly gstreamer1.0-python python3-pygobject"

inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection

GIR_MESON_ENABLE_FLAG = "enabled"
GIR_MESON_DISABLE_FLAG = "disabled"

EXTRA_OEMESON += " \
-Dexamples=disabled \
-Ddbghelp=disabled \
-Dtests=disabled \
-Dbash-completion=disabled \
-Dgtk_doc=disabled \
"

HOMEPAGE = "https://gitlab.freedesktop.org/gstreamer/gst-editing-services"
SUMMARY = "High-level library for facilitating the creation of audio/video non-linear editors"

Not sure if all those deps are needed.

Still not there. Tried to run Pitivi:

# pitivi
- gtk GStreamer plug-in not found on the system
Missing soft dependency:
- GSound not found on the system
-> enables sound notifications when rendering is complete
#

I thought that the gtk plugin is there. Oh well, will see if can fix.  

Tags: easy