# 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 glib-networking ca-certificates PKG_BUILDDEP:= wpewebkit wpebackend-fdo libinput PKG_URL:= https://wpewebkit.org PKG_SITES:= https://wpewebkit.org/releases/ PKG_CHOICES_COG:= WITH_X11 WITH_WAYLAND PKGCD_WITH_WAYLAND:= with wayland support PKGCD_WITH_X11:= with X11 support 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 ifeq ($(ADK_PACKAGE_COG_WITH_WAYLAND),y) MESON_FLAGS+= -Dplatforms="wayland" endif ifeq ($(ADK_PACKAGE_COG_WITH_X11),y) MESON_FLAGS+= -Dplatforms="x11" endif 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