Skip to content

Commit

Permalink
Install sound samples to correct places.
Browse files Browse the repository at this point in the history
All .wav files go in /usr/share/sounds/alsa
The sample_map.csv goes in /usr/share/alsa/speaker-test
  • Loading branch information
James Courtier-Dutton authored and James Courtier-Dutton committed Apr 16, 2005
1 parent 266e9b3 commit fb2f99f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ AC_OUTPUT(Makefile alsactl/Makefile alsamixer/Makefile amidi/Makefile amixer/Mak
aplay/Makefile include/Makefile iecset/Makefile utils/Makefile \
utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile \
seq/aplaymidi/Makefile seq/aseqdump/Makefile seq/aseqnet/Makefile \
speaker-test/Makefile)
speaker-test/Makefile speaker-test/samples/Makefile)
2 changes: 2 additions & 0 deletions speaker-test/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
SPEAKER_TEST_VERSION = 0.0.8
INCLUDES = -I$(top_srcdir)/include -DVERSION=\"$(SPEAKER_TEST_VERSION)\"
SUBDIRS= samples

bin_PROGRAMS = speaker-test
speaker_test_SOURCES = speaker-test.c pink.c
man_MANS = speaker-test.1
Expand Down
20 changes: 20 additions & 0 deletions speaker-test/samples/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
sounddir = $(datadir)/sounds/alsa
wav_files = Front_Left.wav \
Rear_Center.wav \
Rear_Right.wav \
Side_Right.wav \
Front_Center.wav \
Front_Right.wav \
Noise.wav \
Rear_Left.wav \
Side_Left.wav
sound_DATA = $(wav_files)

alsadir = $(datadir)/alsa/speaker-test
cfg_files = sample_map.csv

alsa_DATA = $(cfg_files)

EXTRA_DIST = \
$(wav_files) \
$(cfg_files)
2 changes: 2 additions & 0 deletions speaker-test/samples/sample_map.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0, "Front Left", "/usr/share/alsa/samples/Front_Left.wav"
1, "Front Right", "/usr/share/alsa/samples/Front_Right.wav"

0 comments on commit fb2f99f

Please sign in to comment.