[oe] [PATCH 18/18] mjpegtools-1.9.0: initial recipe

Paul Menzel paulepanter at users.sourceforge.net
Thu Sep 30 07:53:02 UTC 2010


Am Mittwoch, den 29.09.2010, 20:36 +0000 schrieb Andreas Oberritter:
> Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
> ---
>  .../mjpegtools/files/mjpegtools-fix-include.patch  |   65 ++++++++++++++++++++
>  .../files/mjpegtools-remove-sdl-dependency.patch   |   15 +++++
>  .../files/mjpegtools-v4l-doesnt-mean-x11.patch     |   12 ++++
>  recipes/mjpegtools/mjpegtools_1.9.0.bb             |   18 ++++++
>  4 files changed, 110 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/mjpegtools/files/mjpegtools-fix-include.patch
>  create mode 100644 recipes/mjpegtools/files/mjpegtools-remove-sdl-dependency.patch
>  create mode 100644 recipes/mjpegtools/files/mjpegtools-v4l-doesnt-mean-x11.patch
>  create mode 100644 recipes/mjpegtools/mjpegtools_1.9.0.bb

[…]

> diff --git a/recipes/mjpegtools/mjpegtools_1.9.0.bb b/recipes/mjpegtools/mjpegtools_1.9.0.bb
> new file mode 100644
> index 0000000..3552b6e
> --- /dev/null
> +++ b/recipes/mjpegtools/mjpegtools_1.9.0.bb
> @@ -0,0 +1,18 @@
> +DESCRIPTION = "MJPEG video capture/editting/playback MPEG encoding"
> +HOMEPAGE = "http://sourceforge.net/projects/mjpeg/"
> +SECTION = "optional"
> +LICENSE = "GPLv2"
> +
> +SRC_URI = " \
> +	${SOURCEFORGE_MIRROR}/mjpeg/${P}.tar.gz \
> +	file://mjpegtools-fix-include.patch \
> +	file://mjpegtools-remove-sdl-dependency.patch \
> +	file://mjpegtools-v4l-doesnt-mean-x11.patch \
> +	"
> +
> +SRC_URI[md5sum] = "309a6fcf0900a010d6a9c1e91afc2f5c"
> +SRC_URI[sha256sum] = "a9322aaab1e0835fbaa00fc10e58e885833454fa0ad6f57c60c89a78f7ed1711"
> +
> +inherit autotools
> +
> +EXTRA_OECONF = "--without-x"

Using minimal (eglibc) and building mjpegtools from scratch I got

        […]
        | checking for jpeg_start_compress in -ljpeg... no
        | configure: error: JPEG 6b library missing - Go to http://www.ijg.org/
        | ERROR: Function do_configure failed
        NOTE: package mjpegtools-1.9.0-r0: task do_configure: Failed
        […]

Adding `DEPENDS = jpeg` fixed this for me.

I build your recipe with this addition for minimal-{libc,eglibc,uclibc}
and angstrom-2008.1 on `MACHINE = "beagleboard"` and it worked. I just
saw the following warning.

        NOTE: package mjpegtools-1.9.0-r0: task do_populate_sysroot: Succeeded
        NOTE: Multiple libraries (libmplex2-1.9.so.0, liblavfile-1.9.so.0, libmpeg2encpp-1.9.so.0, liblavrec-1.9.so.0, liblavplay-1.9.so.0, liblavjpeg-1.9.so.0, libmjpegutils-1.9.so.0) found and LEAD_SONAME not defined

I have not run tested this recipe though.

With the DEPENDS change this patch is

Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100930/b2825999/attachment-0002.sig>


More information about the Openembedded-devel mailing list