mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 22:45:43 +01:00
f72a296d23
Ensures soundcard is ready before restoring state. sound.target added to systemd in v18: https://cgit.freedesktop.org/systemd/systemd/commit/?id=88dfa2938af Simplify dependencies: - After=alsa-state.service is not needed because both units test for @daemonswitch@ with opposite outcomes. - After=sysinit.target is automatically added by systemd. First proposed by Tom Yan. Signed-off-by: Chris Mayo <aklhfex@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
56 lines
1.6 KiB
Text
56 lines
1.6 KiB
Text
|
|
ALSA utils installation
|
|
=======================
|
|
|
|
Requirements
|
|
------------
|
|
|
|
alsamixer requires the ncurses library. Some systems need to install
|
|
the develop package additionally to link with this library.
|
|
|
|
alsaconf requires dialog or whiptail program to run properly.
|
|
|
|
If systemd (minimum version 18) is installed it will be used to run
|
|
alsactl to store and restore settings.
|
|
|
|
Installation
|
|
------------
|
|
|
|
For installation you can use these commands:
|
|
|
|
./configure
|
|
make install
|
|
|
|
If ./configure command complain that alsa-lib package isn't installed,
|
|
please, check if --prefix option is same for alsa-lib and alsa-utils
|
|
package. The configure script from alsa-utils package probably cannot find
|
|
header file asoundlib.h in $prefix/include/alsa directory (usually in
|
|
/usr/include/alsa directory).
|
|
|
|
Compilation from git sources
|
|
---------------------------
|
|
|
|
You need also GNU packages autoconf and automake installed in your system
|
|
to compile git sources of alsa-utils package.
|
|
|
|
For compilation you can use these commands:
|
|
|
|
aclocal
|
|
gettextize
|
|
autoheader
|
|
automake --foreign --copy --add-missing
|
|
autoconf
|
|
./configure
|
|
make
|
|
|
|
The included gitcompile script does this job for you.
|
|
|
|
To configure the build to install in a local directory, a command like the
|
|
following can be used:
|
|
|
|
./gitcompile --prefix="$PWD/build" \
|
|
--with-systemdsystemunitdir="$PWD/build/$(pkg-config systemd --variable=systemdsystemunitdir)" \
|
|
--with-udev-rules-dir="$PWD/build/$(pkg-config udev --variable=udevdir)"
|
|
|
|
Note: Some automake packages have missing aclocal program. Use newer version
|
|
in the case.
|