Skip to content

Commit

Permalink
(#24443) pdf-writer: add version 4.6.6
Browse files Browse the repository at this point in the history
* pdf-writer: add version 4.6.2

* update 4.6.6

* update config.yml
  • Loading branch information
toge authored Jul 1, 2024
1 parent 3458c85 commit ed0dc04
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
7 changes: 7 additions & 0 deletions recipes/pdf-writer/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"4.6.6":
url: "https://github.com/galkahana/PDF-Writer/archive/refs/tags/v4.6.6.tar.gz"
sha256: "8343820313e553052df68c75fe2bf35353da2719106e81eb2a8b026ff96c7d7c"
"4.6.4":
url: "https://github.com/galkahana/PDF-Writer/archive/refs/tags/v4.6.4.tar.gz"
sha256: "93b5f1dc88fd67fdebde409e927e828dfbae02efa44936e89728622411c6a047"
Expand All @@ -15,6 +18,10 @@ sources:
url: "https://github.com/galkahana/PDF-Writer/archive/refs/tags/v4.5.12.tar.gz"
sha256: "40fcbaa66fc46fcb588ceda119ba8839ff6d2c886191ac5e68ed702475c7336e"
patches:
"4.6.6":
- patch_file: "patches/4.6.6-0001-fix-cmake.patch"
patch_description: "disable cpack"
patch_type: "conan"
"4.6.4":
- patch_file: "patches/4.6.2-0001-fix-cmake.patch"
patch_description: "disable cpack"
Expand Down
32 changes: 32 additions & 0 deletions recipes/pdf-writer/all/patches/4.6.6-0001-fix-cmake.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 956c730..a7d809b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -165,13 +165,13 @@ if(PROJECT_IS_TOP_LEVEL AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/PDFWriterTesting)
ADD_SUBDIRECTORY(PDFWriterTesting)
endif()

-include(InstallRequiredSystemLibraries)
-set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
-set(CPACK_PACKAGE_VERSION_MAJOR "${PDFHummus_VERSION_MAJOR}")
-set(CPACK_PACKAGE_VERSION_MINOR "${PDFHummus_VERSION_MINOR}")
-set(CPACK_SOURCE_GENERATOR "ZIP")
-set(CPACK_GENERATOR "ZIP")
-include(CPack)
+# include(InstallRequiredSystemLibraries)
+# set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
+# set(CPACK_PACKAGE_VERSION_MAJOR "${PDFHummus_VERSION_MAJOR}")
+# set(CPACK_PACKAGE_VERSION_MINOR "${PDFHummus_VERSION_MINOR}")
+# set(CPACK_SOURCE_GENERATOR "ZIP")
+# set(CPACK_GENERATOR "ZIP")
+# include(CPack)

install(EXPORT PDFHummusTargets
FILE PDFHummusTargets.cmake
@@ -200,4 +200,4 @@ install(FILES
export(EXPORT PDFHummusTargets
FILE "${CMAKE_CURRENT_BINARY_DIR}/PDFHummusTargets.cmake"
NAMESPACE PDFHummus::
-)
\ No newline at end of file
+)
2 changes: 2 additions & 0 deletions recipes/pdf-writer/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"4.6.6":
folder: all
"4.6.4":
folder: all
"4.6.3":
Expand Down

0 comments on commit ed0dc04

Please sign in to comment.