Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37784 - alsa-tools: allow user to override the ALSA_TOOLS variable
Summary: alsa-tools: allow user to override the ALSA_TOOLS variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-10 04:35 UTC by Georgi Georgiev
Modified: 2004-02-19 10:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2004-01-10 04:35:35 UTC
alsa-tools can employ a similar approach as alsa-driver to let the user specify what tools they want to install. It would be a nice feature, since most of the tools are hardware specific. I don't know about the DEPEND, but it should be safe to leave it at as it is.

--- /usr/portage/media-sound/alsa-tools/alsa-tools-1.0.0_rc2-r1.ebuild  2004-01-03 23:55:11.000000000 +0900
+++ alsa-tools-1.0.1.ebuild     2004-01-10 21:29:43.348891102 +0900
@@ -17,7 +17,7 @@
 LICENSE="GPL-2"
 S=${WORKDIR}/${MY_P}
 
-DEPEND=">=media-libs/alsa-lib-1.0.0_rc2
+DEPEND=">=media-libs/alsa-lib-${PV}
        virtual/alsa
        =x11-libs/fltk-1.1*
        =x11-libs/gtk+-1.2*"
@@ -25,6 +25,7 @@
 # This is a list of the tools in the package.
 # Some of the tools don't make proper use of CFLAGS, even though
 # all of them seem to use autoconf.  This needs to be fixed.
+[ x"${ALSA_TOOLS}" = x ] && \
 ALSA_TOOLS="ac3dec as10k1 envy24control hdspconf hdsploader hdspmixer \
        mixartloader rmedigicontrol sb16_csp seq/sbiload sscape_ctl \
        us428control usx2yloader vxloader"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-19 01:10:18 UTC
now in portage...
Comment 2 Georgi Georgiev 2004-02-19 05:48:05 UTC
There is a small typo in the ebuild. It says:

# environment to a space-separated list of toolss that you want to build.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-19 10:49:50 UTC
ppicky, pickky ;) I comited thhe fixx.