Dep Update
This commit is contained in:
parent
bed181c15d
commit
53a4859b64
@ -1,50 +1,76 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
PYTHON_COMPAT=( python3_{7..13} )
|
|
||||||
|
|
||||||
inherit meson python-any-r1
|
inherit meson
|
||||||
|
|
||||||
DESCRIPTION="Camera support library for Linux"
|
DESCRIPTION="A complex camera support library for Linux, Android, and ChromeOS"
|
||||||
HOMEPAGE="http://libcamera.org"
|
HOMEPAGE="https://libcamera.org/"
|
||||||
SRC_URI="https://github.com/libcamera-org/libcamera/archive/refs/tags/v${PV}.tar.gz"
|
|
||||||
|
SRC_URI="https://github.com/kbingham/libcamera/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
LICENSE="LGPL-2.1+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~x86 ~amd64 ~arm64 ~arm"
|
|
||||||
IUSE="debug doc test udev"
|
|
||||||
|
|
||||||
RDEPEND="
|
#IUSE="debug doc drm gnutls gstreamer jpeg libevent qt5 sdl tiff trace udev unwind v4l2"
|
||||||
>=net-libs/gnutls-3.3:=
|
IUSE="debug drm gnutls gstreamer jpeg libevent qt5 sdl tiff trace udev unwind v4l2"
|
||||||
udev? ( virtual/libudev )
|
REQUIRED_USE="qt5? ( tiff )"
|
||||||
test? ( dev-cpp/gtest )
|
|
||||||
dev-util/lttng-ust
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
${RDEPEND}
|
dev-libs/libyaml:=
|
||||||
dev-libs/openssl
|
dev-python/jinja
|
||||||
$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
|
dev-python/ply
|
||||||
$(python_gen_any_dep 'dev-python/ply[${PYTHON_USEDEP}]')
|
dev-python/pyyaml
|
||||||
$(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]')
|
|| (
|
||||||
$(python_gen_any_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
|
net-libs/gnutls
|
||||||
"
|
dev-libs/openssl
|
||||||
|
)
|
||||||
|
debug? ( dev-libs/elfutils:= )
|
||||||
|
gstreamer? ( media-libs/gstreamer:= )
|
||||||
|
libevent?
|
||||||
|
(
|
||||||
|
dev-libs/libevent:=
|
||||||
|
drm? ( x11-libs/libdrm:= )
|
||||||
|
jpeg? ( media-libs/libjpeg-turbo:= )
|
||||||
|
sdl? ( media-libs/libsdl2:= )
|
||||||
|
)
|
||||||
|
qt5?
|
||||||
|
(
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
)
|
||||||
|
tiff? ( media-libs/tiff:= )
|
||||||
|
trace? ( dev-util/lttng-ust:= )
|
||||||
|
udev? ( virtual/libudev:= )
|
||||||
|
unwind? ( sys-libs/libunwind:= )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
trace? ( dev-util/lttng-tools )
|
||||||
|
"
|
||||||
|
#BDEPEND="
|
||||||
|
# doc?
|
||||||
|
# (
|
||||||
|
# app-text/doxygen[dot]
|
||||||
|
# dev-python/sphinx
|
||||||
|
# dev-texlive/texlive-latexextra
|
||||||
|
# )
|
||||||
|
#"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local emesonargs=(
|
local emesonargs=(
|
||||||
$(meson_feature doc documentation)
|
# Broken for >=dev-pyhon/sphinx-7
|
||||||
$(meson_use test)
|
# $(meson_feature doc documentation)
|
||||||
$(meson_use debug)
|
-Ddocumentation=disabled
|
||||||
$(meson_feature udev)
|
$(meson_feature libevent cam)
|
||||||
|
$(meson_feature gstreamer)
|
||||||
|
$(meson_feature qt5 qcam)
|
||||||
|
$(meson_feature trace tracing)
|
||||||
|
$(meson_use v4l2)
|
||||||
)
|
)
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
meson_src_configure "-Dpipelines=uvcvideo,ipu3"
|
||||||
meson_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
meson_src_install
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user