From: Baptiste DURAND Date: Mon, 16 Sep 2013 11:59:19 +0000 (+0200) Subject: [WRT-PLUGINS-TIZEN]: Fix build X-Git-Tag: rev_0.4~156 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed17e2617d2cb4671b74bee10ec8ac4aa588fe17;p=scm%2Fbb%2Ftizen.git [WRT-PLUGINS-TIZEN]: Fix build --- diff --git a/meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen-extraconf.inc b/meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen-extraconf.inc index e69de29..1677562 100644 --- a/meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen-extraconf.inc +++ b/meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen-extraconf.inc @@ -0,0 +1,7 @@ +SRC_URI += "\ + file://LinkFlagsGLES.patch \ + " + +do_patch_append () { + cat ${WORKDIR}/LinkFlagsGLES.patch | patch -s -p1 --fuzz=2 +} diff --git a/meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen/LinkFlagsGLES.patch b/meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen/LinkFlagsGLES.patch new file mode 100644 index 0000000..317854a --- /dev/null +++ b/meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen/LinkFlagsGLES.patch @@ -0,0 +1,21 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d0022ce..7c87386 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -5,7 +5,7 @@ PROJECT(wrt-plugins-tizen) + # Required platform modules + # ----------------------------------------------------------------------------- + INCLUDE(FindPkgConfig) +- ++PKG_CHECK_MODULES(glesv2 REQUIRED glesv2) + PKG_CHECK_MODULES(webkit2 REQUIRED ewebkit2) + PKG_CHECK_MODULES(dpl REQUIRED dpl-efl) + PKG_CHECK_MODULES(dpl-event REQUIRED dpl-event-efl) +@@ -154,6 +154,7 @@ SET(LIBS_COMMON + ${dpl_LDFLAGS} + ${dpl-event_LDFLAGS} + ${webkit2_LDFLAGS} ++ ${glesv2_LDFLAGS} + ${wrt-deviceapis-commons_LDFLAGS} + ${wrt-deviceapis-commons-javascript_LDFLAGS} + )