Files
external_libcamera/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild
T
Laurent Pinchart a000a1f6e3 package: gentoo: Select build type through debug USE flag
Make the build type selectable between debug and plain through the debug
USE flag.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-08-28 00:30:06 +03:00

46 lines
772 B
Bash

# SPDX-License-Identifier: GPL-2.0-only
# Copyright 2019 Google Inc.
EAPI=6
PYTHON_COMPAT=( python3_{7..10} )
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="debug doc test udev"
RDEPEND="
>=net-libs/gnutls-3.3:=
udev? ( virtual/libudev )
"
DEPEND="
${RDEPEND}
dev-libs/openssl
$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
"
src_configure() {
local emesonargs=(
$(meson_feature doc documentation)
$(meson_use test)
--buildtype $(usex debug debug plain)
)
meson_src_configure
}
src_compile() {
meson_src_compile
}
src_install() {
meson_src_install
}