makedepends=(systemd libjpeg-turbo2 alsa-lib doxygen)

description="Userspace tools and conversion library for Video 4 Linux"
url="http://freshmeat.net/projects/libv4l"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=v4l-utils
version=1.32.0
release=3

source=(https://linuxtv.org/downloads/v4l-utils/${name}-${version}.tar.xz)

build() {
  mkdir build
  cd    build
  meson --prefix=/usr \
        --libdir=/usr/lib \
        -Dgconv=disabled \
        ../$name-$version
  ninja
  DESTDIR=$PKG ninja install
}
