summaryrefslogtreecommitdiff
path: root/package/cog
diff options
context:
space:
mode:
Diffstat (limited to 'package/cog')
-rw-r--r--package/cog/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/cog/Makefile b/package/cog/Makefile
new file mode 100644
index 000000000..fead4df57
--- /dev/null
+++ b/package/cog/Makefile
@@ -0,0 +1,38 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= cog
+PKG_VERSION:= 0.18.4
+PKG_RELEASE:= 1
+PKG_HASH:= 31d7079db2eeed790899d2f1f824dd6a54bf30d072d196d737be572f105d99b1
+PKG_DESCR:= minimalistic browser
+PKG_SECTION:= app/browser
+PKG_DEPENDS:= wpewebkit wpebackend-fdo libinput
+PKG_BUILDDEP:= wpewebkit wpebackend-fdo libinput
+PKG_URL:= https://wpewebkit.org
+PKG_SITES:= https://wpewebkit.org/releases/
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,COG,cog,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+MESON_FLAGS+= -Ddocumentation=false \
+ -Dmanpages=false \
+ -Dprograms=true \
+ -Dwpe_api=2.0 \
+ -Dplatforms=drm
+
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
+
+cog-install:
+ $(INSTALL_DIR) $(IDIR_COG)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/cog \
+ $(IDIR_COG)/usr/bin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk