[libsamplerate] Delete docs (#28551)

* [libsamplerate] Delete docs

* version
This commit is contained in:
Thomas1664 2022-12-27 10:01:50 +01:00 committed by GitHub
parent 10c0262c26
commit c8fa9ac743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 11 deletions

View File

@ -6,22 +6,22 @@ vcpkg_from_github(
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
-DLIBSAMPLERATE_EXAMPLES=OFF
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/SampleRate TARGET_PATH share/SampleRate)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/SampleRate PACKAGE_NAME SampleRate)
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
vcpkg_copy_pdbs()

View File

@ -1,6 +1,18 @@
{
"name": "libsamplerate",
"version-string": "0.2.2",
"version": "0.2.2",
"port-version": 1,
"description": "Sample Rate Converter for audio",
"homepage": "http://libsndfile.github.io/libsamplerate/"
"homepage": "http://libsndfile.github.io/libsamplerate/",
"license": "BSD-2-Clause",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -4194,7 +4194,7 @@
},
"libsamplerate": {
"baseline": "0.2.2",
"port-version": 0
"port-version": 1
},
"libsass": {
"baseline": "3.6.5",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f21f2fca566e762cdc4fb4b808b075f3c5d3b444",
"version": "0.2.2",
"port-version": 1
},
{
"git-tree": "bb3644f62b521a50eebc5ede8718fc0669b1f6b5",
"version-string": "0.2.2",