Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 pdf-presenter-console (4.1-1) unstable; urgency=medium
 .
   * New upstream release
   * Bump policy
   * Bump cmake build dependency version per upstream
Author: Barak A. Pearlmutter <bap@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2017-11-03

--- pdf-presenter-console-4.1.orig/README.rst
+++ pdf-presenter-console-4.1/README.rst
@@ -65,7 +65,7 @@ Requirements
 In order to compile and run pdfpc the following
 requirements need to be met:
 
-- CMake Version >=2.6
+- CMake Version >=3.0
 - vala >= 0.26
 - GTK+ >= 3.10
 - gee 0.8
--- pdf-presenter-console-4.1.orig/src/CMakeLists.txt
+++ pdf-presenter-console-4.1/src/CMakeLists.txt
@@ -50,8 +50,22 @@ include_directories(
     ${CMAKE_CURRENT_SOURCE_DIR}
 )
 
+link_directories(
+    ${GOBJECT_LIBRARY_DIRS}
+    ${GIO_LIBRARY_DIRS}
+    ${GEE_LIBRARY_DIRS}
+    ${POPPLER_LIBRARY_DIRS}
+    ${GTK_LIBRARY_DIRS}
+    ${GTHREAD_LIBRARY_DIRS}
+    ${PANGOCAIRO_LIBRARY_DIRS}
+    ${GSTREAMER_LIBRARY_DIRS}
+    ${GSTINTERFACES_LIBRARY_DIRS}
+    ${GSTVIDEO_LIBRARY_DIRS}
+)
+
 if(${WITH_X11})
     include_directories(${X11_INCLUDE_DIRS})
+    link_directories(${X11_LIBRARY_DIRS})
     set(ADDITIONAL_LIBS ${X11_LIBRARIES})
 endif()
 
