pkgname=rpicam-apps pkgver=1.4.3 pkgrel=2 pkgdesc="Camera utilities for the Raspberry Pi" arch=('aarch64') url='https://github.com/raspberrypi/rpicam-apps' source=("https://github.com/raspberrypi/rpicam-apps/releases/download/v${pkgver}/rpicam-apps-${pkgver}.tar.xz") sha256sums=("c5415249eb8216a5c7063d31c713ba84cac88103f65ae0dcf097f1839156102e") depends=(boost libdrm libexif ffmpeg) makedepends=(meson ninja) optdepends=() prepare() { cd rpicam-apps-${pkgver} 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-${pkgver} meson compile -C build } package() { cd rpicam-apps-${pkgver} DESTDIR="$pkgdir" ninja -C build install }