# -*-makefile-*- # # Copyright (C) 2019 by Michael Tretter # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # PACKAGES-$(PTXCONF_WLROOTS) += wlroots # # Paths and names # WLROOTS_VERSION := 0.11.0 WLROOTS_MD5 := 3ed69ea05c4d3a05f96a9a859cb5f333 WLROOTS := wlroots-$(WLROOTS_VERSION) WLROOTS_SUFFIX := tar.gz WLROOTS_URL := https://github.com/swaywm/wlroots/archive/$(WLROOTS_VERSION).$(WLROOTS_SUFFIX) WLROOTS_SOURCE := $(SRCDIR)/$(WLROOTS).$(WLROOTS_SUFFIX) WLROOTS_DIR := $(BUILDDIR)/$(WLROOTS) WLROOTS_LICENSE := MIT # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- WLROOTS_CONF_TOOL := meson WLROOTS_CONF_OPT := \ $(CROSS_MESON_USR) \ -Dlogind=$(call ptx/endis, PTXCONF_WLROOTS_SYSTEMD_LOGIND)d \ -Dlogind-provider=systemd \ -Dxcb-errors=disabled \ -Dxcb-icccm=disabled \ -Dxwayland=disabled \ -Dx11-backend=disabled \ -Dexamples=false \ -Dwerror=false # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/wlroots.targetinstall: @$(call targetinfo) @$(call install_init, wlroots) @$(call install_fixup, wlroots,PRIORITY,optional) @$(call install_fixup, wlroots,SECTION,base) @$(call install_fixup, wlroots,AUTHOR,"Michael Tretter ") @$(call install_fixup, wlroots,DESCRIPTION,missing) @$(call install_lib, wlroots, 0, 0, 0644, libwlroots) @$(call install_finish, wlroots) @$(call touch) # vim: syntax=make