Difference between revisions of "Avifile"
From CBLFS
Jump to navigationJump to searchChipster19 (talk | contribs) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
---- | ---- | ||
− | + | {{Package-Introduction|Avifile is a library that allows you to read and write compressed AVI files (Indeo? Video, DivX, etc.) under x86 Linux. (De)compression is performed with Win32 DLLs. It includes AVI player, video4linux-compatible capture program and simple AVI recompres.|http://avifile.sourceforge.net/}} | |
− | |||
− | Avifile is a library that allows you to read and write compressed AVI files (Indeo? Video, DivX, etc.) under x86 Linux. (De)compression is performed with Win32 DLLs. It includes AVI player, video4linux-compatible capture program and simple AVI recompres. | ||
== Dependencies == | == Dependencies == | ||
Line 28: | Line 26: | ||
* [[libvorbis]] | * [[libvorbis]] | ||
* [[Qt3]] | * [[Qt3]] | ||
− | * [[ | + | * [[DivX4Linux]] |
== Non-Multilib == | == Non-Multilib == | ||
Line 35: | Line 33: | ||
patch -Np1 -i ../avifile-{{avifile-Version}}-gcc41-1.patch && | patch -Np1 -i ../avifile-{{avifile-Version}}-gcc41-1.patch && | ||
− | ./configure --prefix=/usr | + | ./configure --prefix=/usr && |
make | make | ||
Line 48: | Line 46: | ||
Compile the package: | Compile the package: | ||
− | + | patch -Np1 -i ../avifile-{{avifile-Version}}-gcc41-1.patch && | |
+ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
+ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \ | ||
+ | ./configure --prefix=/usr --build=$CLFS_TARGET32 && | ||
+ | make | ||
Install the package: | Install the package: | ||
− | + | make install && | |
+ | mv -v /usr/bin/avifile-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 58: | Line 61: | ||
Compile the package: | Compile the package: | ||
− | + | patch -Np1 -i ../avifile-{{avifile-Version}}-gcc41-1.patch && | |
+ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
+ | PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \ | ||
+ | ./configure --prefix=/usr --libdir=/usr/lib32 \ | ||
+ | --with-qt-libraries=${QTDIR}/lib32 && | ||
+ | make | ||
Install the package: | Install the package: | ||
− | + | make install && | |
+ | mv -v /usr/bin/avifile-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 68: | Line 77: | ||
Compile the package: | Compile the package: | ||
− | + | patch -Np1 -i ../avifile-{{avifile-Version}}-gcc41-1.patch && | |
+ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
+ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \ | ||
+ | ./configure --prefix=/usr --libdir=/usr/lib64 \ | ||
+ | --with-qt-libraries=${QTDIR}/lib64 && | ||
+ | make | ||
Install the package: | Install the package: | ||
− | + | make install && | |
+ | mv -v /usr/bin/avifile-config{,-64} && | ||
+ | ln -sfv multiarch_wrapper /usr/bin/avifile-config | ||
= Contents = | = Contents = | ||
Line 87: | Line 103: | ||
| /usr/lib/avifile-{{avifile-Version}}, /usr/include/avifile-{{avifile-Version}} | | /usr/lib/avifile-{{avifile-Version}}, /usr/include/avifile-{{avifile-Version}} | ||
|} | |} | ||
+ | |||
+ | [[Category:Media Utilities]] |
Latest revision as of 14:32, 13 May 2010
Download Source: | http://downloads.sourceforge.net/avifile/avifile-0.7-0.7.45.tar.bz2 |
---|---|
Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/avifile/avifile-0.7-gcc41-1.patch |
Contents
Introduction to Avifile
Avifile is a library that allows you to read and write compressed AVI files (Indeo? Video, DivX, etc.) under x86 Linux. (De)compression is performed with Win32 DLLs. It includes AVI player, video4linux-compatible capture program and simple AVI recompres.
Project Homepage: http://avifile.sourceforge.net/
Dependencies
Required
Recommended
Non-Multilib
Compile the package:
patch -Np1 -i ../avifile-0.7-gcc41-1.patch && ./configure --prefix=/usr && make
Install the package:
make install
Multilib
32Bit
Compile the package:
patch -Np1 -i ../avifile-0.7-gcc41-1.patch && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \ ./configure --prefix=/usr --build=$CLFS_TARGET32 && make
Install the package:
make install && mv -v /usr/bin/avifile-config{,-32}
N32
Compile the package:
patch -Np1 -i ../avifile-0.7-gcc41-1.patch && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \ ./configure --prefix=/usr --libdir=/usr/lib32 \ --with-qt-libraries=${QTDIR}/lib32 && make
Install the package:
make install && mv -v /usr/bin/avifile-config{,-n32}
64Bit
Compile the package:
patch -Np1 -i ../avifile-0.7-gcc41-1.patch && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \ ./configure --prefix=/usr --libdir=/usr/lib64 \ --with-qt-libraries=${QTDIR}/lib64 && make
Install the package:
make install && mv -v /usr/bin/avifile-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/avifile-config
Contents
Installed Programs: | avibench, avicat, avitype, avimake, kv4lsetup, avirec, avicap, aviplay |
---|---|
Installed Libraries: | libqavm.la.{la,so}, libaviplayvidix.{la,so}, libaviplaydha.{la,so}, libaviplayavcodec.{la,so}, libaviplayavformat.{la,so}, libaviplayavutil.{la,so} |
Installed Directories: | /usr/lib/avifile-0.7, /usr/include/avifile-0.7 |