blob: 01a3fb809d45b41c26b8ba15622fabe3bc1dad21 (
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
|
# $Id: PKGBUILD 58655 2011-11-17 10:01:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=avifile
pkgver=0.7.45
pkgrel=8
pkgdesc="A library that allows you to read and write compressed AVI files"
arch=('i686' 'x86_64' 'mips64el')
depends=('qt' 'sdl' 'freetype2' 'libpng' 'libjpeg'
'libvorbis' 'xvidcore' 'libxxf86dga' 'libxi' 'libxv')
makedepends=('lame' 'qt3' 'v4l-utils' 'chrpath')
url="http://avifile.sourceforge.net"
license=('GPL')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/avifile/$pkgname-0.7-$pkgver.tar.bz2"
'gcc.patch'
'videodev.patch')
md5sums=('7da94802f120d1b69e04a13170dcd21d'
'588c3ce7bdebc1244f46ba56d8ef8a42'
'6cca050885afe85c2d98982f75f5e3b0')
build() {
cd $pkgname-0.7-$pkgver
patch -Np1 <$srcdir/gcc.patch
patch -Np1 <$srcdir/videodev.patch
./configure \
--prefix=/usr \
--mandir=$pkgdir/usr/share/man \
--with-qt-prefix=/opt/qt \
--with-qt-includes=/opt/qt/include \
--with-qt-libraries=/opt/qt/lib \
--enable-oss
make
}
package() {
cd $pkgname-0.7-$pkgver
make prefix=$pkgdir/usr install
cd $pkgdir/usr/bin
chrpath -d avibench avicap avicat avirec kv4lsetup avimake aviplay avitype avirecompress
}
|