Message ID | 20190502130201.15132-1-jacopo@jmondi.org |
---|---|
State | Superseded |
Headers | show |
Series |
|
Related | show |
Hi Jacopo, Thank you for the patch. On Thu, May 02, 2019 at 03:02:01PM +0200, Jacopo Mondi wrote: > 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. I think we should point it to master and an out-if-tree patch on top to point it to another branch temporarily. Please note that the ebuild can also be used on gentoo, so I would prefer keeping the Chrome OS workarounds separate, at least for now. > Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> > --- > package/gentoo/libcamera-9999.ebuild | 34 ++++++++++++++++++++++++++++ How about package/gentoo/media-libs/libcamera/libcamera-9999.ebuild to comply with the gentoo portage tree organisation ? > 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" Please point to the public tree on linuxtv.org. > +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 > +}
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 +}
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 <jacopo@jmondi.org> --- package/gentoo/libcamera-9999.ebuild | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/gentoo/libcamera-9999.ebuild