From patchwork Wed Dec 9 15:24:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volkov Viacheslav X-Patchwork-Id: 554690 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id BE02B14030F for ; Thu, 10 Dec 2015 02:24:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=inbox.ru header.i=@inbox.ru header.b=jo+6eQDU; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5C39DA59B7; Wed, 9 Dec 2015 15:24:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EQt3TnA1Thd7; Wed, 9 Dec 2015 15:24:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9CD87A5A56; Wed, 9 Dec 2015 15:24:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id CD1E31C0FEC for ; Wed, 9 Dec 2015 15:24:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C93D5A5A56 for ; Wed, 9 Dec 2015 15:24:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QuO8m_kbXYtU for ; Wed, 9 Dec 2015 15:24:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [94.100.177.106]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 07E51A59B7 for ; Wed, 9 Dec 2015 15:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=gpVL21O3i1w0dpxp0IcBAh/Q4K1DM9Pf3oFASpiNjhU=; b=jo+6eQDUl+lQ0VXUCZNuEnwCxAKuNFwby5zrlcOxKcYbRVaAvAYWPuy/Gxud/09nCRF6KvI/j0I+WC7vFk1FNEyCD5rTGhnfdPNVoCQyc3P3JIpCK/92TQU7LODo5rY+ZVyCT5Tp418Y149sDEzfdpg5hQ80FfvFkof52CW0/Kk=; Received: from ip-91-219-66-11.spb.avantel.ru ([91.219.66.11]:53832 helo=macsv.rost.lan) by smtp46.i.mail.ru with esmtpa (envelope-from ) id 1a6gbZ-0005kE-LD; Wed, 09 Dec 2015 18:24:34 +0300 To: buildroot@uclibc.org References: <1449007230-3175-1-git-send-email-thomas.petazzoni@free-electrons.com> <1449007230-3175-2-git-send-email-thomas.petazzoni@free-electrons.com> From: Viacheslav Volkov X-Enigmail-Draft-Status: N1110 Message-ID: <566847AA.3040401@inbox.ru> Date: Wed, 9 Dec 2015 18:24:26 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1449007230-3175-2-git-send-email-thomas.petazzoni@free-electrons.com> X-Mras: Ok Cc: Thomas Petazzoni Subject: Re: [Buildroot] [PATCH 2/2] v4l2grab: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Volkov Viacheslav change version and license [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 Signed-off-by: Thomas Petazzoni Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- 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 -- 2.6.3 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 568d51512107226dab1ac809ab1ed4d544ce3f8f505b62c3b2177fb643c8157b v4l2grab-0abed72532bee02e545a1924b6883c839d50febf.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 = 0abed72532bee02e545a1924b6883c839d50febf +V4L2GRAB_SITE = $(call github,twam,v4l2grab,$(V4L2GRAB_VERSION)) +V4L2GRAB_LICENSE = GPLv2+ +V4L2GRAB_LICENSE_FILE = LICENSE.md +# Fetched from github, no pre-generated configure script provided +V4L2GRAB_AUTORECONF = YES +V4L2GRAB_DEPENDENCIES = libjpeg libv4l + +$(eval $(autotools-package))