diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2012-10-05 12:52:05 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-10-05 12:52:05 +0200 |
commit | c40cedebf777403348a45fe265a1d7c8e1eb8c6e (patch) | |
tree | c99f73d60ce4fe177aeb67515d86972139a61147 /meta-oe/recipes-multimedia/v4l2apps | |
parent | 96fb528a77b352fc004f058849713bf7b1026e42 (diff) | |
download | meta-openembedded-c40cedebf777403348a45fe265a1d7c8e1eb8c6e.tar.gz |
v4l-utils: fix build breakage
Update to a newer SRCREV for fixed and get autotools support as a bonus.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-multimedia/v4l2apps')
-rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch | 39 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb | 27 |
2 files changed, 11 insertions, 55 deletions
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 deleted file mode 100644 index 4b11038c6..000000000 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From 1422d4c562660407919fb753dc5f074293b395e5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Mon, 16 Jul 2012 12:00:34 +0200 | ||
4 | Subject: [PATCH] disable qv4l2 build | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | utils/Makefile | 15 --------------- | ||
9 | 1 files changed, 0 insertions(+), 15 deletions(-) | ||
10 | |||
11 | diff --git a/utils/Makefile b/utils/Makefile | ||
12 | index 014b82d..db74851 100644 | ||
13 | --- a/utils/Makefile | ||
14 | +++ b/utils/Makefile | ||
15 | @@ -5,21 +5,6 @@ all install: | ||
16 | $(MAKE) -C $$i $@ || exit 1; \ | ||
17 | done | ||
18 | |||
19 | - # Test whether qmake is installed, and whether it is for qt4. | ||
20 | - @if which qmake-qt4 >/dev/null 2>&1; then \ | ||
21 | - QMAKE=qmake-qt4; \ | ||
22 | - else \ | ||
23 | - QMAKE=qmake; \ | ||
24 | - fi; \ | ||
25 | - if which $$QMAKE >/dev/null 2>&1; then \ | ||
26 | - if $$QMAKE --version 2>&1 | grep '4\.[0-9][0-9]*\.[0-9][0-9]*' >/dev/null; then \ | ||
27 | - if [ ! -f qv4l2/Makefile ]; then \ | ||
28 | - (cd qv4l2 && $$QMAKE) || exit 1; \ | ||
29 | - fi; \ | ||
30 | - $(MAKE) -C qv4l2 -f Makefile.install $@; \ | ||
31 | - fi \ | ||
32 | - fi | ||
33 | - | ||
34 | sync-with-kernel: | ||
35 | $(MAKE) -C keytable $@ | ||
36 | $(MAKE) -C v4l2-dbg $@ | ||
37 | -- | ||
38 | 1.7.7.6 | ||
39 | |||
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 e5d1fc2bc..ce5c5e1fc 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,39 +3,34 @@ LICENSE = "GPLv2 & LGPLv2.1" | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \ | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \ |
4 | file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0" | 4 | file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0" |
5 | 5 | ||
6 | PR = "r1" | 6 | PR = "r2" |
7 | 7 | ||
8 | DEPENDS = "jpeg" | 8 | DEPENDS = "jpeg" |
9 | 9 | ||
10 | inherit autotools gettext | ||
11 | |||
10 | # libv4l was absorbed into this, let OE know that | 12 | # libv4l was absorbed into this, let OE know that |
11 | PROVIDES = "libv4l" | 13 | PROVIDES = "libv4l" |
12 | 14 | ||
13 | SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git \ | 15 | SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git \ |
14 | file://0001-disable-qv4l2-build.patch \ | ||
15 | " | 16 | " |
16 | # 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -> v0.8.8 tag | 17 | # 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -> v0.8.8 tag |
17 | SRCREV = "54f16ca8183dd8ae8bf4ccc07949795aff0301f5" | 18 | SRCREV = "0298efdcd1153b8f719b9164548a3f0546f0cb7c" |
18 | 19 | ||
19 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
20 | 21 | ||
21 | EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D}" | 22 | EXTRA_OECONF = "--disable-qv4l2 --enable-shared" |
22 | |||
23 | do_compile() { | ||
24 | # fix up some ASNEEDED things | ||
25 | for i in $(find ${S} -name "Makefile") ; do | ||
26 | sed -i 's:-lrt:-lrt -lpthread:g' $i | ||
27 | done | ||
28 | |||
29 | oe_runmake | ||
30 | } | ||
31 | 23 | ||
32 | do_install() { | 24 | do_configure() { |
33 | oe_runmake install | 25 | # autotools_do_configure fails with: |
26 | # | configure.ac:139: error: required file 'build-aux/config.rpath' not found | ||
27 | autoreconf -vfi | ||
28 | oe_runconf | ||
34 | } | 29 | } |
35 | 30 | ||
36 | PACKAGES =+ "rc-keymaps libv4l libv4l-dbg libv4l-dev" | 31 | PACKAGES =+ "rc-keymaps libv4l libv4l-dbg libv4l-dev" |
37 | 32 | ||
38 | FILES_rc-keymaps = "${sysconfdir}/rc*" | 33 | FILES_rc-keymaps = "${sysconfdir}/rc* ${base_libdir}/udev/rc*" |
39 | FILES_${PN} = "${bindir} ${sbindir} ${base_libdir}/udev/rules.d/70-infrared.rules" | 34 | FILES_${PN} = "${bindir} ${sbindir} ${base_libdir}/udev/rules.d/70-infrared.rules" |
40 | FILES_libv4l += "${libdir}/libv4l/* ${libdir}/*.so.*" | 35 | FILES_libv4l += "${libdir}/libv4l/* ${libdir}/*.so.*" |
41 | FILES_libv4l-dbg += "${libdir}/libv4l/.debug" | 36 | FILES_libv4l-dbg += "${libdir}/libv4l/.debug" |