1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
3 # Contributor: Jason Chu <jason@archlinux.org>
8 pkgdesc="A simple Xaw-based TV program which uses the bttv driver or video4linux"
10 url="https://git.linuxtv.org/xawtv3.git"
12 depends=('aalib' 'v4l-utils' 'libxv' 'libxrandr' 'libgl' 'libdv' 'zvbi' 'libxinerama' 'lirc' 'libxft' 'libxaw' 'xorg-fonts-misc' 'libxxf86vm')
13 makedepends=('mesa' 'git' 'xorgproto')
14 _commit=8e3feea862db68d3ca0886f46cd99fab45d2db7c
15 source=("git+https://git.linuxtv.org/cgit.cgi/xawtv3.git#commit=$_commit")
20 git describe --tags | sed 's/^xawtv-//;s/-/+/g'
25 NOCONFIGURE=1 ./autogen.sh
30 CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
31 ./configure --prefix=/usr --disable-motif --disable-quicktime
37 make DESTDIR="${pkgdir}" install