New package: libcamera-0.2.0

This commit is contained in:
cinerea0 2024-04-15 21:17:19 -04:00 committed by cinerea0
parent af13f92552
commit 1582f4cc84
3 changed files with 27 additions and 0 deletions

View File

@ -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

1
srcpkgs/libcamera-devel Symbolic link
View File

@ -0,0 +1 @@
libcamera

View File

@ -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 <ognissanti@hotmail.se>"
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"
}
}