jurihock / stftPitchShift

STFT based real-time pitch and timbre shifting in C++ and Python
MIT License
115 stars 14 forks source link

Add vcpkg port #13

Closed jurihock closed 2 years ago

jurihock commented 2 years ago

Just keep it as simple as possible:

Changes:

jurihock commented 2 years ago

Vcpkg pull request 24529 is in progress...

Test Modified Ports for ... windows

Import libs were not present in D:\packages\stftpitchshift_x64-windows\debug\lib
If this is intended, add the following line in the portfile:
    SET(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
Import libs were not present in D:\packages\stftpitchshift_x64-windows\lib
If this is intended, add the following line in the portfile:
    SET(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
The following DLLs have no exports:

    D:/packages/stftpitchshift_x64-windows/debug/bin/stftpitchshift.dll
    D:/packages/stftpitchshift_x64-windows/bin/stftpitchshift.dll

DLLs without any exports are likely a bug in the build script.
If this is intended, add the following line in the portfile:
    SET(VCPKG_POLICY_DLLS_WITHOUT_EXPORTS enabled)
There should be no empty directories in D:\packages\stftpitchshift_x64-windows
The following empty directories were found:

    D:/packages/stftpitchshift_x64-windows/debug/lib
    D:/packages/stftpitchshift_x64-windows/lib

If a directory should be populated but is not, this might indicate an error in the portfile.
If the directories are not needed and their creation cannot be disabled, use something like this in the portfile to remove them:

    file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}\debug\lib" "${CURRENT_PACKAGES_DIR}\lib")

Validate version files

Found the following errors:
##[error]While validating port stftpitchshift.
Missing expected versions file at: C:\a\1\s\versions\s-\stftpitchshift.json
Run:

    vcpkg x-add-version stftpitchshift

to create the versions file.

To attempt to resolve all errors at once, run:

    vcpkg x-add-version --all
jurihock commented 2 years ago

The initial pull request is finally merged. The upcoming release 1.4 will be pushed separately as it gets ready...

jurihock commented 2 years ago

The CMake package config file will be included in the vcpkg, so find_package(stftpitchshift) should work now...