Difference between revisions of "XviD"

From CBLFS
Jump to navigationJump to search
m (updated library suffix)
 
(4 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
----
 
----
  
== Introduction to XviD ==
+
{{Package-Introduction|XviD is an MPEG-4 compliant video codec.|http://xvid.org/}}
 
 
XviD is an MPEG-4 compliant video codec.
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 28: Line 26:
  
 
  make install &&
 
  make install &&
  chmod -v 755 /usr/lib/libxvidcore.so.4.1 &&
+
  chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
  ln -v -sf libxvidcore.so.4.1 /usr/lib/libxvidcore.so.4 &&
+
  ln -v -sf libxvidcore.so.4.2 /usr/lib/libxvidcore.so.4 &&
 
  ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&
 
  ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&
 
  install -v -m755 -d /usr/share/doc/xvidcore-{{XviD-Version}}/examples &&
 
  install -v -m755 -d /usr/share/doc/xvidcore-{{XviD-Version}}/examples &&
Line 48: Line 46:
  
 
  make install &&
 
  make install &&
  chmod -v 755 /usr/lib/libxvidcore.so.4.1 &&
+
  chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
  ln -v -sf libxvidcore.so.4.1 /usr/lib/libxvidcore.so.4 &&
+
  ln -v -sf libxvidcore.so.4.2 /usr/lib/libxvidcore.so.4 &&
 
  ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so
 
  ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so
  
Line 63: Line 61:
  
 
  make install &&
 
  make install &&
  chmod -v 755 /usr/lib/libxvidcore.so.4.1 &&
+
  chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
  ln -v -sf libxvidcore.so.4.1 /usr/lib32/libxvidcore.so.4 &&
+
  ln -v -sf libxvidcore.so.4.2 /usr/lib32/libxvidcore.so.4 &&
  ln -v -sf libxvidcore.so.4 /usr/lib/32libxvidcore.so
+
  ln -v -sf libxvidcore.so.4 /usr/lib32/libxvidcore.so
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 78: Line 76:
  
 
  make install &&
 
  make install &&
  chmod -v 755 /usr/lib64/libxvidcore.so.4.1 &&
+
  chmod -v 755 /usr/lib64/libxvidcore.so.4.2 &&
  ln -v -sf libxvidcore.so.4.1 /usr/lib64/libxvidcore.so.4 &&
+
  ln -v -sf libxvidcore.so.4.2 /usr/lib64/libxvidcore.so.4 &&
 
  ln -v -sf libxvidcore.so.4 /usr/lib64/libxvidcore.so &&
 
  ln -v -sf libxvidcore.so.4 /usr/lib64/libxvidcore.so &&
 
  install -v -m755 -d /usr/share/doc/xvidcore-{{XviD-Version}}/examples &&
 
  install -v -m755 -d /usr/share/doc/xvidcore-{{XviD-Version}}/examples &&
 
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-{{XviD-Version}} &&
 
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-{{XviD-Version}} &&
 
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-{{XviD-Version}}/examples
 
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-{{XviD-Version}}/examples
 +
 +
[[Category:Media Libraries]]

Latest revision as of 08:36, 4 November 2010

Download Source: http://downloads.xvid.org/downloads/xvidcore-1.2.2.tar.bz2

Introduction to XviD

XviD is an MPEG-4 compliant video codec.

Project Homepage: http://xvid.org/

Dependencies

Optional

Non-Multilib

Configure and compile the package:

cd build/generic &&
./configure --prefix=/usr &&
make

Install the package:

make install &&
chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
ln -v -sf libxvidcore.so.4.2 /usr/lib/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&
install -v -m755 -d /usr/share/doc/xvidcore-1.2.2/examples &&
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.2.2 &&
install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.2.2/examples

Multilib

32Bit

Configure and compile the package:

cd build/generic &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
make

Install the package:

make install &&
chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
ln -v -sf libxvidcore.so.4.2 /usr/lib/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so

N32

Configure and compile the package:

cd build/generic &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install &&
chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
ln -v -sf libxvidcore.so.4.2 /usr/lib32/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib32/libxvidcore.so

64Bit

Configure and compile the package:

cd build/generic &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install &&
chmod -v 755 /usr/lib64/libxvidcore.so.4.2 &&
ln -v -sf libxvidcore.so.4.2 /usr/lib64/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib64/libxvidcore.so &&
install -v -m755 -d /usr/share/doc/xvidcore-1.2.2/examples &&
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.2.2 &&
install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.2.2/examples
Retrieved from "?title=XviD&oldid=20693"