28 lines
553 B
Bash
28 lines
553 B
Bash
# Copyright 2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit git-r3 meson
|
|
|
|
DESCRIPTION="A complex camera support library for Linux, Android, and ChromeOS"
|
|
HOMEPAGE="https://libcamera.org/"
|
|
EGIT_REPO_URI="git://linuxtv.org/libcamera.git"
|
|
|
|
LICENSE="LGPL"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
IUSE="v4l2"
|
|
|
|
DEPEND="dev-python/yaml and dev-python/ply"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="${DEPEND}"
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
$(meson_use v4l2)
|
|
)
|
|
meson_src_configure "-Dpipelines=uvcvideo,ipu3"
|
|
}
|
|
|
|
|