mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Maintainer: Thomas Bächler <thomas@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable distcc - configure checks for clang first
|
|
|
|
pkgname=v4l-utils
|
|
pkgver=1.26.1
|
|
pkgrel=1
|
|
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')
|
|
options=('!distcc')
|
|
depends=('hicolor-icon-theme' 'gcc-libs' 'libjpeg-turbo' 'systemd-libs' 'json-c')
|
|
makedepends=('qt5-base' 'alsa-lib' 'meson' 'clang' 'doxygen' 'libbpf')
|
|
optdepends=('qt5-base: for qv4l2 and qvidcap' 'alsa-lib: for qv4l2')
|
|
source=(https://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.xz{,.asc})
|
|
sha256sums=('4a71608c0ef7df2931176989e6d32b445c0bdc1030a2376d929c8ca6e550ec4e'
|
|
'SKIP')
|
|
validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny <gjasny@googlemail.com>
|
|
|
|
prepare() {
|
|
# HACK: inform upstream to make this configurable
|
|
cd "${pkgname}-${pkgver}"
|
|
sed -i 's/sbin/bin/' utils/v4l2-dbg/meson.build
|
|
}
|
|
|
|
build() {
|
|
arch-meson -Dgconv=disabled "${pkgname}-${pkgver}" build
|
|
meson compile -C build
|
|
}
|
|
|
|
package() {
|
|
meson install -C build --destdir "$pkgdir"
|
|
}
|