[libsndfile] Remove docs (#26017)

* [libsndfile] Remove docs

* version

* `PYTHON_EXECUTABLE` is only used with `BUILD_SHARED_LIBS`

* version

* Fix license

* version

* license

* version
This commit is contained in:
Thomas1664 2022-07-29 21:57:10 +02:00 committed by GitHub
parent 67029c5d3d
commit 281d2f2dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 8 deletions

View File

@ -26,7 +26,7 @@ if(VCPKG_TARGET_IS_UWP)
endif() endif()
vcpkg_cmake_configure( vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH "${SOURCE_PATH}"
OPTIONS OPTIONS
-DBUILD_EXAMPLES=OFF -DBUILD_EXAMPLES=OFF
-DBUILD_TESTING=OFF -DBUILD_TESTING=OFF
@ -36,6 +36,8 @@ vcpkg_cmake_configure(
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
-DPYTHON_EXECUTABLE=${PYTHON3} -DPYTHON_EXECUTABLE=${PYTHON3}
${FEATURE_OPTIONS} ${FEATURE_OPTIONS}
MAYBE_UNUSED_VARIABLES
PYTHON_EXECUTABLE
) )
vcpkg_cmake_install() vcpkg_cmake_install()
@ -46,13 +48,13 @@ else()
set(CONFIG_PATH lib/cmake/SndFile) set(CONFIG_PATH lib/cmake/SndFile)
endif() endif()
vcpkg_cmake_config_fixup(PACKAGE_NAME SndFile CONFIG_PATH ${CONFIG_PATH}) vcpkg_cmake_config_fixup(PACKAGE_NAME SndFile CONFIG_PATH "${CONFIG_PATH}")
vcpkg_fixup_pkgconfig(SYSTEM_LIBRARIES m) vcpkg_fixup_pkgconfig(SYSTEM_LIBRARIES m)
vcpkg_copy_pdbs() vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
# Handle copyright file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -1,9 +1,10 @@
{ {
"name": "libsndfile", "name": "libsndfile",
"version-semver": "1.1.0", "version-semver": "1.1.0",
"port-version": 1,
"description": "A library for reading and writing audio files", "description": "A library for reading and writing audio files",
"homepage": "https://github.com/erikd/libsndfile", "homepage": "https://github.com/erikd/libsndfile",
"license": "LGPL-2.1", "license": "LGPL-2.1-or-later",
"dependencies": [ "dependencies": [
{ {
"name": "vcpkg-cmake", "name": "vcpkg-cmake",

View File

@ -4078,7 +4078,7 @@
}, },
"libsndfile": { "libsndfile": {
"baseline": "1.1.0", "baseline": "1.1.0",
"port-version": 0 "port-version": 1
}, },
"libsnoretoast": { "libsnoretoast": {
"baseline": "0.8.0", "baseline": "0.8.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "ee6720c9ecc42994e16325893fcc740b28210533",
"version-semver": "1.1.0",
"port-version": 1
},
{ {
"git-tree": "1ec8249a4721dda26735a12603defe2aa680c264", "git-tree": "1ec8249a4721dda26735a12603defe2aa680c264",
"version-semver": "1.1.0", "version-semver": "1.1.0",