PKGBUILDs/extra/v4l-utils/PKGBUILD

38 lines
1.1 KiB
Bash
Raw Normal View History

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
2020-05-03 18:37:34 +00:00
pkgver=1.18.1
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')
makedepends=('qt5-base' 'alsa-lib')
optdepends=('qt5-base: for qv4l2' 'alsa-lib: for qv4l2')
options=('!distcc')
depends=('hicolor-icon-theme' 'gcc-libs' 'sysfsutils' 'libjpeg-turbo')
source=(https://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2{,.asc})
2020-05-03 18:37:34 +00:00
sha256sums=('25fc42253722401f8742f04dc50a444dfa9b75378e7d09b55035bcbb44c5f342'
2020-05-02 20:22:45 +00:00
'SKIP')
validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny <gjasny@googlemail.com>
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
MAKEFLAGS="-j1" make install DESTDIR="${pkgdir}/"
rm "${pkgdir}/usr/bin/ivtv-ctl"
}