aboutsummaryrefslogtreecommitdiff
path: root/ports/jbig2dec
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-06-01 01:14:23 +0200
committerVictor Romero <romerosanchezv@gmail.com>2019-05-31 16:14:23 -0700
commitf2e1c52db8fe100ef91313760d6a59a13ac6e05e (patch)
tree17e780562042b10a616e5db9796b8ba780ad7491 /ports/jbig2dec
parent5898891125b00a3ec2b698bc496735ab997669f5 (diff)
downloadvcpkg-f2e1c52db8fe100ef91313760d6a59a13ac6e05e.tar.gz
vcpkg-f2e1c52db8fe100ef91313760d6a59a13ac6e05e.zip
[gdcm,jbig2dec] move patches from #5169 (#6710)
* [gdcm,jbig2dec] minor fixes * [libmupdf] remove wrong vs define * [gdcm] internal libs do not export symbols and fail to build when non-static
Diffstat (limited to 'ports/jbig2dec')
-rw-r--r--ports/jbig2dec/CMakeLists.txt2
-rw-r--r--ports/jbig2dec/CONTROL3
-rw-r--r--ports/jbig2dec/portfile.cmake4
3 files changed, 4 insertions, 5 deletions
diff --git a/ports/jbig2dec/CMakeLists.txt b/ports/jbig2dec/CMakeLists.txt
index a2a8376de..14b1be671 100644
--- a/ports/jbig2dec/CMakeLists.txt
+++ b/ports/jbig2dec/CMakeLists.txt
@@ -3,8 +3,6 @@ project(jbig2dec C)
set(CMAKE_DEBUG_POSTFIX d)
-set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-
file(GLOB SOURCES jbig2*.c)
list(REMOVE_ITEM SOURCES
"${CMAKE_CURRENT_SOURCE_DIR}/jbig2dec.c"
diff --git a/ports/jbig2dec/CONTROL b/ports/jbig2dec/CONTROL
index 4b6a2e2f0..5045673b3 100644
--- a/ports/jbig2dec/CONTROL
+++ b/ports/jbig2dec/CONTROL
@@ -1,4 +1,3 @@
Source: jbig2dec
-Version: 0.16
+Version: 0.16-1
Description: a decoder library and example utility implementing the JBIG2 bi-level image compression spec. Also known as ITU T.88 and ISO IEC 14492, and included by reference in Adobe's PDF version 1.4 and later.
-
diff --git a/ports/jbig2dec/portfile.cmake b/ports/jbig2dec/portfile.cmake
index c54bf69f1..a9d767937 100644
--- a/ports/jbig2dec/portfile.cmake
+++ b/ports/jbig2dec/portfile.cmake
@@ -1,9 +1,11 @@
include(vcpkg_common_functions)
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ArtifexSoftware/jbig2dec
- REF 0.16
+ REF 0.16
SHA512 a8aa1b1f14466104eed412c38604b2450d1acc1c73faaaf81d5211ac7f4d636bf8d177285f6550f1f5211b31d14f1c14d83571e3e899700ebfc9af00912ed874
HEAD_REF master
)