File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 88
99stdenv . mkDerivation {
1010 pname = "blend2d" ;
11- # Note: this is an outdated version for pdf4qt, but vcpkg also uses it
12- # See 'Commit Hashes' in https://blend2d.com/download.html for newest
13- # If the newest version is needed, we can rename this package.
14- version = "0.10" ;
11+ version = "0.12" ;
1512
1613 src = fetchFromGitHub {
1714 owner = "blend2d" ;
1815 repo = "blend2d" ;
19- rev = "452d549751188b04367b5af46c040cb737f5f76c " ;
20- hash = "sha256-LDhnXsp/V1A3YqVyjBVaL7/V6Nhts/1E9hRhl2P293o =" ;
16+ rev = "717cbf4bc0f2ca164cf2f0c48f0497779241b6c5 " ;
17+ hash = "sha256-L3wDsjy0cocncZqKLy8in2yirrFJoqU3tFBfeBxlhs0 =" ;
2118 } ;
2219
2320 outputs = [
Original file line number Diff line number Diff line change 11diff --git a/CMakeLists.txt b/CMakeLists.txt
2- index 98752ec..aa029b3 100644
2+ index 298cdca..8894db3 100644
33--- a/CMakeLists.txt
44+++ b/CMakeLists.txt
55@@ -55,7 +55,15 @@ endif()
66 qt_standard_project_setup()
77
88 find_package(OpenSSL REQUIRED)
9- - find_package(lcms REQUIRED)
9+ - find_package(lcms2 REQUIRED)
1010+ SET(LCMS2_NAMES ${LCMS2_NAMES} lcms2 liblcms2 liblcms2_static)
1111+ FIND_LIBRARY(LCMS2_LIBRARY NAMES ${LCMS2_NAMES} )
1212+ FIND_PATH(LCMS2_INCLUDE_DIR lcms2.h)
1313+ add_library(lcms2::lcms2 UNKNOWN IMPORTED)
1414+ set_target_properties(lcms2::lcms2 PROPERTIES
1515+ IMPORTED_LOCATION ${LCMS2_LIBRARY}
1616+ INTERFACE_INCLUDE_DIRECTORIES ${LCMS2_INCLUDE_DIR}
17- + INTERFACE_COMPILE_DEFINITIONS "HAVE_LCMS2=1;CMS_NO_REGISTER_KEYWORD=1")
17+ + INTERFACE_COMPILE_DEFINITIONS "HAVE_LCMS2=1;CMS_NO_REGISTER_KEYWORD=1")
1818+ set_property(GLOBAL APPEND PROPERTY INTERNAL_DEPS_PROP lcms2::lcms2)
1919 find_package(ZLIB REQUIRED)
2020 find_package(Freetype REQUIRED)
Original file line number Diff line number Diff line change 1414
1515stdenv . mkDerivation ( finalAttrs : {
1616 pname = "pdf4qt" ;
17- version = "1.4 .0.0" ;
17+ version = "1.5 .0.0" ;
1818
1919 src = fetchFromGitHub {
2020 owner = "JakubMelka" ;
2121 repo = "PDF4QT" ;
2222 rev = "v${ finalAttrs . version } " ;
23- hash = "sha256-NlIy/C4uHRG5wwXPuqCShe113qhhsQ5jp50zrOLLA2c =" ;
23+ hash = "sha256-ELdmnOEKFGCtuf240R/0M6r8aPwRQiXurAxrqcCZvOI =" ;
2424 } ;
2525
2626 patches = [
You can’t perform that action at this time.
0 commit comments