diff --git a/ports/libpng/portfile.cmake b/ports/libpng/portfile.cmake index 87dce11ec7..d4fd56694a 100644 --- a/ports/libpng/portfile.cmake +++ b/ports/libpng/portfile.cmake @@ -66,6 +66,10 @@ if(VCPKG_TARGET_IS_ANDROID) endif() endif() +if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" AND VCPKG_TARGET_IS_LINUX) + vcpkg_list(APPEND LIBPNG_HARDWARE_OPTIMIZATIONS_OPTION "-DPNG_ARM_NEON=on") +endif() + vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS diff --git a/ports/libpng/vcpkg.json b/ports/libpng/vcpkg.json index 1502185df3..e739e88a03 100644 --- a/ports/libpng/vcpkg.json +++ b/ports/libpng/vcpkg.json @@ -1,6 +1,7 @@ { "name": "libpng", "version": "1.6.43", + "port-version": 1, "description": "libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files", "homepage": "https://github.com/glennrp/libpng", "license": "libpng-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index 9f7bcefad6..97f6c3a40c 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4806,7 +4806,7 @@ }, "libpng": { "baseline": "1.6.43", - "port-version": 0 + "port-version": 1 }, "libpopt": { "baseline": "1.16", diff --git a/versions/l-/libpng.json b/versions/l-/libpng.json index c9192d6871..498dae870f 100644 --- a/versions/l-/libpng.json +++ b/versions/l-/libpng.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "1b0781214ef5a3497d0e7db2c0ed7f7fae74248b", + "version": "1.6.43", + "port-version": 1 + }, { "git-tree": "8673cfd41804628ce52c499b8d23c5696104ec47", "version": "1.6.43",