summaryrefslogtreecommitdiff
path: root/community-testing/xvidcap/PKGBUILD
blob: 6d68a48a9f3bda741a6f080e5a5d51893fa38322 (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
43
44
45
46
47
48
49
50
# $Id: PKGBUILD 63169 2010-01-15 14:58:38Z giovanni $
# Maintainer: Thorsten Töpper <atsutane at freethoughts dot de>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: red_over_blue, Abaddon <kukububu@go2.pl>
# Contributor: damir <damir@archlinux.org>

pkgname=xvidcap
pkgver=1.1.7
pkgrel=4
pkgdesc="A small tool to capture things going on on an X-Windows display to either individual frames or an MPEG video"
arch=("i686" "x86_64")
license=('GPL')
url="http://xvidcap.sourceforge.net/"
depends=('dbus-glib' 'lame' 'libxmu' 'libglade' 'ffmpeg' 'dbus')
makedepends=('perlxml' 'rarian')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
	'xextproto-7.1.1.patch'
	'xvidcap-ffmpeg.patch'
        'ffmpeg-0.8.patch')
md5sums=('b39a682d3ef9fcbf424af771936780e2'
	'fbde2b076c5ea05723883b87f3ef2a65'
	'f18817da1c0dada05fa791ae53193b2c')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  patch -Np1 -i ${srcdir}/xextproto-7.1.1.patch
  patch -Np0 -i ${srcdir}/xvidcap-ffmpeg.patch 
  patch -Np1 -i ${srcdir}/ffmpeg-0.8.patch 

  ./configure --prefix=/usr \
    --with-x \
    --with-gtk2 \
    --enable-libmp3lame \
    --without-forced-embedded-ffmpeg
  make 
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make prefix=${pkgdir}/usr install 
}
md5sums=('b39a682d3ef9fcbf424af771936780e2'
         'fbde2b076c5ea05723883b87f3ef2a65'
         'f18817da1c0dada05fa791ae53193b2c'
         '36ead5f0345ae776601d49c1c90cb101')
md5sums=('b39a682d3ef9fcbf424af771936780e2'
         'fbde2b076c5ea05723883b87f3ef2a65'
         'f18817da1c0dada05fa791ae53193b2c'
         '6e4dfab56b877362757092f55ad6b337')