Difference between revisions of "Libmpeg2"

From CBLFS
Jump to navigationJump to search
(32Bit)
(64Bit)
 
(One intermediate revision by the same user not shown)
Line 46: Line 46:
  
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \
     --x-libraries=${XORG_PREFIX}/lib32 --enable-shared &&
+
     --x-libraries=${XORG_PREFIX}/lib32 --x-includes=${XORG_PREFIX}/include \
 +
    --enable-shared &&
 
  make
 
  make
  
Line 58: Line 59:
  
 
  CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \
     --x-libraries=${XORG_PREFIX}/lib64 --enable-shared &&
+
     --x-libraries=${XORG_PREFIX}/lib64 --x-includes=${XORG_PREFIX}/include \
 +
    --enable-shared &&
 
  make
 
  make
  

Latest revision as of 12:03, 12 September 2014

Download Source: http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz

Introduction to Libmpeg2

The Libmpeg2 package contains a library for decoding MPEG-2 and MPEG-1 video streams. The library is able to decode all MPEG streams that conform to certain restrictions: “constrained parameters” for MPEG-1, and “main profile” for MPEG-2. This is useful for programs and applications needing to decode MPEG-2 and MPEG-1 video streams.

Project Homepage: http://libmpeg2.sourceforge.net/

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib --x-includes=${XORG_PREFIX}/include \
    --enable-shared &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \
    --x-libraries=${XORG_PREFIX}/lib32 --x-includes=${XORG_PREFIX}/include \
    --enable-shared &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \
    --x-libraries=${XORG_PREFIX}/lib64 --x-includes=${XORG_PREFIX}/include \
    --enable-shared &&
make

Install the package

make install
Retrieved from "?title=Libmpeg2&oldid=21647"