Skip to content

Commit 0f8b8a3

Browse files
Updated libopus to the latest WIP (17 Apr 2025)
1 parent 27caf3b commit 0f8b8a3

File tree

326 files changed

+14
-112150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

326 files changed

+14
-112150
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@
77
[submodule "libs/libogg"]
88
path = libs/libogg
99
url = https://github.com/xiph/ogg
10+
[submodule "libs/libopus"]
11+
path = libs/libopus
12+
url = https://github.com/xiph/opus

CMakeLists.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ add_executable(portamp
6565
set_property(TARGET portamp PROPERTY CXX_STANDARD 14)
6666
set_property(TARGET portamp PROPERTY CXX_STANDARD_REQUIRED ON)
6767

68+
set(OP_DISABLE_HTTP ON CACHE BOOL "")
69+
set(OP_DISABLE_EXAMPLES ON CACHE BOOL "")
70+
set(OP_DISABLE_DOCS ON CACHE BOOL "")
71+
6872
if(MSVC)
6973
add_subdirectory(libs/libogg EXCLUDE_FROM_ALL)
7074
add_subdirectory(libs/libvorbis-1.3.5 EXCLUDE_FROM_ALL)
@@ -75,23 +79,23 @@ if(MSVC)
7579
add_subdirectory(libs/libopus EXCLUDE_FROM_ALL)
7680
add_subdirectory(libs/libopusfile EXCLUDE_FROM_ALL)
7781
target_link_libraries(portamp
78-
libogg
82+
Ogg::ogg
7983
libvorbis
8084
libmodplug
8185
id3v2
8286
libflac
8387
monkeyaudio
84-
libopus
85-
libopusfile
88+
Opus::opus
89+
OpusFile::opusfile
8690
)
87-
set_property(TARGET libogg PROPERTY FOLDER ThirdParty)
91+
set_property(TARGET ogg PROPERTY FOLDER ThirdParty)
8892
set_property(TARGET libvorbis PROPERTY FOLDER ThirdParty)
8993
set_property(TARGET libmodplug PROPERTY FOLDER ThirdParty)
9094
set_property(TARGET libflac PROPERTY FOLDER ThirdParty)
9195
set_property(TARGET id3v2 PROPERTY FOLDER ThirdParty)
9296
set_property(TARGET monkeyaudio PROPERTY FOLDER ThirdParty)
93-
set_property(TARGET libopus PROPERTY FOLDER ThirdParty)
94-
set_property(TARGET libopusfile PROPERTY FOLDER ThirdParty)
97+
set_property(TARGET opus PROPERTY FOLDER ThirdParty)
98+
set_property(TARGET opusfile PROPERTY FOLDER ThirdParty)
9599
elseif(APPLE)
96100
add_subdirectory(libs/libogg EXCLUDE_FROM_ALL)
97101
add_subdirectory(libs/libvorbis-1.3.5 EXCLUDE_FROM_ALL)

libs/libopus

Submodule libopus added at a41a344

libs/libopus/AUTHORS

Lines changed: 0 additions & 6 deletions
This file was deleted.

libs/libopus/CMakeLists.txt

Lines changed: 0 additions & 158 deletions
This file was deleted.

libs/libopus/COPYING

Lines changed: 0 additions & 44 deletions
This file was deleted.

libs/libopus/ChangeLog

Whitespace-only changes.

0 commit comments

Comments
 (0)