2020-05-02 20:22:45 +00:00
|
|
|
# Maintainer: Thomas Bächler <thomas@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable distcc - configure checks for clang first
|
|
|
|
|
|
|
|
pkgname=v4l-utils
|
2024-08-24 10:31:17 +00:00
|
|
|
pkgver=1.28.1
|
2023-12-05 16:34:36 +00:00
|
|
|
pkgrel=1
|
2020-05-02 20:22:45 +00:00
|
|
|
pkgdesc="Userspace tools and conversion library for Video 4 Linux"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://linuxtv.org/"
|
|
|
|
provides=("libv4l=$pkgver")
|
|
|
|
replaces=('libv4l')
|
|
|
|
conflicts=('libv4l')
|
|
|
|
backup=(etc/rc_maps.cfg)
|
|
|
|
license=('LGPL')
|
2021-10-31 17:46:23 +00:00
|
|
|
options=('!distcc')
|
2023-06-03 19:15:05 +00:00
|
|
|
depends=('hicolor-icon-theme' 'gcc-libs' 'libjpeg-turbo' 'systemd-libs' 'json-c')
|
2023-12-05 16:34:36 +00:00
|
|
|
makedepends=('qt5-base' 'alsa-lib' 'meson' 'clang' 'doxygen' 'libbpf')
|
2024-08-24 10:31:17 +00:00
|
|
|
optdepends=('qt5-base: for qv4l2 and qvidcap' 'alsa-lib: for qv4l2' 'libbpf: for ir-keytable')
|
2023-12-05 16:34:36 +00:00
|
|
|
source=(https://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.xz{,.asc})
|
2024-08-24 10:31:17 +00:00
|
|
|
sha256sums=('0fa075ce59b6618847af6ea191b6155565ccaa44de0504581ddfed795a328a82'
|
2020-05-02 20:22:45 +00:00
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny <gjasny@googlemail.com>
|
|
|
|
|
2023-12-05 16:34:36 +00:00
|
|
|
prepare() {
|
|
|
|
# HACK: inform upstream to make this configurable
|
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
sed -i 's/sbin/bin/' utils/v4l2-dbg/meson.build
|
|
|
|
}
|
2020-05-02 20:22:45 +00:00
|
|
|
|
2023-12-05 16:34:36 +00:00
|
|
|
build() {
|
|
|
|
arch-meson -Dgconv=disabled "${pkgname}-${pkgver}" build
|
|
|
|
meson compile -C build
|
2020-05-02 20:22:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-12-05 16:34:36 +00:00
|
|
|
meson install -C build --destdir "$pkgdir"
|
2020-05-02 20:22:45 +00:00
|
|
|
}
|