blob: f468c2a5b50473c3f932f7ac1abfddf903418daf (
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
|
# $Id: PKGBUILD 20207 2010-07-03 15:40:47Z tdziedzic $
# 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=7
pkgdesc="A library that allows you to read and write compressed AVI files"
arch=('i686' 'x86_64')
depends=('qt' 'sdl' 'freetype2' 'libpng' 'libjpeg' \
'libvorbis' 'xvidcore' 'libxxf86dga' 'libxi' 'libxv')
makedepends=('lame' 'qt3')
url="http://avifile.sourceforge.net"
license=('GPL')
source=("http://downloads.sourceforge.net/sourceforge/avifile/$pkgname-0.7-$pkgver.tar.bz2"
'gcc.patch')
md5sums=('7da94802f120d1b69e04a13170dcd21d'
'588c3ce7bdebc1244f46ba56d8ef8a42')
build() {
cd $pkgname-0.7-$pkgver
patch -Np1 <../gcc.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
find $pkgdir -name '*.la' -exec rm {} \;
}
|