1 Disable libnotify support, we've got no package and it's not very useful
2 in embedded targets anyway.
3 The webmedia extension requires libnotify as well.
5 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
7 diff -Nura midori-0.5.9.orig/CMakeLists.txt midori-0.5.9/CMakeLists.txt
8 --- midori-0.5.9.orig/CMakeLists.txt 2015-03-30 15:57:29.554632932 -0300
9 +++ midori-0.5.9/CMakeLists.txt 2015-03-30 15:57:35.299830192 -0300
15 - add_definitions("-DLIBNOTIFY_VERSION=\"No\"")
17 - pkg_check_modules(NOTIFY REQUIRED libnotify)
18 - add_definitions("-DLIBNOTIFY_VERSION=\"${NOTIFY_VERSION}\"")
19 - add_definitions("-DHAVE_LIBNOTIFY")
20 - set(OPTS_INCLUDE_DIRS "${OPTS_INCLUDE_DIRS};${NOTIFY_INCLUDE_DIRS}")
21 - set(OPTS_LIBRARIES "${OPTS_LIBRARIES};${NOTIFY_LIBRARIES}")
22 - set(PKGS ${PKGS} libnotify)
24 +add_definitions("-DLIBNOTIFY_VERSION=\"No\"")
26 option(USE_GTK3 "Use GTK+3" OFF)
27 option(HALF_BRO_INCOM_WEBKIT2 "Serve as a guniea pig" OFF)
28 diff -Nura midori-0.5.9.orig/extensions/CMakeLists.txt midori-0.5.9/extensions/CMakeLists.txt
29 --- midori-0.5.9.orig/extensions/CMakeLists.txt 2015-03-30 15:57:29.544632589 -0300
30 +++ midori-0.5.9/extensions/CMakeLists.txt 2015-03-30 15:57:51.777395949 -0300
35 -# FIXME: re-enable webmedia extension
36 -# once we have working notifications on win
38 - list(REMOVE_ITEM EXTENSIONS "webmedia-now-playing.vala")
40 +list(REMOVE_ITEM EXTENSIONS "webmedia-now-playing.vala")
42 foreach(UNIT_SRC ${EXTENSIONS})
43 string(FIND ${UNIT_SRC} ".c" UNIT_EXTENSION)