pkgbase = libcamera
	pkgdesc = A complex camera support library for Linux, Android, and ChromeOS
	pkgver = 0.3.2
	pkgrel = 1
	url = https://libcamera.org/
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	makedepends = doxygen
	makedepends = git
	makedepends = glib2
	makedepends = graphviz
	makedepends = gst-plugins-base
	makedepends = gtest
	makedepends = libdrm
	makedepends = libjpeg-turbo
	makedepends = libtiff
	makedepends = libyaml
	makedepends = meson
	makedepends = pybind11
	makedepends = python-jinja
	makedepends = python-ply
	makedepends = python-sphinx
	makedepends = python-pyyaml
	makedepends = qt6-base
	makedepends = qt6-tools
	makedepends = sdl2
	makedepends = systemd
	makedepends = texlive-core
	source = git+https://git.libcamera.org/libcamera/libcamera.git#tag=v0.3.2
	sha512sums = 68d3f1b9353700452005be64223133ed0bddb0af15806df5c96c81b090ddd8adb8fdddf5430ed783bc6e89e7cb5910db5a0e20cb09734e995ab7199e884ba357
	b2sums = 593acb5ed5bffe932f4bc9890c1010683dc332284393f03acddccdd9de01f082de903ec4b51a53f8f415ba70435289db04fb571bbf3b363380c8cf40276aac71

pkgname = libcamera
	license = Apache-2.0
	license = CC0-1.0
	license = GPL-2.0-only WITH Linux-syscall-note
	license = GPL-2.0-or-later
	license = LGPL-2.1-or-later
	license = GPL-2.0-or-later WITH Linux-syscall-note OR BSD-3-Clause
	license = GPL-2.0-or-later WITH Linux-syscall-note OR MIT
	depends = gcc-libs
	depends = glibc
	depends = gnutls
	depends = libcamera-ipa
	depends = libelf
	depends = libunwind
	depends = libyaml
	depends = sh
	depends = systemd-libs
	depends = libudev.so
	optdepends = gst-plugin-libcamera: GStreamer plugin
	optdepends = libcamera-docs: for documentation
	optdepends = libcamera-tools: for applications
	provides = libcamera.so
	provides = libcamera-base.so

pkgname = libcamera-docs
	pkgdesc = A complex camera support library for Linux, Android, and ChromeOS - documentation
	license = CC-BY-4.0
	license = CC-BY-SA-4.0
	license = CC0-1.0

pkgname = libcamera-ipa
	pkgdesc = A complex camera support library for Linux, Android, and ChromeOS - signed IPA
	license = BSD-2-Clause
	license = CC-BY-SA-4.0
	license = CC0-1.0
	license = GPL-2.0-or-later
	license = LGPL-2.1-or-later
	depends = gcc-libs
	depends = glibc
	depends = libcamera
	depends = libcamera.so
	depends = libcamera-base.so
	options = !strip

pkgname = libcamera-tools
	pkgdesc = A complex camera support library for Linux, Android, and ChromeOS - tools
	license = BSD-2-Clause
	license = CC0-1.0
	license = GPL-2.0-or-later
	license = LGPL-2.1-or-later
	depends = gcc-libs
	depends = glibc
	depends = gtest
	depends = libcamera
	depends = libcamera.so
	depends = libcamera-base.so
	depends = libdrm
	depends = libevent
	depends = libevent-2.1.so
	depends = libevent_pthreads-2.1.so
	depends = libjpeg-turbo
	depends = libjpeg.so
	depends = libtiff
	depends = libtiff.so
	depends = libyaml
	depends = qt6-base
	depends = sdl2
	conflicts = libcamera-tests<0.0.1-2
	replaces = libcamera-tests<0.0.1-2

pkgname = gst-plugin-libcamera
	pkgdesc = Multimedia graph framework - libcamera plugin
	license = CC0-1.0
	license = LGPL-2.1-or-later
	depends = gcc-libs
	depends = glibc
	depends = glib2
	depends = libglib-2.0.so
	depends = libgobject-2.0.so
	depends = gstreamer
	depends = gst-plugins-base-libs
	depends = libcamera
	depends = libcamera.so
	depends = libcamera-base.so

pkgname = python-libcamera
	pkgdesc = A complex camera support library for Linux, Android, and ChromeOS - Python integration
	license = CC0-1.0
	license = LGPL-2.1-or-later
	depends = gcc-libs
	depends = glibc
	depends = libcamera
	depends = python
