From 6861a9a5f0a982975a9abe55f0af9876bfc29807 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Fri, 24 May 2024 16:01:57 +0200 Subject: [PATCH] Version bump --- media-libs/libcamera/Manifest | 1 + media-libs/libcamera/libcamera-0.3.0.ebuild | 46 +++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 media-libs/libcamera/Manifest create mode 100644 media-libs/libcamera/libcamera-0.3.0.ebuild diff --git a/media-libs/libcamera/Manifest b/media-libs/libcamera/Manifest new file mode 100644 index 0000000..c1599b7 --- /dev/null +++ b/media-libs/libcamera/Manifest @@ -0,0 +1 @@ +DIST v0.3.0.tar.gz 1540043 BLAKE2B 334357a92726189bc6a8c8fca2a74501183ea77cd111d6bd714dd9a178cc68448fe09612ea3300044cb27da909821993c3e5c7032fa82b81ba740601070ddae5 SHA512 b55228ddbc9beed112f60900dd66c502485badf55f9462d2dd7c0882f2a08012bc78a05a4c8fd0d94718aab2579b6c28ab938b36648678abc4f1f59c2ca93729 diff --git a/media-libs/libcamera/libcamera-0.3.0.ebuild b/media-libs/libcamera/libcamera-0.3.0.ebuild new file mode 100644 index 0000000..1430691 --- /dev/null +++ b/media-libs/libcamera/libcamera-0.3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{7..10} ) + +inherit meson python-any-r1 + +DESCRIPTION="Camera support library for Linux" +HOMEPAGE="http://libcamera.org" +SRC_URI="https://github.com/libcamera-org/libcamera/archive/refs/tags/v${PV}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~arm64 ~arm" +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}]') + $(python_gen_any_dep 'dev-python/ply[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/jinja[${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 +}