Files
Daniel Golle b446792c1d cage: update to 0.3.1
- guard git version detection against a missing .git directory
- stop using DEFAULT_XCURSOR as a cursor theme name
- fix XDG-shell windows requesting fullscreen on startup

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-08-25 02:26:02 +01:00

51 lines
1.2 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=cage
PKG_VERSION:=0.3.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/cage-kiosk/cage/releases/download/v$(PKG_VERSION)
PKG_HASH:=edafc173b6f56a3e1564933e272a54aaa9fe158d330e6a415d57b44ab880fe2b
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=wayland/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/meson.mk
define Package/cage
SECTION:=video-frameworks
CATEGORY:=Video
SUBMENU:=Frameworks and Toolkits
TITLE:=a Wayland kiosk
URL:=https://wayland.freedesktop.org/
DEPENDS:=+wlroots +xkeyboard-config
endef
define Package/cage/description
This is Cage, a Wayland kiosk. A kiosk runs a single, maximized application.
endef
MESON_ARGS += \
-Dman-pages=disabled
define Package/cage/conffiles
/etc/config/cage
endef
define Package/cage/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cage $(1)/usr/bin
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/cage.init $(1)/etc/init.d/cage
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/cage.config $(1)/etc/config/cage
endef
$(eval $(call BuildPackage,cage))