# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=guvcview pkgver=2.0.6 pkgrel=0 pkgdesc="Webcam viewer" url="http://guvcview.sourceforge.net/" arch="all" license="GPL-3.0-or-later" makedepends="gtk+3.0-dev eudev-dev sdl-dev portaudio-dev ffmpeg-dev gsl-dev v4l-utils-dev libusb-dev linux-headers intltool" subpackages="$pkgname-static $pkgname-libs $pkgname-dev $pkgname-doc $pkgname-lang" source="https://downloads.sourceforge.net/project/guvcview/source/guvcview-src-$pkgver.tar.gz 0001-fix-building-with-musl-libc.patch " options="!check" builddir="$srcdir"/$pkgname-src-$pkgver build() { ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-sdl2 make } package() { make DESTDIR="$pkgdir" install } sha512sums="f73ba0a013f5afadb45c9bf60f723058ee31e99e204c951c49335a8ef9902a2caa752d6d51f6dd20ae960217cc25155e70efe4c49299a95e6780aaf8034078ec guvcview-src-2.0.6.tar.gz 9ab9575bc41acc79581da8d43ef52fc9cf2bf46ef7df97951202e47f5516c38b42ebb715a4e8d6010ac9875c2c9c8cb1912d39282d4a632123424ab516632c98 0001-fix-building-with-musl-libc.patch"