25 lines
903 B
Bash
25 lines
903 B
Bash
# 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"
|
|
}
|
|
}
|