2008-01-27 19:07:28 +11:00
|
|
|
# Description: Library for AVI video files.
|
2007-06-27 01:03:27 +10:00
|
|
|
# URL: http://avifile.sourceforge.net/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2007-06-27 01:03:27 +10:00
|
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
2008-05-13 13:16:19 +10:00
|
|
|
# Depends on: ffmpeg liba52 libdivx libdivx-legacy libmad win32-essential-codecs xorg-libxft xorg-libxi xorg-libxinerama xorg-libxv xorg-libxxf86dga
|
2007-06-27 01:03:27 +10:00
|
|
|
|
|
|
|
name=avifile
|
|
|
|
version=0.7-0.7.45
|
|
|
|
release=1
|
2009-07-09 19:11:49 +10:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/avifile/avifile-$version.tar.bz2
|
2007-06-27 01:03:27 +10:00
|
|
|
avifile-$version-gcc4.patch)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd avifile-$version
|
2008-08-27 02:45:57 +10:00
|
|
|
patch -p 1 -i $SRC/avifile-$version-gcc4.patch
|
|
|
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pwd`/lib"
|
2007-06-27 01:03:27 +10:00
|
|
|
|
2008-08-27 02:45:57 +10:00
|
|
|
# remove samples does not build on current gcc
|
|
|
|
sed -i -e 's/^ doc include debian libavqt player samples$/ doc include debian libavqt player/' \
|
|
|
|
Makefile.in
|
2007-10-17 01:05:20 +10:00
|
|
|
|
2007-06-27 01:03:27 +10:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-x86opt \
|
|
|
|
--without-qt \
|
2008-03-01 13:53:47 +11:00
|
|
|
--disable-xvidtest \
|
|
|
|
--disable-xvid \
|
2007-06-27 01:03:27 +10:00
|
|
|
--disable-ffmpeg-risky \
|
|
|
|
--with-linux-prefix='/usr/include/linux'
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/avifile-${version%-*}/doc
|
|
|
|
}
|
|
|
|
|