From 1582f4cc84883f6f3f094aed3f4fe4277c6f352a Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Mon, 15 Apr 2024 21:17:19 -0400 Subject: [PATCH] New package: libcamera-0.2.0 --- common/shlibs | 2 ++ srcpkgs/libcamera-devel | 1 + srcpkgs/libcamera/template | 24 ++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 120000 srcpkgs/libcamera-devel create mode 100644 srcpkgs/libcamera/template diff --git a/common/shlibs b/common/shlibs index 61a28fdc5b7..9df69605150 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4303,3 +4303,5 @@ libliftoff.so.0 libliftoff-0.4.1_1 libscfg.so libscfg-0.1.1_1 libmsgraph-0.so.1 msgraph-0.2.1_1 libgtk-session-lock.so.0 gtk-session-lock-0.2.0_1 +libcamera.so.0.2 libcamera-0.2.0_1 +libcamera-base.so.0.2 libcamera-0.2.0_1 diff --git a/srcpkgs/libcamera-devel b/srcpkgs/libcamera-devel new file mode 120000 index 00000000000..40d2c1b040e --- /dev/null +++ b/srcpkgs/libcamera-devel @@ -0,0 +1 @@ +libcamera \ No newline at end of file diff --git a/srcpkgs/libcamera/template b/srcpkgs/libcamera/template new file mode 100644 index 00000000000..d552afde852 --- /dev/null +++ b/srcpkgs/libcamera/template @@ -0,0 +1,24 @@ +# Template file for 'libcamera' +pkgname=libcamera +version=0.2.0 +revision=1 +build_style=meson +configure_args="-Dgstreamer=enabled -Dwerror=false -Dv4l2=true" +hostmakedepends="pkg-config python3-yaml python3-ply python3-Jinja2" +makedepends="openssl-devel libevent-devel gst-plugins-base1-devel gstreamer1-devel libyaml-devel" +short_desc="Complex camera support library for Linux, Android, and ChromeOS" +maintainer="Damiano Ognissanti " +license="LGPL-2.1-or-later, GPL-2.0-or-later" +homepage="https://libcamera.org/" +distfiles="https://github.com/libcamera-org/libcamera/archive/refs/tags/v${version}.tar.gz" +checksum=7192ab939c98d9766877f65fb66de32f274e28994e249f5bee91957559d2e436 + +libcamera-devel_package() { + depends="libcamera-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}