sounds: Add Swedish sounds to Makefile and XML
authorRusty Newton <rnewton@digium.com>
Thu, 7 May 2015 22:49:07 +0000 (17:49 -0500)
committerRusty Newton <rnewton@digium.com>
Fri, 8 May 2015 17:47:49 +0000 (12:47 -0500)
Added the necessary lines to the Makefile and sounds.xml so we'll have the
Swedish sounds in all available formats in menuselect.

See also: Swedish sounds were added into the core sounds release 1.4.27.

ASTERISK-24744 #close

Reported by: Tove Hjelm
Tested by: Rusty Newton

Change-Id: Ib6f4fd177afd1667b2402735034001d4d055a908

sounds/Makefile
sounds/sounds.xml

index 13a7184..a726ece 100644 (file)
@@ -19,7 +19,7 @@ CMD_PREFIX?=@
 SOUNDS_DIR:=$(DESTDIR)$(ASTDATADIR)/sounds
 SOUNDS_CACHE_DIR?=
 MOH_DIR:=$(DESTDIR)$(ASTDATADIR)/moh
-CORE_SOUNDS_VERSION:=1.4.26
+CORE_SOUNDS_VERSION:=1.4.27
 EXTRA_SOUNDS_VERSION:=1.4.15
 MOH_VERSION:=2.03
 SOUNDS_URL:=http://downloads.asterisk.org/pub/telephony/sounds/releases
@@ -31,6 +31,7 @@ MCS:=$(subst -ES-,-es-,$(MCS))
 MCS:=$(subst -RU-,-ru-,$(MCS))
 MCS:=$(subst -IT-,-it-,$(MCS))
 MCS:=$(subst -JA-,-ja-,$(MCS))
+MCS:=$(subst -SV-,-sv-,$(MCS))
 MCS:=$(subst -WAV,-wav,$(MCS))
 MCS:=$(subst -ULAW,-ulaw,$(MCS))
 MCS:=$(subst -ALAW,-alaw,$(MCS))
@@ -153,6 +154,8 @@ $(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),core-sounds,ru,$(CORE_SOUNDS_
 
 $(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),core-sounds,ja,$(CORE_SOUNDS_VERSION)))
 
+$(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),core-sounds,sv,$(CORE_SOUNDS_VERSION)))
+
 $(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),extra-sounds,en,$(EXTRA_SOUNDS_VERSION)))
 
 $(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),extra-sounds,en_GB,$(EXTRA_SOUNDS_VERSION)))
index 5934bb3..547be4b 100644 (file)
                <member name="CORE-SOUNDS-JA-SIREN14" displayname="Japanese, G.722.1C (Siren14) format">
                        <support_level>core</support_level>
                </member>
+               <member name="CORE-SOUNDS-SV-WAV" displayname="Swedish, WAV format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-SV-ULAW" displayname="Swedish, mu-Law format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-SV-ALAW" displayname="Swedish, a-Law format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-SV-GSM" displayname="Swedish, GSM format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-SV-G729" displayname="Swedish, G.729 format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-SV-G722" displayname="Swedish, G.722 format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-SV-SLN16" displayname="Swedish, Signed-linear 16kHz format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-SV-SIREN7" displayname="Swedish, G.722.1 (Siren7) format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-SV-SIREN14" displayname="Swedish, G.722.1C (Siren14) format">
+                       <support_level>core</support_level>
+               </member>
        </category>
        <category name="MENUSELECT_MOH" displayname="Music On Hold File Packages" positive_output="yes">
                <member name="MOH-OPSOUND-WAV" displayname="opsound.org Music On Hold Files, WAV format" >