25 lines
903 B
Bash
25 lines
903 B
Bash
# Template file for 'libcamera'
|
|
pkgname=libcamera
|
|
version=0.3.2
|
|
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=d2c0a28749ec95b84866bbdad1cd71e7d7309560153f8b369d27c0b1de5b459a
|
|
|
|
libcamera-devel_package() {
|
|
depends="libcamera-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|