From 2b16f5c5f91f6e90ca6b627daad11cb635dbaed8 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Thu, 2 Aug 2012 11:19:58 +0200 Subject: Mageia 2: add support for MGA2 build in redhat packages --- .../kdegraphics-3.5.13-add_poppler_tqt_pc.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 redhat/kdegraphics/kdegraphics-3.5.13-add_poppler_tqt_pc.patch (limited to 'redhat/kdegraphics/kdegraphics-3.5.13-add_poppler_tqt_pc.patch') diff --git a/redhat/kdegraphics/kdegraphics-3.5.13-add_poppler_tqt_pc.patch b/redhat/kdegraphics/kdegraphics-3.5.13-add_poppler_tqt_pc.patch new file mode 100644 index 000000000..210b425e6 --- /dev/null +++ b/redhat/kdegraphics/kdegraphics-3.5.13-add_poppler_tqt_pc.patch @@ -0,0 +1,41 @@ +commit b2d01d000c11d7c0dd183e1af059f81ac5249c25 +Author: Timothy Pearson +Date: 1339541595 -0500 + + Add poppler-tqt.pc file + +diff --git a/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt b/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt +index d07e813..42d50a8 100644 +--- a/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt ++++ b/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt +@@ -28,6 +28,12 @@ link_directories( + ${TQT_LIBRARY_DIRS} + ) + ++##### pc files ################################## ++ ++configure_file( poppler-tqt.pc.cmake poppler-tqt.pc @ONLY ) ++ ++install( FILES ${CMAKE_CURRENT_BINARY_DIR}/poppler-tqt.pc DESTINATION ${PKGCONFIG_INSTALL_DIR} ) ++ + ##### headers ################################### + + install( FILES +diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-tqt.pc.cmake b/kfile-plugins/dependencies/poppler-tqt/poppler-tqt.pc.cmake +new file mode 100644 +index 0000000..ce2b40d +--- /dev/null ++++ b/kfile-plugins/dependencies/poppler-tqt/poppler-tqt.pc.cmake +@@ -0,0 +1,12 @@ ++prefix=@CMAKE_INSTALL_PREFIX@ ++exec_prefix=${prefix} ++libdir=${exec_prefix}/lib ++includedir=${prefix}/include ++ ++Name: poppler-tqt ++Description: TQt bindings for poppler ++Version: @POPPLER_VERSION@ ++Requires: poppler = @POPPLER_VERSION@ ++ ++Libs: -L${libdir} -lpoppler-tqt ++Cflags: -I${includedir} -- cgit v1.2.1