2020-08-08 06:38:18 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO strukturag/libheif
|
2021-10-27 14:42:55 +08:00
|
|
|
REF 56c8a2613370562fc330af2c70c1510aa5fd9ff6 #v1.12.0
|
|
|
|
SHA512 11ac7f32d1f49963046b1a4479a41f39004475211563ba7f41b2398f07f7b4d90339ea663e528b3cc80deeef1fff374987208d48b447116a806564ef05487e97
|
2020-08-08 06:38:18 +08:00
|
|
|
HEAD_REF master
|
2021-05-21 15:31:48 +08:00
|
|
|
PATCHES
|
|
|
|
gdk-pixbuf.patch
|
2020-08-08 06:38:18 +08:00
|
|
|
)
|
|
|
|
|
2021-10-27 14:42:55 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-11-21 03:48:17 +08:00
|
|
|
OPTIONS
|
|
|
|
-DWITH_EXAMPLES=OFF
|
2021-05-21 15:31:48 +08:00
|
|
|
-DWITH_DAV1D=OFF
|
2020-08-08 06:38:18 +08:00
|
|
|
)
|
2021-10-27 14:42:55 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-05-08 06:27:34 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2021-10-27 14:42:55 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libheif/)
|
2021-05-08 06:27:34 +08:00
|
|
|
|
2020-08-08 06:38:18 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
2021-05-08 06:27:34 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|