Libmpeg2

From CBLFS
Revision as of 13:03, 12 September 2014 by Boloco (talk | contribs) (64Bit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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