mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[libflac] Disable man pages (#26016)
* [libflac] Remove documentation * version * [libflac] Disable man pages * version * man already removed * version
This commit is contained in:
parent
cf2e61b0f7
commit
768932ab5b
@ -19,12 +19,8 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if("asm" IN_LIST FEATURES)
|
if("asm" IN_LIST FEATURES)
|
||||||
if(NOT VCPKG_TARGET_ARCHITECTURE STREQUAL x86)
|
|
||||||
message(FATAL_ERROR "Feature asm only supports x86 architecture.")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
VCPKG_FIND_ACQUIRE_PROGRAM(NASM)
|
VCPKG_FIND_ACQUIRE_PROGRAM(NASM)
|
||||||
GET_FILENAME_COMPONENT(NASM_PATH ${NASM} DIRECTORY)
|
GET_FILENAME_COMPONENT(NASM_PATH "${NASM}" DIRECTORY)
|
||||||
vcpkg_add_to_path("${NASM_PATH}")
|
vcpkg_add_to_path("${NASM_PATH}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -35,12 +31,15 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
SOURCE_PATH "${SOURCE_PATH}"
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
OPTIONS ${FEATURE_OPTIONS}
|
OPTIONS
|
||||||
|
${FEATURE_OPTIONS}
|
||||||
-DBUILD_PROGRAMS=OFF
|
-DBUILD_PROGRAMS=OFF
|
||||||
-DBUILD_EXAMPLES=OFF
|
-DBUILD_EXAMPLES=OFF
|
||||||
-DBUILD_DOCS=OFF
|
-DBUILD_DOCS=OFF
|
||||||
-DBUILD_TESTING=OFF
|
-DBUILD_TESTING=OFF
|
||||||
-DWITH_STACK_PROTECTOR=${WITH_STACK_PROTECTOR})
|
-DWITH_STACK_PROTECTOR=${WITH_STACK_PROTECTOR}
|
||||||
|
-DINSTALL_MANPAGES=OFF
|
||||||
|
)
|
||||||
|
|
||||||
vcpkg_cmake_install()
|
vcpkg_cmake_install()
|
||||||
|
|
||||||
@ -50,6 +49,7 @@ vcpkg_copy_pdbs()
|
|||||||
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||||
|
file(REMOVE "${CURRENT_PACKAGES_DIR}/share/LICENSE")
|
||||||
|
|
||||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/FLAC/export.h"
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/FLAC/export.h"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "libflac",
|
"name": "libflac",
|
||||||
"version": "1.3.4",
|
"version": "1.3.4",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Library for manipulating FLAC files",
|
"description": "Library for manipulating FLAC files",
|
||||||
"homepage": "https://xiph.org/flac/",
|
"homepage": "https://xiph.org/flac/",
|
||||||
"license": "GFDL-1.2-or-later",
|
"license": "GFDL-1.2-or-later",
|
||||||
@ -17,7 +18,8 @@
|
|||||||
],
|
],
|
||||||
"features": {
|
"features": {
|
||||||
"asm": {
|
"asm": {
|
||||||
"description": "Use any assembly optimization routines"
|
"description": "Use any assembly optimization routines",
|
||||||
|
"supports": "x86"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3622,7 +3622,7 @@
|
|||||||
},
|
},
|
||||||
"libflac": {
|
"libflac": {
|
||||||
"baseline": "1.3.4",
|
"baseline": "1.3.4",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"libfort": {
|
"libfort": {
|
||||||
"baseline": "0.4.2",
|
"baseline": "0.4.2",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "6931704180602d16a54e15759cd6c04739d40699",
|
||||||
|
"version": "1.3.4",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "a3dff2074f8f7a8ac9d8e9c5e78d8cae8538f3ef",
|
"git-tree": "a3dff2074f8f7a8ac9d8e9c5e78d8cae8538f3ef",
|
||||||
"version": "1.3.4",
|
"version": "1.3.4",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user