Files
buildroot/package/wlr-randr/wlr-randr.mk
Sébastien Szymanski 63f047971f package/wlr-randr: new package
Utility to manage outputs of a Wayland compositor.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
[Fiona:
  - fix build with uClibc
  - update to 0.5.0 with move to gitlab.freedesktop.org
]
Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
[Julien: reorder DEVELOPERS entries alphabetically]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-02-24 19:16:38 +01:00

22 lines
824 B
Makefile

################################################################################
#
# wlr-randr
#
################################################################################
WLR_RANDR_VERSION = 0.5.0
WLR_RANDR_SITE = https://gitlab.freedesktop.org/emersion/wlr-randr/-/releases/v$(WLR_RANDR_VERSION)/downloads
WLR_RANDR_LICENSE = MIT
WLR_RANDR_LICENSE_FILES = LICENSE
# host-wayland is for wayland-scanner
WLR_RANDR_DEPENDENCIES = host-pkgconf host-wayland wayland
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
# uClibc < 1.0.38 does not expose strdup() when _POSIX_C_SOURCE >= 200809L
# See: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=0daab1508379e23a09ab7fdb469018228d951894
# We define _XOPEN_SOURCE=500 as a workaround.
WLR_RANDR_CONF_OPTS += -Dc_args=-D_XOPEN_SOURCE=500
endif
$(eval $(meson-package))