aboutsummaryrefslogtreecommitdiff
path: root/ports/pango
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2020-06-24 05:28:19 +0800
committerGitHub <noreply@github.com>2020-06-23 14:28:19 -0700
commitdb748954976decfe9393f5505bf89587399f4902 (patch)
treef73a5293a1f0a7910f0faf880d9db9fdae83b09c /ports/pango
parent36bb6f02e9f9925ed83593b4f2c8569f6f5a4c0d (diff)
downloadvcpkg-db748954976decfe9393f5505bf89587399f4902.tar.gz
vcpkg-db748954976decfe9393f5505bf89587399f4902.zip
[cairo] Fix error in static build (#11829)
* [cairo] Fix error in static build * Fix Typo * [pango] Update dependency cairo as cairo[gobject] to solve the regressions * Update ports/cairo/portfile.cmake Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update ports/cairo/CMakeLists.txt * [pango] Update dependency * Update * Remove redundant target * Post the message for feature gobject only in static build on Windows Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Diffstat (limited to 'ports/pango')
-rw-r--r--ports/pango/CONTROL4
-rw-r--r--ports/pango/portfile.cmake5
2 files changed, 3 insertions, 6 deletions
diff --git a/ports/pango/CONTROL b/ports/pango/CONTROL
index 72b2aaa10..2e1d6679e 100644
--- a/ports/pango/CONTROL
+++ b/ports/pango/CONTROL
@@ -1,5 +1,5 @@
Source: pango
-Version: 1.40.11-6
+Version: 1.40.11-7
Homepage: https://ftp.gnome.org/pub/GNOME/sources/pango/
Description: Text and font handling library.
-Build-Depends: glib, gettext, cairo, fontconfig, freetype, harfbuzz[glib] (!(windows&static)&!osx)
+Build-Depends: glib, gettext, cairo[gobject], fontconfig, freetype, harfbuzz[glib] (!(windows&static)&!osx)
diff --git a/ports/pango/portfile.cmake b/ports/pango/portfile.cmake
index 699343fdc..475d49f01 100644
--- a/ports/pango/portfile.cmake
+++ b/ports/pango/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
set(PANGO_VERSION 1.40.11)
vcpkg_download_distfile(ARCHIVE
URLS "http://ftp.gnome.org/pub/GNOME/sources/pango/1.40/pango-${PANGO_VERSION}.tar.xz"
@@ -25,5 +23,4 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_copy_pdbs()
-file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/pango)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/pango/COPYING ${CURRENT_PACKAGES_DIR}/share/pango/copyright)
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file