early-access version 2853
This commit is contained in:
16
externals/vcpkg/ports/monkeys-audio/fix-project-config.patch
vendored
Executable file
16
externals/vcpkg/ports/monkeys-audio/fix-project-config.patch
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
--- a/Source/Projects/VS2019/MACDll/MACDll.vcxproj 2020-12-23 21:42:15.830541000 +0100
|
||||
+++ b/Source/Projects/VS2019/MACDll/MACDll.vcxproj 2020-12-29 06:07:36.101967600 +0100
|
||||
@@ -74,11 +74,9 @@
|
||||
<_ProjectFileVersion>11.0.50727.1</_ProjectFileVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
- <OutDir>C:\Applications\Cool Edit Pro\</OutDir>
|
||||
+ <OutDir>$(Configuration)\</OutDir>
|
||||
<IntDir>$(Configuration)\</IntDir>
|
||||
- <LinkIncremental>true</LinkIncremental>
|
||||
- <TargetName>APE</TargetName>
|
||||
- <TargetExt>.flt</TargetExt>
|
||||
+ <LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<OutDir>$(Configuration)\</OutDir>
|
||||
42
externals/vcpkg/ports/monkeys-audio/license
vendored
Executable file
42
externals/vcpkg/ports/monkeys-audio/license
vendored
Executable file
@@ -0,0 +1,42 @@
|
||||
Monkey's Audio Program License Agreement
|
||||
========================================
|
||||
|
||||
1. Monkey's Audio is completely free for personal, educational, or commercial use.
|
||||
|
||||
2. Although the software has been tested thoroughly, the author is in no way responsible for
|
||||
damages due to bugs or misuse.
|
||||
|
||||
3. The redistribution of Monkey's Audio is only allowed in cases where the original installer and
|
||||
components therein have not been modified.
|
||||
|
||||
4. The use of Monkey's Audio or any component thereof from another program requires
|
||||
compliance with the 'Monkey's Audio SDK and Source Code License Agreement'.
|
||||
|
||||
5. Installing and using Monkey's Audio signifies the acceptance of these terms. If you do not
|
||||
agree with any of the above terms, you must cease using Monkey's Audio and remove it from
|
||||
your storage device.
|
||||
|
||||
|
||||
Monkey's Audio SDK and Source Code License Agreement
|
||||
====================================================
|
||||
|
||||
1. The Monkey's Audio SDK and source code can be freely used to add APE format playback,
|
||||
encoding, or tagging support to any product, free or commercial.
|
||||
|
||||
2. Monkey's Audio source can be included in GPL and open-source software, although Monkey's
|
||||
Audio itself will not be subjected to external licensing requirements or other viral source
|
||||
restrictions.
|
||||
|
||||
3. Code changes and improvements must be contributed back to the Monkey's Audio project or
|
||||
made freely available, unless exempted by written consent of the author.
|
||||
|
||||
4. Any source code, ideas, or libraries used must be plainly acknowledged in the software using
|
||||
the code.
|
||||
|
||||
5. Although the software has been tested thoroughly, the author is in no way responsible for
|
||||
damages due to bugs or misuse.
|
||||
|
||||
6. If you do not completely agree with all of the previous stipulations, you must cease using this
|
||||
source code and remove it from your storage device.
|
||||
|
||||
All materials and programs copyrighted ©2000-2018 by Matt Ashland
|
||||
71
externals/vcpkg/ports/monkeys-audio/portfile.cmake
vendored
Executable file
71
externals/vcpkg/ports/monkeys-audio/portfile.cmake
vendored
Executable file
@@ -0,0 +1,71 @@
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
|
||||
|
||||
set(MA_VERSION 570)
|
||||
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://monkeysaudio.com/files/MAC_SDK_${MA_VERSION}.zip"
|
||||
"https://web.archive.org/web/20201229182615if_/https://monkeysaudio.com/files/MAC_SDK_570.zip"
|
||||
FILENAME "MAC_SDK_${MA_VERSION}.zip"
|
||||
SHA512 d3b5a10574dde1ea90578959378b87f8a8c94b3cc7198bc51b86f7128d66117d706c191d56a699dce0c2a53b7722e0893cb614f96f9ad725a266a871da587fd4
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive_ex(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
ARCHIVE ${ARCHIVE}
|
||||
NO_REMOVE_ONE_LEVEL
|
||||
PATCHES
|
||||
fix-project-config.patch
|
||||
remove-certificate-step.patch
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
${SOURCE_PATH}/Shared/32
|
||||
${SOURCE_PATH}/Shared/64
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
|
||||
set(PLATFORM Win32)
|
||||
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
set(PLATFORM x64)
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported architecture")
|
||||
endif()
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
vcpkg_install_msbuild(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PROJECT_SUBPATH Source/Projects/VS2019/MACDll/MACDll.vcxproj
|
||||
PLATFORM ${PLATFORM}
|
||||
)
|
||||
else()
|
||||
vcpkg_install_msbuild(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PROJECT_SUBPATH Source/Projects/VS2019/MACLib/MACLib.vcxproj
|
||||
PLATFORM ${PLATFORM}
|
||||
)
|
||||
endif()
|
||||
|
||||
if ("tools" IN_LIST FEATURES)
|
||||
vcpkg_install_msbuild(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PROJECT_SUBPATH Source/Projects/VS2019/Console/Console.vcxproj
|
||||
PLATFORM ${PLATFORM}
|
||||
)
|
||||
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/Console.lib ${CURRENT_PACKAGES_DIR}/debug/lib/Console.lib)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/tools/monkeys-audio/Console.exe ${CURRENT_PACKAGES_DIR}/tools/monkeys-audio/mac.exe)
|
||||
|
||||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/${PORT})
|
||||
endif()
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/MACLib.lib ${CURRENT_PACKAGES_DIR}/debug/lib/MACLib.lib)
|
||||
endif()
|
||||
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/include)
|
||||
file(COPY ${SOURCE_PATH}/Shared/
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/include/monkeys-audio
|
||||
FILES_MATCHING PATTERN "*.h")
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/include/monkeys-audio/MACDll.h)
|
||||
|
||||
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/license DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
24
externals/vcpkg/ports/monkeys-audio/remove-certificate-step.patch
vendored
Executable file
24
externals/vcpkg/ports/monkeys-audio/remove-certificate-step.patch
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
--- a/Source/Projects/VS2019/Console/Console.vcxproj 2020-12-23 21:42:15.672211100 +0100
|
||||
+++ b/Source/Projects/VS2019/Console/Console.vcxproj 2020-12-29 05:29:53.916306700 +0100
|
||||
@@ -180,10 +180,6 @@
|
||||
<DataExecutionPrevention />
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
- <PostBuildEvent>
|
||||
- <Command>C:\MAC\Current\Source\Certificate\signtool.exe sign /t http://timestamp.digicert.com /f C:\MAC\Current\Source\Certificate\MAC3.pfx /p password /v "$(TargetPath)"
|
||||
-C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Certificate\MAC3.pfx /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 /fd sha256 /a /as /p password "$(TargetPath)"</Command>
|
||||
- </PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Midl>
|
||||
@@ -273,10 +269,6 @@
|
||||
<DataExecutionPrevention />
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
- <PostBuildEvent>
|
||||
- <Command>C:\MAC\Current\Source\Certificate\signtool.exe sign /t http://timestamp.digicert.com /f C:\MAC\Current\Source\Certificate\MAC3.pfx /p password /v "$(TargetPath)"
|
||||
-C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Certificate\MAC3.pfx /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 /fd sha256 /a /as /p password "$(TargetPath)"</Command>
|
||||
- </PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\..\Console\Console.cpp">
|
||||
16
externals/vcpkg/ports/monkeys-audio/vcpkg.json
vendored
Executable file
16
externals/vcpkg/ports/monkeys-audio/vcpkg.json
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "monkeys-audio",
|
||||
"version": "5.70",
|
||||
"port-version": 2,
|
||||
"description": [
|
||||
"Monkey's Audio is an excellent audio compression tool which has multiple advantages over traditional methods.",
|
||||
"Audio files compressed with it end with .ape extension."
|
||||
],
|
||||
"homepage": "https://monkeysaudio.com",
|
||||
"supports": "!(uwp | osx | linux)",
|
||||
"features": {
|
||||
"tools": {
|
||||
"description": "Build monkeys-audio tools"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user