Files
external_libcamera/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild
Laurent Pinchart 40f5fddca7 libcamera: Standardize URLs to git repositories
When the libcamera project was started, we had no public git tree hosted
on git.libcamera.org. The problem has been addressed a while ago, and
the git.linuxtv.org libcamera repository is now a mirror of the main git
tree. The mirror is useful to benefit from the linuxtv.org automated
compile tests, but it can also confuse users who don't know where the
official version is. To try and clarify this, use the git.libcamera.org
URL consistently through the project.

This doesn't void the validatity of the linuxtv.org repository which
will continue to mirror the libcamera.org repository.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
2021-09-24 13:25:33 +03:00

46 lines
790 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="https://git.libcamera.org/libcamera/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
}