PKGBUILDs/community/avifile/PKGBUILD
2009-10-09 21:15:33 -05:00

35 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# 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=4
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' 'qt')
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 $startdir/src/$pkgname-0.7-$pkgver
./configure --prefix=/usr \
--with-qt-prefix=/opt/qt \
--with-qt-includes=/opt/qt/include \
--with-qt-libraries=/opt/qt/lib \
--enable-oss
patch -Np1 <../gcc.patch
make || return 1
make prefix=$startdir/pkg/usr install || return 1
find $startdir/pkg -name '*.la' -exec rm {} \;
}