summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-05-02 15:22:34 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-05-02 16:36:16 +0300
commitbfa262d1e37b0a6500756c37cf766ebb52f8ff94 (patch)
tree35bd7770bc405b97db46e087d0f94550593ed537
parent83f8c09c2f67faad5acad6f51db2ddb66a135c0a (diff)
package: gentoo: Add libcamera ebuild
Add live .ebuild file for libcamera. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--package/gentoo/media-libs/libcamera/libcamera-9999.ebuild34
1 files changed, 34 insertions, 0 deletions
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 00000000..fed2b409
--- /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
+}