Message ID | 20190502132234.18446-1-jacopo@jmondi.org |
---|---|
State | Accepted |
Commit | bfa262d1e37b0a6500756c37cf766ebb52f8ff94 |
Headers | show |
Series |
|
Related | show |
Hi Jacopo, Thank you for the patch. On Thu, May 02, 2019 at 03:22:34PM +0200, Jacopo Mondi wrote: > Add live .ebuild file for libcamera. > > Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Successfully tested on Gentoo :-) Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > --- > .../libcamera/libcamera-9999.ebuild | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 package/gentoo/media-libs/libcamera/libcamera-9999.ebuild > > diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild > new file mode 100644 > index 000000000000..fed2b409a91b > --- /dev/null > +++ b/package/gentoo/media-libs/libcamera/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://linuxtv.org/libcamera.git" > +EGIT_BRANCH="master" > + > +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/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild new file mode 100644 index 000000000000..fed2b409a91b --- /dev/null +++ b/package/gentoo/media-libs/libcamera/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://linuxtv.org/libcamera.git" +EGIT_BRANCH="master" + +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. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> --- .../libcamera/libcamera-9999.ebuild | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/gentoo/media-libs/libcamera/libcamera-9999.ebuild