Skip to content

Commit

Permalink
Add a recipe to build Cog
Browse files Browse the repository at this point in the history
The WebKitWPE launcher
  • Loading branch information
thiblahute committed Mar 13, 2019
1 parent 0004218 commit 7234bbf
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package/wpe/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ source "package/wpe/wpeframework/Config.in"
# WPE WebKit
source "package/wpe/wpewebkit/Config.in"

# Cog
source "package/wpe/cog/Config.in"

if BR2_PACKAGE_WPEWEBKIT
source "package/wpe/wpebackend/Config.in"
source "package/wpe/wpebackend-rdk/Config.in"
Expand Down
6 changes: 6 additions & 0 deletions package/wpe/cog/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config BR2_PACKAGE_COG
bool "cog"
depends on BR2_PACKAGE_WPEWEBKIT
help
WPE launcher and webapp container

17 changes: 17 additions & 0 deletions package/wpe/cog/cog.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
################################################################################
#
# Cog
#
################################################################################

COG_VERSION = a4663e60f2e0359e078aed11bc5916264205ba18
COG_SITE = $(call github,Igalia,cog,$(COG_VERSION))
COG_INSTALL_STAGING = YES
COG_DEPENDENCIES += wpewebkit
COG_CONF_OPTS += \
-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -D_GNU_SOURCE" \
-DCOG_PLATFORM_FDO=NO

$(eval $(cmake-package))

0 comments on commit 7234bbf

Please sign in to comment.