void-packages/srcpkgs/guvcview/template

22 lines
809 B
Bash

# Template file for 'guvcview'
pkgname=guvcview
version=2.0.5
revision=3
wrksrc="${pkgname}-src-${version}"
build_style=gnu-configure
configure_args="--disable-static --disable-debian-menu"
hostmakedepends="pkg-config intltool"
makedepends="eudev-libudev-devel gtk+3-devel SDL2-devel ffmpeg-devel libusb-devel
pulseaudio-devel v4l-utils-devel portaudio-devel gsl-devel"
depends="desktop-file-utils"
short_desc="Simple GTK interface for capturing and viewing video from UVC devices"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://guvcview.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}-src-${version}.tar.gz"
checksum=a86beb5993a8449ed3cbcc6ec2a238ef0b90138b6cbe2afab4456d37f44c41a0
post_extract() {
sed '31a#include <locale.h>' -i guvcview/guvcview.c
}