Difference between revisions of "XviD"

From CBLFS
Jump to navigationJump to search
m (updated library suffix)
 
(11 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://downloads.xvid.org/downloads/xvidcore-1.1.0.tar.bz2
+
| http://downloads.xvid.org/downloads/xvidcore-{{XviD-Version}}.tar.bz2
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|XviD is an MPEG-4 compliant video codec.|http://xvid.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
 +
 +
=== Optional ===
 +
* [[NASM]]
 +
* [[Yasm]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 20: 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-1.1.0/examples &&
+
  install -v -m755 -d /usr/share/doc/xvidcore-{{XviD-Version}}/examples &&
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.1.0 &&
+
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-{{XviD-Version}} &&
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.1.0/examples
+
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-{{XviD-Version}}/examples
  
 
== Multilib ==
 
== Multilib ==
Line 34: Line 40:
 
   
 
   
 
  cd build/generic &&
 
  cd build/generic &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
 
  make
 
  make
  
Line 40: 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 55: 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/lib/libxvidcore.so.4 &&
+
  ln -v -sf libxvidcore.so.4.2 /usr/lib32/libxvidcore.so.4 &&
  ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so
+
  ln -v -sf libxvidcore.so.4 /usr/lib32/libxvidcore.so
+
 
 
=== 64Bit ===
 
=== 64Bit ===
  
Line 70: 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-1.1.0/examples &&
+
  install -v -m755 -d /usr/share/doc/xvidcore-{{XviD-Version}}/examples &&
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.1.0 &&
+
  install -v -m644 ../../doc/* /usr/share/doc/xvidcore-{{XviD-Version}} &&
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-1.1.0/examples
+
  install -v -m644 ../../examples/* /usr/share/doc/xvidcore-{{XviD-Version}}/examples
  
*[[Audio/Media]]
+
[[Category:Media Libraries]]
*[[Main Page]]
 

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"