pkgname=rpicam-apps pkgver=0.2.0 pkgrel=1 pkgdesc="Camera utilities for the Raspberry Pi" arch=('aarch64') url='https://github.com/raspberrypi/libcamera' depends=(boost libdrm libexif) makedepends=(git meson ninja cmake) optdepends=() prepare() { git clone https://github.com/raspberrypi/rpicam-apps.git cd rpicam-apps mkdir build arch-meson build \ --buildtype=release \ --wrap-mode default \ -Denable_libav=true \ -Denable_drm=true \ -Denable_egl=true \ -Denable_qt=true \ -Denable_opencv=false \ -Denable_tflite=false } build() { cd rpicam-apps meson compile -C build } package() { cd rpicam-apps DESTDIR="$pkgdir" ninja -C build install }