blob: 28cce47b74ee8fe7d722919cf9109ecc8d824685 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $Id: PKGBUILD 63661 2010-01-18 09:35:32Z andrea $
# Maintainer:
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=xawtv
pkgver=3.95
pkgrel=7
pkgdesc="A simple Xaw-based TV program which uses the bttv driver or video4linux"
arch=('i686' 'x86_64' 'mips64el')
url="http://linux.bytesex.org/xawtv/"
license=('GPL')
depends=('libjpeg' 'alsa-lib' 'lesstif' 'libdv' 'zvbi' 'aalib' 'libv4l'
'libxxf86dga' 'libfs' 'libxrandr' 'libxinerama' 'libxv' 'libxaw'
'libxxf86vm' 'libgl' 'gpm' 'lirc-utils' 'libxft')
makedepends=('mesa')
options=('!makeflags')
source=(http://dl.bytesex.org/releases/$pkgname/$pkgname-$pkgver.tar.gz
xawtv-395.diff
xawtv-3.95-pagemask-fix.patch
xawtv-3.95-fixes.patch
xawtv-3.95-libv4l2.patch
xawtv-3.95-no-dga.patch)
md5sums=('ad25e03f7e128b318e392cb09f52207d'
'87a87b6c62b39348053704f052141843'
'97493dfaac8c80084d8b66891becd76c'
'dc83378a5c76c029f4e49434214fc824'
'56932100c5060bf9dfc45b8af927e697'
'c456147f15c8f836c678c6499f068085')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i $srcdir/xawtv-395.diff || return 1
patch -Np1 -i $srcdir/xawtv-3.95-pagemask-fix.patch || return 1
# Add patches from https://bugzilla.redhat.com/show_bug.cgi?id=457796
patch -Np1 -i $srcdir/xawtv-3.95-fixes.patch || return 1
patch -Np1 -i $srcdir/xawtv-3.95-libv4l2.patch || return 1
patch -Np1 -i $srcdir/xawtv-3.95-no-dga.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make DESTDIR=$pkgdir resdir=$pkgdir/usr/lib/X11 install
}
|