aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-12-14 10:17:29 -0800
committerGitHub <noreply@github.com>2020-12-14 10:17:29 -0800
commit887fa81c66c37c5ee184ae9cbb40f7ea6fd7bde1 (patch)
tree96cee32c536bd39fa57c8b896e8e25356fc51985
parent43e0f1bce37bff55cd8c29bf304da36a3cff823f (diff)
downloadvcpkg-887fa81c66c37c5ee184ae9cbb40f7ea6fd7bde1.tar.gz
vcpkg-887fa81c66c37c5ee184ae9cbb40f7ea6fd7bde1.zip
[fontconfig] Disable install data files (#15060)
-rw-r--r--ports/fontconfig/CONTROL2
-rw-r--r--ports/fontconfig/disable-install-data.patch14
-rw-r--r--ports/fontconfig/portfile.cmake1
3 files changed, 16 insertions, 1 deletions
diff --git a/ports/fontconfig/CONTROL b/ports/fontconfig/CONTROL
index fcdf2f768..d02960b62 100644
--- a/ports/fontconfig/CONTROL
+++ b/ports/fontconfig/CONTROL
@@ -1,6 +1,6 @@
Source: fontconfig
Version: 2.13.1
-Port-Version: 1
+Port-Version: 2
Homepage: https://www.freedesktop.org/software/fontconfig/front.html
Description: Library for configuring and customizing font access.
Build-Depends: freetype, expat, libiconv, dirent, pthread, json-c, dirent, libuuid (!windows&!osx), gettext \ No newline at end of file
diff --git a/ports/fontconfig/disable-install-data.patch b/ports/fontconfig/disable-install-data.patch
new file mode 100644
index 000000000..e15253264
--- /dev/null
+++ b/ports/fontconfig/disable-install-data.patch
@@ -0,0 +1,14 @@
+diff --git a/po-conf/LINGUAS b/po-conf/LINGUAS
+index 0d5d97c..e7604c1 100644
+--- a/po-conf/LINGUAS
++++ b/po-conf/LINGUAS
+@@ -1,2 +1 @@
+ # Please keep this list sorted alphabetically.
+-zh_CN
+diff --git a/po/LINGUAS b/po/LINGUAS
+index 0d5d97c..e7604c1 100644
+--- a/po/LINGUAS
++++ b/po/LINGUAS
+@@ -1,2 +1 @@
+ # Please keep this list sorted alphabetically.
+-zh_CN
diff --git a/ports/fontconfig/portfile.cmake b/ports/fontconfig/portfile.cmake
index 150bca5e9..cf840dd12 100644
--- a/ports/fontconfig/portfile.cmake
+++ b/ports/fontconfig/portfile.cmake
@@ -14,6 +14,7 @@ vcpkg_from_gitlab(
PATCHES remove_tests.patch
build.patch
build2.patch
+ disable-install-data.patch
${PATCHES}
)