27 lines
936 B
Bash
27 lines
936 B
Bash
# Template file for 'guvcview'
|
|
pkgname=guvcview
|
|
version=2.1.0
|
|
revision=2
|
|
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 ffmpeg6-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=3d93e4c9fab8d1a7a9bde1a6dbbf04d6cf9d347c134b5128b4586a1d90b63cfb
|
|
|
|
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
|
|
}
|