Skip to content

Commit

Permalink
[libwebp] update to 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ivysnow committed Jan 19, 2018
1 parent e44c1b2 commit a234842
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 42 deletions.
21 changes: 0 additions & 21 deletions ports/libwebp/0001-add-install-to-cmake.patch

This file was deleted.

12 changes: 0 additions & 12 deletions ports/libwebp/0002-add-missing-directory-to-cmake.patch

This file was deleted.

2 changes: 1 addition & 1 deletion ports/libwebp/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: libwebp
Version: 0.6.0-2
Version: 0.6.1
Description: Lossy compression of digital photographic images.
12 changes: 4 additions & 8 deletions ports/libwebp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(vcpkg_common_functions)

set(WEBP_VERSION 0.6.0)
set(WEBP_HASH 59491b3837c7c96e56407c479722ad48b08b6133b123b61f66c5f0b61a1e8222ed20006b5c6fc708791bed72ac65e707aa25635e07fd11c81f26cc1e23892f48)
set(WEBP_VERSION 0.6.1)
set(WEBP_HASH f2512db136c9d9a455463134df1aff427f9d603aedd4cabd97ad26f3fa717806427f10a3162a94322900f2457268c867f1b655fc2a6a99d58c4141145979797a)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libwebp-${WEBP_VERSION})

vcpkg_download_distfile(ARCHIVE
Expand All @@ -11,12 +11,6 @@ vcpkg_download_distfile(ARCHIVE
)
vcpkg_extract_source_archive(${ARCHIVE})

vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES ${CMAKE_CURRENT_LIST_DIR}/0001-add-install-to-cmake.patch
${CMAKE_CURRENT_LIST_DIR}/0002-add-missing-directory-to-cmake.patch
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
Expand All @@ -29,6 +23,8 @@ vcpkg_build_cmake()
vcpkg_install_cmake()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share)

# Handle copyright
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libwebp)
Expand Down

0 comments on commit a234842

Please sign in to comment.