Skip to content

Commit

Permalink
[speex] don't use deprecated vcpkg functions
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Jan 12, 2022
1 parent 9720d27 commit 7cfb590
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
5 changes: 2 additions & 3 deletions ports/speex/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ vcpkg_from_github(
if(VCPKG_TARGET_IS_WINDOWS)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")

vcpkg_configure_cmake(
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
)
vcpkg_install_cmake()
vcpkg_cmake_install()

if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/speex/speex.h"
Expand Down
13 changes: 10 additions & 3 deletions ports/speex/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"name": "speex",
"version-string": "1.2.0",
"port-version": 9,
"version": "1.2.0",
"port-version": 10,
"description": "Speex is an Open Source/Free Software patent-free audio compression format designed for speech.",
"homepage": "https://github.com/xiph/speex"
"homepage": "https://github.com/xiph/speex",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true,
"platform": "windows"
}
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6534,7 +6534,7 @@
},
"speex": {
"baseline": "1.2.0",
"port-version": 9
"port-version": 10
},
"speexdsp": {
"baseline": "1.2.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/s-/speex.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0f443cef71fd44439aa559063a219da440f6665d",
"version": "1.2.0",
"port-version": 10
},
{
"git-tree": "8713e87cf40c60307dfdef2102392b97cb3b4c3d",
"version-string": "1.2.0",
Expand Down

0 comments on commit 7cfb590

Please sign in to comment.