From patchwork Tue Mar 19 11:03:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 1058345 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="gZU0qPcS"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44Nqt61tKTz9s7h for ; Tue, 19 Mar 2019 22:03:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8754A8751C; Tue, 19 Mar 2019 11:03:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Et0FPgxRtwi; Tue, 19 Mar 2019 11:03:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 83A8B8742F; Tue, 19 Mar 2019 11:03:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6710C1BF232 for ; Tue, 19 Mar 2019 11:03:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5FD3986C5C for ; Tue, 19 Mar 2019 11:03:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 402YT2zo+VHo for ; Tue, 19 Mar 2019 11:03:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by whitealder.osuosl.org (Postfix) with ESMTPS id CD31086B90 for ; Tue, 19 Mar 2019 11:03:32 +0000 (UTC) Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B9C3933A; Tue, 19 Mar 2019 12:03:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1552993410; bh=6SSrZqTkkCgdckEt8rvc8S8zdKXYJt1wiSsY/P8WBok=; h=From:To:Cc:Subject:Date:From; b=gZU0qPcSmkqf6GkVlgAxhakHAJ58Dwnc0q1HUQQKiu6RwmKsgkPmUhvA06JXeQhOk z4pFJxwY3YrSD7F2equPqaMf8l05QB3O2A4GrpDFef4w74CpggReqMuIC2KCcrylIL fGrgxPGYLlTCH2uOOjNZsxcC5oQIB+Uay6IYENIY= From: Kieran Bingham To: buildroot@buildroot.org Date: Tue, 19 Mar 2019 11:03:26 +0000 Message-Id: <20190319110326.15153-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [Buildroot] [RFC PATCH] package/libcamera: Add libcamera package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: LibCamera Devel , Kieran Bingham Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" http://libcamera.org/ Cameras are complex devices that need heavy hardware image processing operations. Control of the processing is based on advanced algorithms that must run on a programmable processor. This has traditionally been implemented in a dedicated MCU in the camera, but in embedded devices algorithms have been moved to the main CPU to save cost. Blurring the boundary between camera devices and Linux often left the user with no other option than a vendor-specific closed-source solution. To address this problem the Linux media community has very recently started collaboration with the industry to develop a camera stack that will be open-source-friendly while still protecting vendor core IP. libcamera was born out of that collaboration and will offer modern camera support to Linux-based systems, including traditional Linux distributions, ChromeOS and Android. Signed-off-by: Kieran Bingham --- We do not yet have an official 'release', so I'm sending this as an early RFC, with LIBCAMERA_VERSION = origin/master and no .hash file. Is this still suitable to go in and be updated when we have a tagged release later? DEVELOPERS | 3 +++ package/Config.in | 1 + package/libcamera/Config.in | 11 +++++++++++ package/libcamera/libcamera.mk | 13 +++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/libcamera/Config.in create mode 100644 package/libcamera/libcamera.mk diff --git a/DEVELOPERS b/DEVELOPERS index c91325e28486..5bcdf208a62b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1260,6 +1260,9 @@ F: package/ramsmp/ N: Kevin Joly F: package/libgphoto2/ +N: Kieran Bingham +F: package/libcamera/ + N: Koen Martens F: package/capnproto/ F: package/linuxconsoletools/ diff --git a/package/Config.in b/package/Config.in index b5321aeb49c9..a9d25e58b202 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1472,6 +1472,7 @@ menu "Multimedia" source "package/libass/Config.in" source "package/libbdplus/Config.in" source "package/libbluray/Config.in" + source "package/libcamera/Config.in" source "package/libdcadec/Config.in" source "package/libdvbcsa/Config.in" source "package/libdvbpsi/Config.in" diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in new file mode 100644 index 000000000000..c80f58c00f17 --- /dev/null +++ b/package/libcamera/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBCAMERA + bool "libcamera" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 + depends on BR2_PACKAGE_HAS_UDEV + help + libcamera provides a software stack to support complex devices that + need heavy hardware image processing operations. + + http://www.libcamera.org/ diff --git a/package/libcamera/libcamera.mk b/package/libcamera/libcamera.mk new file mode 100644 index 000000000000..4d908c7a3645 --- /dev/null +++ b/package/libcamera/libcamera.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# libcamera +# +################################################################################ + +LIBCAMERA_VERSION = origin/master +LIBCAMERA_SITE = git://linuxtv.org/libcamera.git +LIBCAMERA_SITE_METHOD = git +LIBCAMERA_DEPENDENCIES = udev +LIBCAMERA_LICENSE = LGPL-2.0+ + +$(eval $(meson-package))