Upstreamed
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST libcamera-0.5.1.tar.gz 1979977 BLAKE2B e58e3d2e1874e8c08acaf534b0baed40a3d84d8cace768aa8393d5cbb2a9c2ae4f3e3fbe97b6691ba95fbea333a26c58151027a63c4049a17ed3465a34cd4a00 SHA512 94997c5123912446e5a73a1d5fd1d14f280fa1257f80e06571fe20280bec4488eda0f6171b3662e733a82308affdfaf21adb229f62016b3ae55f9b73b8fa8cc6
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="A complex camera support library for Linux, Android, and ChromeOS"
|
||||
HOMEPAGE="https://libcamera.org/"
|
||||
|
||||
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+"
|
||||
SLOT="0"
|
||||
|
||||
#IUSE="debug doc drm gnutls gstreamer jpeg libevent qt5 sdl tiff trace udev unwind v4l2"
|
||||
IUSE="debug drm gnutls gstreamer jpeg libevent qt5 sdl tiff trace udev unwind v4l2"
|
||||
REQUIRED_USE="qt5? ( tiff )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libyaml:=
|
||||
dev-python/jinja2
|
||||
dev-python/ply
|
||||
dev-python/pyyaml
|
||||
|| (
|
||||
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() {
|
||||
local emesonargs=(
|
||||
# Broken for >=dev-pyhon/sphinx-7
|
||||
# $(meson_feature doc documentation)
|
||||
-Ddocumentation=disabled
|
||||
$(meson_feature libevent cam)
|
||||
$(meson_feature gstreamer)
|
||||
$(meson_feature qt5 qcam)
|
||||
$(meson_feature trace tracing)
|
||||
$(meson_use v4l2)
|
||||
)
|
||||
|
||||
meson_src_configure "-Dpipelines=rkisp1"
|
||||
}
|
||||
Reference in New Issue
Block a user