Skip to content

Commit bd9a674

Browse files
committed
pdf4qt: 1.4.0.0 -> 1.5.0.0
1 parent 31a97f9 commit bd9a674

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pkgs/by-name/pd/pdf4qt/find_lcms2_path.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
diff --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)

pkgs/by-name/pd/pdf4qt/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
stdenv.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 = [

0 commit comments

Comments
 (0)