From 50ea8c0ab7aca3bb9245bba7fc877ad2f2a4464c Mon Sep 17 00:00:00 2001 From: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Date: Fri, 1 Jan 2021 03:05:46 +0800 Subject: [PATCH] [graphicsmagick] Add delegates.mgk (#15245) Co-authored-by: Billy Robert O'Neal III --- ports/graphicsmagick/CONTROL | 3 ++- ports/graphicsmagick/portfile.cmake | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ports/graphicsmagick/CONTROL b/ports/graphicsmagick/CONTROL index 01040319a7e..158710f4573 100644 --- a/ports/graphicsmagick/CONTROL +++ b/ports/graphicsmagick/CONTROL @@ -1,5 +1,6 @@ Source: graphicsmagick -Version: 1.3.35-2 +Version: 1.3.35 +Port-Version: 3 Build-Depends: zlib, bzip2, freetype, libjpeg-turbo, libpng, tiff Homepage: https://sourceforge.net/projects/graphicsmagick/ Description: Image processing library diff --git a/ports/graphicsmagick/portfile.cmake b/ports/graphicsmagick/portfile.cmake index c17215ea735..ff4beac8892 100644 --- a/ports/graphicsmagick/portfile.cmake +++ b/ports/graphicsmagick/portfile.cmake @@ -43,4 +43,5 @@ file(READ ${SOURCE_PATH}/config/type-windows.mgk.in TYPE_MGK) string(REPLACE "@windows_font_dir@" "$ENV{SYSTEMROOT}/Fonts/" TYPE_MGK "${TYPE_MGK}") file(WRITE ${CURRENT_PACKAGES_DIR}/share/graphicsmagick/config/type.mgk "${TYPE_MGK}") +configure_file(${SOURCE_PATH}/config/delegates.mgk.in ${CURRENT_PACKAGES_DIR}/share/${PORT}/config/delegates.mgk @ONLY) vcpkg_copy_pdbs()