blob: 2dd617ad5e9344d97058a36277afa141c61dd081 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# 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.5
PKG_RELEASE:= 1
PKG_HASH:= 0ede9d09ab635ac519beec0543378e3fc51b56561a5fb7aa9c0cbca54c31b97c
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="wayland"
CONFIG_STYLE:= meson
BUILD_STYLE:= meson
INSTALL_STYLE:= meson
cog-install:
$(INSTALL_DIR) $(IDIR_COG)/usr/lib
$(CP) $(WRKINST)/usr/lib/libcogcore.so* \
$(IDIR_COG)/usr/lib
$(INSTALL_DIR) $(IDIR_COG)/usr/lib/cog/modules
$(CP) $(WRKINST)/usr/lib/cog/modules/* \
$(IDIR_COG)/usr/lib/cog/modules
$(INSTALL_DIR) $(IDIR_COG)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/cog \
$(IDIR_COG)/usr/bin
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
|