Difference between revisions of "SMPEG"

From CBLFS
Jump to navigationJump to search
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://sunsite.dk/pub/os/linux/loki/open-source/smpeg/smpeg-{{SMPEG-Version}}.tar.gz
+
| SMPEG is available only via svn download : svn co svn://svn.icculus.org/smpeg/trunk smpeg
|-
 
!Download Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/smpeg/smpeg-{{SMPEG-Version}}-gcc41_fixes-1.patch
 
 
|}
 
|}
  
Line 23: Line 20:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../smpeg-{{SMPEG-Version}}-gcc41_fixes-1.patch &&
+
  ./autogen.sh &&
  CC="g++" ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 37: Line 34:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../smpeg-{{SMPEG-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="g++ ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  CC="g++ ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
Line 52: Line 48:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../smpeg-{{SMPEG-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="g++ ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  CC="g++ ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
Line 67: Line 62:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../smpeg-{{SMPEG-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="g++ ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  CC="g++ ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
Line 78: Line 72:
 
  mv -v /usr/bin/smpeg-config{,-64} &&
 
  mv -v /usr/bin/smpeg-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/smpeg-config
 
  ln -sfv multiarch_wrapper /usr/bin/smpeg-config
 +
 +
[[Category:Media Libraries]]

Latest revision as of 15:33, 19 March 2009

Download Source: SMPEG is available only via svn download : svn co svn://svn.icculus.org/smpeg/trunk smpeg

Introduction to SMPEG

Project Homepage: Unknown

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./autogen.sh &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="g++ ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/smpeg-config{,-32}

N32

Compile the package:

CC="g++ ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/bin/smpeg-config{,-n32}

64Bit

Compile the package:

CC="g++ ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/smpeg-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/smpeg-config
Retrieved from "?title=SMPEG&oldid=17567"