From patchwork Thu May 2 13:02:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 1146 Return-Path: Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id AC4D360E56 for ; Thu, 2 May 2019 15:01:10 +0200 (CEST) X-Originating-IP: 2.224.242.101 Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 25B4E40024; Thu, 2 May 2019 13:01:09 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Thu, 2 May 2019 15:02:01 +0200 Message-Id: <20190502130201.15132-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] package: gentoo: Add libcamera ebuild X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 13:01:10 -0000 Add live .ebuild file for libcamera. As the ebuild is used for building in ChromeOS with clang, temporarly point it to a branch which includes a few patches to work-around build-time issues with the clang9 provided libstdc++ implementation. Signed-off-by: Jacopo Mondi --- package/gentoo/libcamera-9999.ebuild | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/gentoo/libcamera-9999.ebuild diff --git a/package/gentoo/libcamera-9999.ebuild b/package/gentoo/libcamera-9999.ebuild new file mode 100644 index 000000000000..6d2e6fee67a4 --- /dev/null +++ b/package/gentoo/libcamera-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 2019 Google Inc. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit git-r3 meson + +DESCRIPTION="Camera support library for Linux" +HOMEPAGE="http://libcamera.org" +EGIT_REPO_URI="git-libcamera-org@git.libcamera.org:libcamera/libcamera.git" +EGIT_BRANCH="pinchartl/clang" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="*" +IUSE="udev" + +RDEPEND="udev? ( virtual/libudev )" +DEPEND="${RDEPEND}" + +src_configure() { + local emesonargs=( + -Ddocumentation=false + -Dtests=false + ) + meson_src_configure +} + +src_compile() { + meson_src_compile +} + +src_install() { + meson_src_install +}