Difference between revisions of "ALSA Tools"

From CBLFS
Jump to navigationJump to search
m
 
(12 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.11.tar.bz2
+
| ftp://ftp.alsa-project.org/pub/tools/alsa-tools-{{ALSA Tools-Version}}.tar.bz2
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/alsa-tools/alsa-tools-1.0.11-ac3dec_config_update-1.patch
 
 
|}
 
|}
  
----
+
{{Package-Introduction|The ALSA Tools package contains various advanced tools for use with certain sound cards.
  
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:
+
This package is only needed if you have advanced requirements for your sound card. A list of the various tools can be found at http://alsa.opensrc.org/Alsa-tools.|http://www.alsa-project.org/}}
 +
 
 +
{{Note|You don't compile the tools all at once, but instead build them individually. For each tool that you wish to build, you go into its directory and run the build commands from there.}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 19: Line 18:
 
* [[Gtk1]] (To Build echomixer, envy24control, and rmedigicontrol)
 
* [[Gtk1]] (To Build echomixer, envy24control, and rmedigicontrol)
 
* [[FLTK]] (To Build hdspconf and hdspmixer)
 
* [[FLTK]] (To Build hdspconf and hdspmixer)
* [[Qt]] (To Build qlo10k1)
+
* [[Qt3]] (To Build qlo10k1)
 +
 
 +
{{Note|'''ld10k1''' must be built before '''qt10k1'''}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
  
Apply the following patch in the top-level directory of alsa-tools before building ac3dec:
+
Compile each package with:
 
 
patch -Np1 -i ../alsa-tools-1.0.11-ac3dec_config_update-1.patch
 
 
 
Compile the package:
 
  
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
  
Install the package
+
Install each package with:
  
 
  make install
 
  make install
Line 40: Line 37:
 
=== 32Bit ===
 
=== 32Bit ===
  
Apply the following patch in the top-level directory of alsa-tools before building ac3dec:
+
Compile each package with:
 
 
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}" \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
Line 50: Line 43:
 
  make
 
  make
  
Install the package
+
Install each package with:
  
 
  make install
 
  make install
Line 56: Line 49:
 
=== N32 ===
 
=== N32 ===
  
Apply the following patch in the top-level directory of alsa-tools before building ac3dec:
+
Before building qlo10k1 apply the following sed so it looks in the correct dir for libraries:
  
  patch -Np1 -i ../alsa-tools-1.0.11-ac3dec_config_update-1.patch
+
  sed -i "s@QTDIR/lib@&32@g" configure
  
Compile the package:
+
Compile each package with:
  
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
Line 66: Line 59:
 
  make
 
  make
  
Install the package
+
Install each package with:
  
 
  make install
 
  make install
Line 72: Line 65:
 
=== 64Bit ===
 
=== 64Bit ===
  
Apply the following patch in the top-level directory of alsa-tools before building ac3dec:
+
Before building qlo10k1 apply the following sed so it looks in the correct dir for libraries:
  
  patch -Np1 -i ../alsa-tools-1.0.11-ac3dec_config_update-1.patch
+
  sed -i "s@QTDIR/lib@&64@g" configure
  
Compile the package:
+
Compile each package with:
  
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
Line 82: Line 75:
 
  make
 
  make
  
Install the package
+
Install each package with:
  
 
  make install
 
  make install

Latest revision as of 09:03, 16 October 2007

Download Source: ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.23.tar.bz2

Introduction to ALSA Tools

The ALSA Tools package contains various advanced tools for use with certain sound cards.

This package is only needed if you have advanced requirements for your sound card. A list of the various tools can be found at http://alsa.opensrc.org/Alsa-tools.

Project Homepage: http://www.alsa-project.org/

Caution.png

Note

You don't compile the tools all at once, but instead build them individually. For each tool that you wish to build, you go into its directory and run the build commands from there.

Dependencies

Required

Optional

  • Gtk1 (To Build echomixer, envy24control, and rmedigicontrol)
  • FLTK (To Build hdspconf and hdspmixer)
  • Qt3 (To Build qlo10k1)
Caution.png

Note

ld10k1 must be built before qt10k1

Non-Multilib

Compile each package with:

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

Install each package with:

make install

Multilib

32Bit

Compile each package with:

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

Install each package with:

make install

N32

Before building qlo10k1 apply the following sed so it looks in the correct dir for libraries:

sed -i "s@QTDIR/lib@&32@g" configure

Compile each package with:

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

Install each package with:

make install

64Bit

Before building qlo10k1 apply the following sed so it looks in the correct dir for libraries:

sed -i "s@QTDIR/lib@&64@g" configure

Compile each package with:

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

Install each package with:

make install