[{"id":1548,"web_url":"https://patchwork.libcamera.org/comment/1548/","msgid":"<20190502131611.GQ4888@pendragon.ideasonboard.com>","date":"2019-05-02T13:16:11","subject":"Re: [libcamera-devel] [PATCH] package: gentoo: Add libcamera ebuild","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"Hi Jacopo,\n\nThank you for the patch.\n\nOn Thu, May 02, 2019 at 03:02:01PM +0200, Jacopo Mondi wrote:\n> Add live .ebuild file for libcamera.\n> \n> As the ebuild is used for building in ChromeOS with clang, temporarly\n> point it to a branch which includes a few patches to work-around\n> build-time issues with the clang9 provided libstdc++ implementation.\n\nI think we should point it to master and an out-if-tree patch on top to\npoint it to another branch temporarily. Please note that the ebuild can\nalso be used on gentoo, so I would prefer keeping the Chrome OS\nworkarounds separate, at least for now.\n\n> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>\n> ---\n>  package/gentoo/libcamera-9999.ebuild | 34 ++++++++++++++++++++++++++++\n\nHow about package/gentoo/media-libs/libcamera/libcamera-9999.ebuild to\ncomply with the gentoo portage tree organisation ?\n\n>  1 file changed, 34 insertions(+)\n>  create mode 100644 package/gentoo/libcamera-9999.ebuild\n> \n> diff --git a/package/gentoo/libcamera-9999.ebuild b/package/gentoo/libcamera-9999.ebuild\n> new file mode 100644\n> index 000000000000..6d2e6fee67a4\n> --- /dev/null\n> +++ b/package/gentoo/libcamera-9999.ebuild\n> @@ -0,0 +1,34 @@\n> +# Copyright 2019 Google Inc.\n> +# Distributed under the terms of the GNU General Public License v2\n> +\n> +EAPI=6\n> +inherit git-r3 meson\n> +\n> +DESCRIPTION=\"Camera support library for Linux\"\n> +HOMEPAGE=\"http://libcamera.org\"\n> +EGIT_REPO_URI=\"git-libcamera-org@git.libcamera.org:libcamera/libcamera.git\"\n\nPlease point to the public tree on linuxtv.org.\n\n> +EGIT_BRANCH=\"pinchartl/clang\"\n> +\n> +LICENSE=\"LGPL-2.1+\"\n> +SLOT=\"0\"\n> +KEYWORDS=\"*\"\n> +IUSE=\"udev\"\n> +\n> +RDEPEND=\"udev? ( virtual/libudev )\"\n> +DEPEND=\"${RDEPEND}\"\n> +\n> +src_configure() {\n> +\tlocal emesonargs=(\n> +\t\t-Ddocumentation=false\n> +\t\t-Dtests=false\n> +\t)\n> +\tmeson_src_configure\n> +}\n> +\n> +src_compile() {\n> +\tmeson_src_compile\n> +}\n> +\n> +src_install() {\n> +\tmeson_src_install\n> +}","headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3F14C60E56\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  2 May 2019 15:16:25 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 7FF342DF;\n\tThu,  2 May 2019 15:16:24 +0200 (CEST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1556802984;\n\tbh=2f1St79xIoQwxwj+abvKt2vUqJSWU4yAs9OFxXlbA44=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=Rn3sIjtfGTZhH2FwyOpDWjUNQAiy7WPmJUpb/0NgxEYBQJxRuE0UrGAu/6nSxkgTW\n\t9a656+ElMe+N9CsfOEnpfwdU6OiQ25t+5OfKou9oWoYtwauThQq0eUmSyfBSvWUsvQ\n\t1ufh8GwYrSqyAPyI5a13og6/FdIIw00AVX36ASdw=","Date":"Thu, 2 May 2019 16:16:11 +0300","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"Jacopo Mondi <jacopo@jmondi.org>","Cc":"libcamera-devel@lists.libcamera.org","Message-ID":"<20190502131611.GQ4888@pendragon.ideasonboard.com>","References":"<20190502130201.15132-1-jacopo@jmondi.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20190502130201.15132-1-jacopo@jmondi.org>","User-Agent":"Mutt/1.10.1 (2018-07-13)","Subject":"Re: [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":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Thu, 02 May 2019 13:16:25 -0000"}}]