mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 18:39:07 +08:00
[libpng] update to 1.6.29
This commit is contained in:
parent
34c08e2b15
commit
98d98683f3
@ -1,4 +1,4 @@
|
|||||||
Source: libpng
|
Source: libpng
|
||||||
Version: 1.6.28-1
|
Version: 1.6.29-1
|
||||||
Build-Depends: zlib
|
Build-Depends: zlib
|
||||||
Description: libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files.
|
Description: libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files.
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
include(vcpkg_common_functions)
|
include(vcpkg_common_functions)
|
||||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libpng-1.6.28)
|
set(LIBPNG_VERSION 1.6.29)
|
||||||
|
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libpng-${LIBPNG_VERSION})
|
||||||
|
|
||||||
vcpkg_download_distfile(ARCHIVE
|
vcpkg_download_distfile(ARCHIVE
|
||||||
URLS "https://downloads.sourceforge.net/project/libpng/libpng16/1.6.28/libpng-1.6.28.tar.xz"
|
URLS "https://downloads.sourceforge.net/project/libpng/libpng16/${LIBPNG_VERSION}/libpng-${LIBPNG_VERSION}.tar.xz"
|
||||||
FILENAME "libpng-1.6.28.tar.xz"
|
FILENAME "libpng-${LIBPNG_VERSION}.tar.xz"
|
||||||
SHA512 3541139062a1c6cded7abe378ae73519835ec68561006ba33b3fe34f65676e4f91f2561b11d890ac20255dbf2e691e0b3d4fbf11db77b47b67979ba45b8af655
|
SHA512 070393423ec11f19e3264a0200959ae09238aa005615571586987253028b4ffb7e6b7c734a132f65180252b0259f79add03896d79fdc7dcfd8773b82c82a5ffc
|
||||||
)
|
)
|
||||||
vcpkg_extract_source_archive(${ARCHIVE})
|
vcpkg_extract_source_archive(${ARCHIVE})
|
||||||
vcpkg_apply_patches(
|
vcpkg_apply_patches(
|
||||||
@ -35,6 +36,7 @@ vcpkg_configure_cmake(
|
|||||||
-DSKIP_INSTALL_HEADERS=ON
|
-DSKIP_INSTALL_HEADERS=ON
|
||||||
)
|
)
|
||||||
|
|
||||||
|
vcpkg_build_cmake()
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
|
||||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||||
|
Loading…
Reference in New Issue
Block a user