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:
#20211219
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/unicap_0.9.12.bb:
# Recipe created by recipetool...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.
# recipetool create -o unicap_0.9.12.bb http://deb.debian.org/debian/pool/main/u/unicap/unicap_0.9.12+repack20150328.0.git2c600ae.orig.tar.gz
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
# patches from here: https://packages.debian.org/sid/libunicap2
SRC_URI = "http://deb.debian.org/debian/pool/main/u/unicap/unicap_${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 \
file://1013_unicap_queue_t.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"
HOMEPAGE = "http://unicap-imaging.org/"
SUMMARY = "Uniform interface to video capture devices"
Sox is interesting. It has a binary executable named 'sox' as well as a library. Homepage:
http://sox.sourceforge.net/
Tags: easy