summaryrefslogtreecommitdiff
path: root/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild
blob: b336932ef32101761b1d7f365181e74c85317878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# SPDX-License-Identifier: GPL-2.0-only
# Copyright 2019 Google Inc.

EAPI=6
PYTHON_COMPAT=( python3_{5,6,7} )

inherit git-r3 meson python-any-r1

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}
	$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
"

src_configure() {
	local emesonargs=(
		-Ddocumentation=false
		-Dtests=false
	)
	meson_src_configure
}

src_compile() {
	meson_src_compile
}

src_install() {
	meson_src_install
}