Difference between revisions of "XMMS"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.xmms.org/files/ | + | | http://www.xmms.org/files/{{XMMS-Version2}}.x/xmms-{{XMMS-Version}}.tar.bz2 |
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/xmms/xmms- | + | | http://svn.cross-lfs.org/svn/repos/patches/xmms/xmms-{{XMMS-Version}}-gcc4-1.patch |
|} | |} | ||
Line 28: | Line 28: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../xmms- | + | patch -Np1 -i ../xmms-{{XMMS-Version}}-gcc4-1.patch && |
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
Line 42: | Line 42: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../xmms- | + | patch -Np1 -i ../xmms-{{XMMS-Version}}-gcc4-1.patch && |
CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr && | CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr && | ||
make | make | ||
Line 55: | Line 55: | ||
Compile the package: | Compile the package: | ||
+ | patch -Np1 -i ../xmms-{{XMMS-Version}}-gcc4-1.patch && | ||
sed -i "/_LIBS=/s:/lib:&32:g" configure && | sed -i "/_LIBS=/s:/lib:&32:g" configure && | ||
− | |||
CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 && | CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
sed -i -e "/sys_lib_search_path_spec/s:/lib:&32:g" \ | sed -i -e "/sys_lib_search_path_spec/s:/lib:&32:g" \ | ||
Line 71: | Line 71: | ||
Compile the package: | Compile the package: | ||
+ | patch -Np1 -i ../xmms-{{XMMS-Version}}-gcc4-1.patch && | ||
sed -i "/_LIBS=/s:/lib:&64:g" configure && | sed -i "/_LIBS=/s:/lib:&64:g" configure && | ||
− | |||
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 && | CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
sed -i -e "/sys_lib_search_path_spec/s:/lib:&64:g" \ | sed -i -e "/sys_lib_search_path_spec/s:/lib:&64:g" \ |
Revision as of 16:30, 17 December 2006
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 |
Contents
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