mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 16:06:42 +02:00
52 lines
1.4 KiB
Text
52 lines
1.4 KiB
Text
# Contributor: Zach DeCook <zachdecook@librem.one>
|
|
maintainer="Krystian Chachuła <krystian@krystianch.com>"
|
|
pkgname=rpicam-apps
|
|
pkgver=1.5.3
|
|
pkgrel=0
|
|
pkgdesc="Suite of libcamera-based applications to drive the Raspberry Pi cameras"
|
|
url="https://github.com/raspberrypi/rpicam-apps"
|
|
arch="aarch64 armhf armv7" # libcamera by default only includes rpi/vc4 pipeline on these archs
|
|
license="BSD-2-Clause"
|
|
depends="libcamera-raspberrypi"
|
|
makedepends="
|
|
boost-dev
|
|
ffmpeg-dev
|
|
libcamera-dev
|
|
libdrm-dev
|
|
libexif-dev
|
|
libjpeg-turbo-dev
|
|
libpng-dev
|
|
meson
|
|
musl-dev
|
|
tiff-dev
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/raspberrypi/rpicam-apps/archive/v$pkgver/rpicam-apps-v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Denable_libav=enabled \
|
|
-Denable_drm=enabled \
|
|
-Denable_egl=disabled \
|
|
-Denable_qt=disabled \
|
|
-Denable_opencv=disabled \
|
|
-Denable_tflite=disabled \
|
|
-Dneon_flags=auto \
|
|
-Denable_hailo=disabled \
|
|
-Ddownload_hailo_models=false \
|
|
build .
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C build
|
|
install -Dm644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
|
|
}
|
|
|
|
sha512sums="
|
|
0cf9f29ca474ec325749f518937853af8216c6b1da12d9a93f87185b8b70feb47a3c1d047faf438ea9b5b46da4bb7bb1ccf777683c85492e76e5eee9220feb18 rpicam-apps-v1.5.3.tar.gz
|
|
"
|