mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 22:14:56 +08:00
Fix incorrect library name in jasper.pc (#31158)
This commit is contained in:
parent
13a0b7ba8d
commit
1c0b81956d
13
ports/jasper/fix-library-name.patch
Normal file
13
ports/jasper/fix-library-name.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/build/jasper.pc.in b/build/jasper.pc.in
|
||||
index a4ce38f..a9a7bc4 100644
|
||||
--- a/build/jasper.pc.in
|
||||
+++ b/build/jasper.pc.in
|
||||
@@ -6,7 +6,7 @@ Name: JasPer
|
||||
Description: Image Processing/Coding Tool Kit with JPEG-2000 Support
|
||||
Version: @JAS_VERSION@
|
||||
|
||||
-Libs: -L${libdir} -ljasper
|
||||
+Libs: -L${libdir} -ljasper@CMAKE_DEBUG_POSTFIX@
|
||||
Requires.private: @JAS_PKGCONFIG_REQUIRES@
|
||||
Cflags: -I${includedir}/jasper -I${includedir}
|
||||
Cflags.private: -DLIBJASPER_STATIC_DEFINE
|
@ -6,6 +6,7 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
no_stdc_check.patch
|
||||
fix-library-name.patch
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
@ -42,4 +43,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE.txt)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "jasper",
|
||||
"version": "4.0.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Open source implementation of the JPEG-2000 Part-1 standard",
|
||||
"homepage": "https://github.com/jasper-software/jasper",
|
||||
"license": null,
|
||||
|
@ -3398,7 +3398,7 @@
|
||||
},
|
||||
"jasper": {
|
||||
"baseline": "4.0.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"jbig2dec": {
|
||||
"baseline": "0.19",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d7f51c26899ba9433a5a3ab92fc5b5887d5c764c",
|
||||
"version": "4.0.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "1da5fa9a12bf207bf641f903856418e3aed7258d",
|
||||
"version": "4.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user