[libpng] update to 1.6.29

This commit is contained in:
Mikhail Paulyshka 2017-06-20 02:03:27 +03:00
parent 34c08e2b15
commit 98d98683f3
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
Source: libpng
Version: 1.6.28-1
Version: 1.6.29-1
Build-Depends: zlib
Description: libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files.

View File

@ -1,10 +1,11 @@
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
URLS "https://downloads.sourceforge.net/project/libpng/libpng16/1.6.28/libpng-1.6.28.tar.xz"
FILENAME "libpng-1.6.28.tar.xz"
SHA512 3541139062a1c6cded7abe378ae73519835ec68561006ba33b3fe34f65676e4f91f2561b11d890ac20255dbf2e691e0b3d4fbf11db77b47b67979ba45b8af655
URLS "https://downloads.sourceforge.net/project/libpng/libpng16/${LIBPNG_VERSION}/libpng-${LIBPNG_VERSION}.tar.xz"
FILENAME "libpng-${LIBPNG_VERSION}.tar.xz"
SHA512 070393423ec11f19e3264a0200959ae09238aa005615571586987253028b4ffb7e6b7c734a132f65180252b0259f79add03896d79fdc7dcfd8773b82c82a5ffc
)
vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_apply_patches(
@ -35,6 +36,7 @@ vcpkg_configure_cmake(
-DSKIP_INSTALL_HEADERS=ON
)
vcpkg_build_cmake()
vcpkg_install_cmake()
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)