Skip to content

Commit 7234bbf

Browse files
committed
Add a recipe to build Cog
The WebKitWPE launcher
1 parent 0004218 commit 7234bbf

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

package/wpe/Config.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ source "package/wpe/wpeframework/Config.in"
44
# WPE WebKit
55
source "package/wpe/wpewebkit/Config.in"
66

7+
# Cog
8+
source "package/wpe/cog/Config.in"
9+
710
if BR2_PACKAGE_WPEWEBKIT
811
source "package/wpe/wpebackend/Config.in"
912
source "package/wpe/wpebackend-rdk/Config.in"

package/wpe/cog/Config.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
config BR2_PACKAGE_COG
2+
bool "cog"
3+
depends on BR2_PACKAGE_WPEWEBKIT
4+
help
5+
WPE launcher and webapp container
6+

package/wpe/cog/cog.mk

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
################################################################################
2+
#
3+
# Cog
4+
#
5+
################################################################################
6+
7+
COG_VERSION = a4663e60f2e0359e078aed11bc5916264205ba18
8+
COG_SITE = $(call github,Igalia,cog,$(COG_VERSION))
9+
COG_INSTALL_STAGING = YES
10+
COG_DEPENDENCIES += wpewebkit
11+
COG_CONF_OPTS += \
12+
-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
13+
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -D_GNU_SOURCE" \
14+
-DCOG_PLATFORM_FDO=NO
15+
16+
$(eval $(cmake-package))
17+

0 commit comments

Comments
 (0)