mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 14:37:51 +08:00
[portaudio] Switch to vcpkg_from_github, minor format improvements (#18065)
* Add portaudio:: namespace * Switch from vcpkg_from_git to vcpkg_from_github * Convert portfile to unix line-endings * Increase port-version of portaudio * Update version hash of portaudio * Remove namespace patch Signed-off-by: Hendrik <git@h3ndrk.de> * Update version hash of portaudio * Fix indent issue * Update the baseline version * Fix the port version * Fix baseline version * Remove redundant tag in portfile * Update version hash of portaudio Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
This commit is contained in:
parent
e2d1022400
commit
c9ba340993
@ -1,8 +1,8 @@
|
|||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
index 1024016..266e6d5 100644
|
index 122fe93..b571c38 100644
|
||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
||||||
@@ -352,11 +352,6 @@ ENDIF()
|
@@ -360,11 +360,6 @@ ENDIF()
|
||||||
# embedded builds this is not an issue as they will only build the configuration
|
# embedded builds this is not an issue as they will only build the configuration
|
||||||
# used in the host application.
|
# used in the host application.
|
||||||
MARK_AS_ADVANCED(PA_LIBNAME_ADD_SUFFIX)
|
MARK_AS_ADVANCED(PA_LIBNAME_ADD_SUFFIX)
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
vcpkg_fail_port_install(ON_TARGET "uwp")
|
vcpkg_fail_port_install(ON_TARGET "uwp")
|
||||||
vcpkg_from_git(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
URL https://github.com/PortAudio/portaudio.git
|
REPO PortAudio/portaudio
|
||||||
REF 147dd722548358763a8b649b3e4b41dfffbcfbb6
|
REF 147dd722548358763a8b649b3e4b41dfffbcfbb6
|
||||||
TAG v19.7.0
|
SHA512 0f56e5f5b004f51915f29771b8fc1fe886f1fef5d65ab5ea1db43f43c49917476b9eec14b36aa54d3e9fb4d8bdf61e68c79624d00b7e548d4c493395a758233a
|
||||||
PATCHES
|
PATCHES
|
||||||
fix-library-can-not-be-found.patch
|
fix-library-can-not-be-found.patch
|
||||||
)
|
)
|
||||||
@ -17,7 +17,7 @@ vcpkg_configure_cmake(
|
|||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
PREFER_NINJA
|
PREFER_NINJA
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DPA_USE_DS=ON
|
-DPA_USE_DS=ON
|
||||||
-DPA_USE_WASAPI=ON
|
-DPA_USE_WASAPI=ON
|
||||||
-DPA_USE_WDMKS=ON
|
-DPA_USE_WDMKS=ON
|
||||||
-DPA_USE_WMME=ON
|
-DPA_USE_WMME=ON
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "portaudio",
|
"name": "portaudio",
|
||||||
"version": "19.7",
|
"version": "19.7",
|
||||||
|
"port-version": 1,
|
||||||
"description": "PortAudio Portable Cross-platform Audio I/O API PortAudio is a free, cross-platform, open-source, audio I/O library. It lets you write simple audio programs in 'C' or C++ that will compile and run on many platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is intended to promote the exchange of audio software between developers on different platforms. Many applications use PortAudio for Audio I/O.",
|
"description": "PortAudio Portable Cross-platform Audio I/O API PortAudio is a free, cross-platform, open-source, audio I/O library. It lets you write simple audio programs in 'C' or C++ that will compile and run on many platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is intended to promote the exchange of audio software between developers on different platforms. Many applications use PortAudio for Audio I/O.",
|
||||||
"homepage": "http://www.portaudio.com",
|
"homepage": "http://www.portaudio.com",
|
||||||
"supports": "!uwp"
|
"supports": "!uwp"
|
||||||
|
@ -4946,7 +4946,7 @@
|
|||||||
},
|
},
|
||||||
"portaudio": {
|
"portaudio": {
|
||||||
"baseline": "19.7",
|
"baseline": "19.7",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"portmidi": {
|
"portmidi": {
|
||||||
"baseline": "0.234",
|
"baseline": "0.234",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "d6254fa08fb9fd57617978cdc98a3890bc1205d1",
|
||||||
|
"version": "19.7",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "649b9ae44725c4e6fb4dd012f6202415424ffb1f",
|
"git-tree": "649b9ae44725c4e6fb4dd012f6202415424ffb1f",
|
||||||
"version": "19.7",
|
"version": "19.7",
|
||||||
|
Loading…
Reference in New Issue
Block a user