]> git.pld-linux.org Git - packages/qimageblitz5.git/blob - qimageblitz5-suffix.patch
- new, qimageblitz built for Qt5, packaged with "5" suffix
[packages/qimageblitz5.git] / qimageblitz5-suffix.patch
1 --- qimageblitz-0.0.6_p20131029/blitz/CMakeLists.txt.orig       2017-03-15 00:31:04.000000000 +0100
2 +++ qimageblitz-0.0.6_p20131029/blitz/CMakeLists.txt    2019-05-26 17:56:17.684369553 +0200
3 @@ -22,8 +22,12 @@
4  
5  if (Qt5Core_FOUND)
6    SET(BLITZ_LIB_MAJOR_VERSION "5")
7 +  SET(BLITZ_NAME qimageblitz5)
8 +  SET(BLITZ_DEPS Qt5Gui)
9  else()
10    SET(BLITZ_LIB_MAJOR_VERSION "4")
11 +  SET(BLITZ_NAME qimageblitz)
12 +  SET(BLITZ_DEPS QtGui)
13  endif()
14  SET(BLITZ_LIB_MINOR_VERSION "0")
15  SET(BLITZ_LIB_PATCH_VERSION "0")
16 @@ -62,6 +66,7 @@
17  endif (NOT CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_NAME MATCHES SunOS)
18  
19  set_target_properties(qimageblitz PROPERTIES
20 +                            OUTPUT_NAME ${BLITZ_NAME}
21                              VERSION ${BLITZ_LIB_MAJOR_VERSION}.${BLITZ_LIB_MINOR_VERSION}.${BLITZ_LIB_PATCH_VERSION}
22                              SOVERSION ${BLITZ_LIB_MAJOR_VERSION}
23                              DEFINE_SYMBOL MAKE_QIMAGEBLITZ_LIB
24 @@ -72,13 +77,13 @@
25      ARCHIVE DESTINATION ${LIB_INSTALL_DIR} 
26  )
27  
28 -install( FILES qimageblitz.h qimageblitz_export.h blitzcpu.h DESTINATION include/qimageblitz COMPONENT Devel )
29 +install( FILES qimageblitz.h qimageblitz_export.h blitzcpu.h DESTINATION include/${BLITZ_NAME} COMPONENT Devel )
30  
31  if(NOT WIN32)
32 -  configure_file("qimageblitz.pc.cmake" "${CMAKE_CURRENT_BINARY_DIR}/qimageblitz.pc"
33 +  configure_file("qimageblitz.pc.cmake" "${CMAKE_CURRENT_BINARY_DIR}/${BLITZ_NAME}.pc"
34    @ONLY) 
35  
36 -  install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qimageblitz.pc DESTINATION 
37 +  install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${BLITZ_NAME}.pc DESTINATION 
38    ${LIB_INSTALL_DIR}/pkgconfig)  
39  endif(NOT WIN32)
40  
41 --- qimageblitz-0.0.6_p20131029/blitz/qimageblitz.pc.cmake.orig 2017-03-15 00:31:04.000000000 +0100
42 +++ qimageblitz-0.0.6_p20131029/blitz/qimageblitz.pc.cmake      2019-05-26 17:56:26.894319658 +0200
43 @@ -6,6 +6,6 @@
44  Name: Blitz
45  Description: Blitz image effect and filter library
46  Version: @BLITZ_LIB_VERSION_STRING@
47 -Requires: QtGui
48 -Libs: -L${libdir} -lqimageblitz
49 +Requires: @BLITZ_DEPS@
50 +Libs: -L${libdir} -l@BLITZ_NAME@
51  Cflags: -I${includedir}
This page took 0.107019 seconds and 3 git commands to generate.