void-packages/srcpkgs/guvcview/template
2022-02-20 12:48:15 +01:00

27 lines
953 B
Bash

# Template file for 'guvcview'
pkgname=guvcview
version=2.0.7
revision=1
create_wrksrc=yes
build_style=gnu-configure
configure_args="--disable-static --disable-debian-menu"
hostmakedepends="pkg-config intltool autoconf automake libtool glib-devel"
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="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://guvcview.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-${version}.tar.bz2"
checksum=f47d51fbd06e44eeaa1a82f4a153c927527c90d94514197a70b2956028cc8ad4
post_patch() {
sed '31a#include <locale.h>' -i guvcview/guvcview.c
# add missing EOL in this file to fix do_check()
echo >> po/POTFILES.in
}
pre_configure() {
autoreconf -fi
}