XMMS

From CBLFS
Revision as of 17:30, 17 December 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://www.xmms.org/files/1.2.x/xmms-1.2.11.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/xmms/xmms-1.2.11-gcc4-1.patch

Introduction to XMMS

XMMS is an audio player for the X Windows System.

Dependencies

Required

Optional

Non-Multilib

Compile the package:

patch -Np1 -i ../xmms-1.2.11-gcc4-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../xmms-1.2.11-gcc4-1.patch &&
CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package

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

N32

Compile the package:

patch -Np1 -i ../xmms-1.2.11-gcc4-1.patch &&
sed -i "/_LIBS=/s:/lib:&32:g" configure &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 &&
sed -i -e "/sys_lib_search_path_spec/s:/lib:&32:g" \
       -e "/sys_lib_dlsearch_path_spec/s:lib:&32:g" libtool &&
make

Install the package

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

64Bit

Compile the package:

patch -Np1 -i ../xmms-1.2.11-gcc4-1.patch &&
sed -i "/_LIBS=/s:/lib:&64:g" configure &&
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 &&
sed -i -e "/sys_lib_search_path_spec/s:/lib:&64:g" \
       -e "/sys_lib_dlsearch_path_spec/s:lib:&64:g" libtool &&
make

Install the package

make install &&
mv -v /usr/bin/xmms-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/xmms-config &&
install -v -m755 -d /usr/share/doc/xmms-1.2.10 &&
install -v -m644 FAQ README /usr/share/doc/xmms-1.2.10