diff --git a/extra/v4l-utils/PKGBUILD b/extra/v4l-utils/PKGBUILD new file mode 100644 index 000000000..0ccbe6353 --- /dev/null +++ b/extra/v4l-utils/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Thomas Bächler + +# ALARM: Kevin Mihelich +# - disable distcc - configure checks for clang first + +pkgname=v4l-utils +pkgver=1.18.0 +pkgrel=2 +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}) +sha256sums=('6cb60d822eeed20486a03cc23e0fc65956fbc1e85e0c1a7477f68bbd9802880d' + 'SKIP') +validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny + +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" +}