[oe] [meta-oe][PATCH] v4l-utils 0.8.8: disable qv4l2 build

Gary Thomas gary at mlbassoc.com
Mon Jul 16 11:37:20 UTC 2012


On 2012-07-16 05:20, Koen Kooi wrote:
> It picks up host qmake and breaks the build.

Does it still break if you have QT in your image?  If not, then perhaps
this could be made conditional rather than just removed.

>
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> ---
>   .../v4l-utils/0001-disable-qv4l2-build.patch       |   39 ++++++++++++++++++++
>   .../recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb |    6 ++-
>   2 files changed, 44 insertions(+), 1 deletion(-)
>   create mode 100644 meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch
>
> diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch
> new file mode 100644
> index 0000000..4b11038
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch
> @@ -0,0 +1,39 @@
> +From 1422d4c562660407919fb753dc5f074293b395e5 Mon Sep 17 00:00:00 2001
> +From: Koen Kooi <koen at dominion.thruhere.net>
> +Date: Mon, 16 Jul 2012 12:00:34 +0200
> +Subject: [PATCH] disable qv4l2 build
> +
> +Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> +---
> + utils/Makefile |   15 ---------------
> + 1 files changed, 0 insertions(+), 15 deletions(-)
> +
> +diff --git a/utils/Makefile b/utils/Makefile
> +index 014b82d..db74851 100644
> +--- a/utils/Makefile
> ++++ b/utils/Makefile
> +@@ -5,21 +5,6 @@ all install:
> + 		$(MAKE) -C $$i $@ || exit 1; \
> + 	done
> +
> +-	# Test whether qmake is installed, and whether it is for qt4.
> +-	@if which qmake-qt4 >/dev/null 2>&1; then \
> +-		QMAKE=qmake-qt4; \
> +-	else \
> +-		QMAKE=qmake; \
> +-	fi; \
> +-	if which $$QMAKE >/dev/null 2>&1; then \
> +-		if $$QMAKE --version 2>&1 | grep '4\.[0-9][0-9]*\.[0-9][0-9]*' >/dev/null; then \
> +-			if [ ! -f qv4l2/Makefile ]; then \
> +-				(cd qv4l2 && $$QMAKE) || exit 1; \
> +-			fi; \
> +-			$(MAKE) -C qv4l2 -f Makefile.install $@; \
> +-		fi \
> +-	fi
> +-
> + sync-with-kernel:
> + 	$(MAKE) -C keytable $@
> + 	$(MAKE) -C v4l2-dbg $@
> +--
> +1.7.7.6
> +
> diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
> index 18f361f..e5d1fc2 100644
> --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
> +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
> @@ -3,12 +3,16 @@ LICENSE = "GPLv2 & LGPLv2.1"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
>                       file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
>
> +PR = "r1"
> +
>   DEPENDS = "jpeg"
>
>   # libv4l was absorbed into this, let OE know that
>   PROVIDES = "libv4l"
>
> -SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git"
> +SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git \
> +           file://0001-disable-qv4l2-build.patch \
> +          "
>   # 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -> v0.8.8 tag
>   SRCREV = "54f16ca8183dd8ae8bf4ccc07949795aff0301f5"
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------






More information about the Openembedded-devel mailing list