XviD is an MPEG-4 compliant video CODEC.
This package is known to build and work properly using an LFS-7.5 platform.
Download (HTTP): http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz
Download MD5 sum: 87c8cf7b69ebed93c2d82ea5709d098a
Download size: 800 KB
Estimated disk space required: 9 MB
Estimated build time: 0.2 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xvid
This package tarball expands to xvidcore
, not the expected xvidcore-1.3.2
.
Install XviD by running the following commands:
cd build/generic && ./configure --prefix=/usr && make
This package does not come with a test suite.
Now, as the root
user:
sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile && make install && chmod -v 755 /usr/lib/libxvidcore.so.4.3 && ln -v -sf libxvidcore.so.4.3 /usr/lib/libxvidcore.so.4 && ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so && install -v -m755 -d /usr/share/doc/xvidcore-1.3.2/examples && install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.3.2 && install -v -m644 ../../examples/* \ /usr/share/doc/xvidcore-1.3.2/examples
sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile: This command disables installing the static library.
ln -v -sf libxvidcore.so.4
/usr/lib/libxvidcore.so: This command makes
applications linked against .so
names, link to .so.
. This ensures
better binary compatibility, as XviD developers take care not changing the
<MAJOR>
<MAJOR>
number
until there is an incompatible ABI change.
Last updated on 2014-02-25 03:54:44 -0800