1 GCR support only works/is useful with X11 support.
3 Reported upstream: https://bugs.launchpad.net/midori/+bug/1515985
5 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
7 diff -Nura midori-0.5.11.orig/CMakeLists.txt midori-0.5.11/CMakeLists.txt
8 --- midori-0.5.11.orig/CMakeLists.txt 2015-11-12 13:41:02.045898814 -0300
9 +++ midori-0.5.11/CMakeLists.txt 2015-11-12 14:00:09.765545018 -0300
11 set(PKGS ${PKGS} zeitgeist-2.0)
15 - add_definitions("-DGCR_VERSION=\"No\"")
18 - pkg_check_modules(GCR REQUIRED gcr-3>=2.32)
20 - pkg_check_modules(GCR REQUIRED gcr-base-3>=2.32)
22 +if (USE_GTK3 AND X11)
23 + pkg_check_modules(GCR REQUIRED gcr-3>=2.32)
24 add_definitions("-DGCR_VERSION=\"${GCR_VERSION}\"")
25 add_definitions("-DHAVE_GCR")
26 set(OPTS_INCLUDE_DIRS ${OPTS_INCLUDE_DIRS} ${GCR_INCLUDE_DIRS})
27 set(OPTS_LIBRARIES ${OPTS_LIBRARIES} ${GCR_LIBRARIES})
29 + add_definitions("-DGCR_VERSION=\"No\"")
32 if (HALF_BRO_INCOM_WEBKIT2)