mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[libogg] Disable tests (#28526)
* [libogg] Disable license * [libogg] Disable license * version
This commit is contained in:
parent
16b7b6626d
commit
38b53e80eb
@ -8,23 +8,24 @@ vcpkg_from_gitlab(
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_IS_MINGW)
|
||||
vcpkg_replace_string(${SOURCE_PATH}/win32/ogg.def "LIBRARY ogg" "LIBRARY libogg")
|
||||
vcpkg_replace_string("${SOURCE_PATH}/win32/ogg.def" "LIBRARY ogg" "LIBRARY libogg")
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS -DINSTALL_DOCS=0 -DINSTALL_PKG_CONFIG_MODULE=1
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DINSTALL_DOCS=OFF
|
||||
-DINSTALL_PKG_CONFIG_MODULE=ON
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Ogg TARGET_PATH share/ogg)
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Ogg PACKAGE_NAME ogg)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
|
@ -1,6 +1,18 @@
|
||||
{
|
||||
"name": "libogg",
|
||||
"version": "1.3.5",
|
||||
"port-version": 1,
|
||||
"description": "Ogg is a multimedia container format, and the native file and stream format for the Xiph.org multimedia codecs.",
|
||||
"homepage": "https://www.xiph.org/ogg"
|
||||
"homepage": "https://www.xiph.org/ogg",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -4062,7 +4062,7 @@
|
||||
},
|
||||
"libogg": {
|
||||
"baseline": "1.3.5",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libopenmpt": {
|
||||
"baseline": "0.5.12",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "98e27727c32704393494d32615c25b7b16eb3067",
|
||||
"version": "1.3.5",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "70cb700f89c98b87d678a3aa7a14461eff4b99e4",
|
||||
"version": "1.3.5",
|
||||
|
Loading…
Reference in New Issue
Block a user