XviD is an MPEG-4 compliant video CODEC.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://downloads.xvid.com/downloads/xvidcore-1.3.7.tar.gz
MD5 校验和:5c6c19324608ac491485dbb27d4da517
大小:804 KB
预计所需磁盘空间:7.1 MB
预计构建时间:0.1 SBU
This package tarball expands to xvidcore, not the expected xvidcore-1.3.7.
First, fix a problem when building with gcc-15:
sed -i '/typedef int bool;/d' src/encoder.h
Install XviD by running the following commands:
cd build/generic && sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in && ./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 &&
install -v -m755 -d /usr/share/doc/xvidcore-1.3.7/examples &&
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.3.7 &&
install -v -m644 ../../examples/* \
/usr/share/doc/xvidcore-1.3.7/examples
sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in: Fix error during make install if reinstalling or upgrading.
sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile: This command disables installing the static library.