aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorLin Sun <lin.sun@zoom.us>2020-09-29 12:33:06 +0800
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2020-10-03 21:15:09 +0000
commit6136c719da4ec9b96c01adb4b0fd7f01af171688 (patch)
tree797542009e2f4d9d8453db1c7a97bb427ef4dfda /packaging
parentc1eb36b84b6fcfea93bfc087b280da60273b597d (diff)
RTP: opus playback
It's possible to play opus payload with libopus (https://opus-codec.org/). Closes #16882. Helped-by: Pascal Quantin <pascal.quantin@gmail.com> Signed-off-by: Lin Sun <lin.sun@zoom.us> Signed-off-by: Yuanzhi Li <ryanlee@mail.ustc.edu.cn>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/nsis/CMakeLists.txt2
-rw-r--r--packaging/nsis/wireshark.nsi1
-rw-r--r--packaging/rpm/wireshark.spec.in9
-rw-r--r--packaging/wix/CMakeLists.txt4
-rw-r--r--packaging/wix/Plugins.wxi6
5 files changed, 18 insertions, 4 deletions
diff --git a/packaging/nsis/CMakeLists.txt b/packaging/nsis/CMakeLists.txt
index d01841eee9..87a35a75db 100644
--- a/packaging/nsis/CMakeLists.txt
+++ b/packaging/nsis/CMakeLists.txt
@@ -150,7 +150,7 @@ foreach(_dll ${CARES_DLL} ${GCRYPT_DLLS}
${GNUTLS_DLLS} ${KERBEROS_DLLS} ${LIBSSH_DLL} ${LUA_DLL}
${LZ4_DLL} ${NGHTTP2_DLL} ${SBC_DLL} ${SMI_DLL} ${SNAPPY_DLL}
${SPANDSP_DLL} ${BCG729_DLL} ${LIBXML2_DLLS} ${WINSPARKLE_DLL}
- ${ZLIB_DLL} ${BROTLI_DLLS} ${ZSTD_DLL} ${ILBC_DLL}
+ ${ZLIB_DLL} ${BROTLI_DLLS} ${ZSTD_DLL} ${ILBC_DLL} ${OPUS_DLL}
# Needed for mmdbresolve
${MAXMINDDB_DLL}
)
diff --git a/packaging/nsis/wireshark.nsi b/packaging/nsis/wireshark.nsi
index d99eca2675..f96a14a574 100644
--- a/packaging/nsis/wireshark.nsi
+++ b/packaging/nsis/wireshark.nsi
@@ -1058,6 +1058,7 @@ File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\codecs\g729.dll"
File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\codecs\l16mono.dll"
File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\codecs\sbc.dll"
File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\codecs\ilbc.dll"
+File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\codecs\opus_dec.dll"
SectionEnd
Section "Configuration Profiles" SecProfiles
diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in
index 61e42be0c8..6ca197818d 100644
--- a/packaging/rpm/wireshark.spec.in
+++ b/packaging/rpm/wireshark.spec.in
@@ -21,6 +21,7 @@
%bcond_with brotli
%bcond_with zstd
%bcond_with ilbc
+%bcond_with opus
# Set at most one of these two:
# Note that setcap requires rpmbuild 4.7.0 or later.
@@ -350,6 +351,11 @@ cmake3 \
%else
-DENABLE_ILBC=OFF \
%endif
+%if %{with opus}
+ -DENABLE_OPUS=ON \
+%else
+ -DENABLE_OPUS=OFF \
+%endif
%if %{with ninja}
# Older RPM-based distributions used ninja-build in order to prevent a collision with
@@ -507,6 +513,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_libdir}/pkgconfig/wireshark.pc
%changelog
+* Tue Sep 29 2020 Lin Sun
+- Added opus codec as an option
+
* Sun Jan 19 2020 Jiri Novak
- Added ilbc codec as an option
diff --git a/packaging/wix/CMakeLists.txt b/packaging/wix/CMakeLists.txt
index eb625ebc10..b50975f431 100644
--- a/packaging/wix/CMakeLists.txt
+++ b/packaging/wix/CMakeLists.txt
@@ -135,7 +135,7 @@ foreach(_dll ${CARES_DLL} ${GCRYPT_DLLS}
${GNUTLS_DLLS} ${KERBEROS_DLLS} ${LIBSSH_DLL} ${LUA_DLL}
${LZ4_DLL} ${NGHTTP2_DLL} ${SBC_DLL} ${SMI_DLL} ${SNAPPY_DLL}
${SPANDSP_DLL} ${BCG729_DLL} ${LIBXML2_DLLS} ${WINSPARKLE_DLL}
- ${ZLIB_DLL} ${BROTLI_DLLS} ${ZSTD_DLL} ${ILBC_DLL}
+ ${ZLIB_DLL} ${BROTLI_DLLS} ${ZSTD_DLL} ${ILBC_DLL} ${OPUS_DLL}
# Required for mmdbresolve
${MAXMINDDB_DLL}
)
@@ -174,7 +174,7 @@ foreach(_dll ${CARES_DLL} ${GCRYPT_DLLS}
${GNUTLS_DLLS} ${KERBEROS_DLLS} ${LIBSSH_DLL} ${LUA_DLL}
${LZ4_DLL} ${NGHTTP2_DLL} ${SBC_DLL} ${SMI_DLL} ${SNAPPY_DLL}
${SPANDSP_DLL} ${BCG729_DLL} ${LIBXML2_DLLS} ${WINSPARKLE_DLL}
- ${ZLIB_DLL} ${BROTLI_DLLS} ${ZSTD_DLL} ${ILBC_DLL}
+ ${ZLIB_DLL} ${BROTLI_DLLS} ${ZSTD_DLL} ${ILBC_DLL} ${OPUS_DLL}
# mmdbresolve
${MAXMINDDB_DLL}
)
diff --git a/packaging/wix/Plugins.wxi b/packaging/wix/Plugins.wxi
index 384acd7e1d..e6dfd04fa0 100644
--- a/packaging/wix/Plugins.wxi
+++ b/packaging/wix/Plugins.wxi
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Include>
<!-- Plugins -->
@@ -129,6 +129,9 @@
<Component Id="cmpILBC_dll" Guid="*">
<File Id="filILBC_dll" KeyPath="yes" Source="$(var.Plugins.Dir)\$(var.WiresharkMajorVersion).$(var.WiresharkMinorVersion)\codecs\ilbc.dll" />
</Component>
+ <Component Id="cmpOPUS_dll" Guid="*">
+ <File Id="filOPUS_dll" KeyPath="yes" Source="$(var.Plugins.Dir)\$(var.WiresharkMajorVersion).$(var.WiresharkMinorVersion)\codecs\opus_dec.dll" />
+ </Component>
</DirectoryRef>
</Fragment>
<Fragment>
@@ -140,6 +143,7 @@
<ComponentRef Id="cmpL16mono_dll" />
<ComponentRef Id="cmpSBC_dll" />
<ComponentRef Id="cmpILBC_dll" />
+ <ComponentRef Id="cmpOPUS_dll" />
</ComponentGroup>
</Fragment>