site  contact  subhomenews

Deps compiled for video editor

December 19, 2021 — BarryK

Attempting to compile a video editor, more on that later. Toward that end, have compiled these dependencies in OpenEmbedded:

libdv       1.0.0
libmatroska 1.4.1
libsdl-gfx 2.0.25
mjpegtools 2.2.1
sox 14.4.2
unicap 0.9.12

Except for unicap, recipes already existed in OE, except I amended the recipe for sox, by creating meta-quirky/recipes-multimedia/sox/sox_%.bbappend -- that "%" is a wildcard, meaning match any version. Here is the file:

PACKAGECONFIG += " wavpack flac amrwb amrnb oggvorbis mad id3tag lame ao"

SUMMARY = "SoX is the Swiss Army knife of sound processing tools"

I created meta-quirky/recipes-quirky/unicap/

# Recipe created by recipetool
# recipetool create -o

LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

# patches from here:
SRC_URI = "${PV}%2Brepack20150328.0.git2c600ae.orig.tar.gz \
file://1001_printf_warning.patch \
file://1003_vid21394_pointer.patch \
file://1005_tidy_gettext.patch \
file://1009_v4l1.patch \
file://1010_libv4l2.h_includes.patch \
file://1011_euvccam_implicit_decls.patch \
file://1012_gtkdoc_sourcedir.patch \

SRC_URI[md5sum] = "d7905ce279098df5beb641321c770b95"
SRC_URI[sha256sum] = "cd9f077e71c0beda8c0b40ff62cdbce319d0cf7ff0ae4cfb289593bb46c787c4"

S = "${WORKDIR}/lib${BPN}"

DEPENDS = "v4l-utils intltool-native eudev libraw1394 pango glib-2.0 \
glib-2.0-native gtk+ libxv"

inherit pkgconfig gettext autotools-brokensep

EXTRA_OECONF = "--disable-static"

SECTION = "graphics"
SUMMARY = "Uniform interface to video capture devices"
...though I don't think the gtk+ dependency is required; that was just something I read somewhere. The "autotools-brokensep" is required as was unable to find one of it's own header files during compile.

Sox is interesting. It has a binary executable named 'sox' as well as a library. Homepage:     

Tags: easy