ALSA Tools

From CBLFS
Revision as of 11:11, 30 September 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.11.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/alsa-tools/alsa-tools-1.0.11-ac3dec_config_update-1.patch

The ALSA Tools package is only needed by those with advanced requirements for their sound card. The tools are not all built together, instead you need to cd into the directory of each tool you wish to compile and run the appropriate commands:

Dependencies

Required

Optional

  • Gtk1 (To Build echomixer, envy24control, and rmedigicontrol)
  • FLTK (To Build hdspconf and hdspmixer)
  • Qt (To Build qlo10k1)

Non-Multilib

Apply the following patch in the top-level directory of alsa-tools before building ac3dec:

patch -Np1 -i ../alsa-tools-1.0.11-ac3dec_config_update-1.patch

Compile the package:

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

Install the package

make install

Multilib

32Bit

Apply the following patch in the top-level directory of alsa-tools before building ac3dec:

patch -Np1 -i ../alsa-tools-1.0.11-ac3dec_config_update-1.patch

Compile the package:

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

Install the package

make install

N32

Apply the following patch in the top-level directory of alsa-tools before building ac3dec:

patch -Np1 -i ../alsa-tools-1.0.11-ac3dec_config_update-1.patch

Compile the package:

CC="gcc ${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

64Bit

Apply the following patch in the top-level directory of alsa-tools before building ac3dec:

patch -Np1 -i ../alsa-tools-1.0.11-ac3dec_config_update-1.patch

Compile the package:

CC="gcc ${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