From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] v4l2grab: new package
Date: Tue, 1 Dec 2015 23:00:30 +0100 [thread overview]
Message-ID: <1449007230-3175-2-git-send-email-thomas.petazzoni@free-electrons.com> (raw)
In-Reply-To: <1449007230-3175-1-git-send-email-thomas.petazzoni@free-electrons.com>
From: Volkov Viacheslav <sv99@inbox.ru>
[Thomas:
- remove dependency on musl, since libv4l can now be built without
musl
- add missing Config.in comment for the toolchain dependencies
- add hash file.
- rework commit log.
- expand Config.in help text.]
Signed-off-by: Viacheslav Volkov <sv99@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/Config.in | 1 +
package/v4l2grab/Config.in | 20 ++++++++++++++++++++
package/v4l2grab/v4l2grab.hash | 2 ++
package/v4l2grab/v4l2grab.mk | 15 +++++++++++++++
4 files changed, 38 insertions(+)
create mode 100644 package/v4l2grab/Config.in
create mode 100644 package/v4l2grab/v4l2grab.hash
create mode 100644 package/v4l2grab/v4l2grab.mk
diff --git a/package/Config.in b/package/Config.in
index 2bdad01..a6049c4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -40,6 +40,7 @@ menu "Audio and video applications"
source "package/tstools/Config.in"
source "package/twolame/Config.in"
source "package/upmpdcli/Config.in"
+ source "package/v4l2grab/Config.in"
source "package/vlc/Config.in"
source "package/vorbis-tools/Config.in"
source "package/wavpack/Config.in"
diff --git a/package/v4l2grab/Config.in b/package/v4l2grab/Config.in
new file mode 100644
index 0000000..ec3a7a8
--- /dev/null
+++ b/package/v4l2grab/Config.in
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_V4L2GRAB
+ bool "v4l2grab"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libv4l
+ depends on BR2_USE_MMU # libv4l
+ depends on !BR2_STATIC_LIBS # libv4l
+ depends on BR2_INSTALL_LIBSTDCPP # libv4l
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libv4l
+ select BR2_PACKAGE_JPEG
+ select BR2_PACKAGE_LIBV4L
+ help
+ Utility for grabbing JPEGs form V4L2 devices. This tool is
+ similar to v4l2grab available from libv4l contrib directory,
+ but provides additional features such as JPEG output.
+
+ http://www.twam.info/software/v4l2grab-grabbing-jpegs-from-v4l2-devices
+
+comment "v4l2grab needs a toolchain w/ threads, dynamic library, C++ and headers >= 3.0"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
+ || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
diff --git a/package/v4l2grab/v4l2grab.hash b/package/v4l2grab/v4l2grab.hash
new file mode 100644
index 0000000..e0a1797
--- /dev/null
+++ b/package/v4l2grab/v4l2grab.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 5d635dde1a83bd81a84584a62581ea4b17eb462be8a5e1ec04a7a019f3cf1791 v4l2grab-7815752fafb8b797047e819a08a3b6e2f2880846.tar.gz
diff --git a/package/v4l2grab/v4l2grab.mk b/package/v4l2grab/v4l2grab.mk
new file mode 100644
index 0000000..12b4c3f
--- /dev/null
+++ b/package/v4l2grab/v4l2grab.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# v4l2grab
+#
+################################################################################
+
+V4L2GRAB_VERSION = 7815752fafb8b797047e819a08a3b6e2f2880846
+V4L2GRAB_SITE = $(call github,twam,v4l2grab,$(V4L2GRAB_VERSION))
+V4L2GRAB_LICENSE = GPLv2+
+V4L2GRAB_LICENSE_FILE = LICENSE
+# Fetched from github, no pre-generated configure script provided
+V4L2GRAB_AUTORECONF = YES
+V4L2GRAB_DEPENDENCIES = libjpeg libv4l
+
+$(eval $(autotools-package))
--
2.6.3
next prev parent reply other threads:[~2015-12-01 22:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 22:00 [Buildroot] [PATCH 1/2] libv4l: add patches to fix musl build issues, and enable on musl Thomas Petazzoni
2015-12-01 22:00 ` Thomas Petazzoni [this message]
2015-12-01 22:25 ` [Buildroot] [PATCH 2/2] v4l2grab: new package Arnout Vandecappelle
2015-12-09 15:24 ` Viacheslav Volkov
2015-12-18 21:40 ` Thomas Petazzoni
2015-12-18 21:40 ` [Buildroot] [PATCH 1/2] libv4l: add patches to fix musl build issues, and enable on musl Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1449007230-3175-2-git-send-email-thomas.petazzoni@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.