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>
This commit is contained in:
Sébastien Szymanski
2025-02-24 13:54:33 +01:00
committed by Julien Olivain
parent 544249ff77
commit 63f047971f
5 changed files with 35 additions and 0 deletions

View File

@@ -2960,6 +2960,7 @@ F: package/mmc-utils/
F: package/python-flask-jsonrpc/
F: package/python-flask-login/
F: package/qt5/qt5charts/
F: package/wlr-randr/
N: Semyon Kolganov <semenak94@mail.ru>
F: package/fmt/

View File

@@ -2791,6 +2791,7 @@ comment "Utilities"
source "package/tmux/Config.in"
source "package/ttyd/Config.in"
source "package/which/Config.in"
source "package/wlr-randr/Config.in"
source "package/wtfutil/Config.in"
source "package/xmlstarlet/Config.in"
source "package/xxhash/Config.in"

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_WLR_RANDR
bool "wlr-randr"
depends on BR2_PACKAGE_WAYLAND # wayland-client
help
Utility to manage outputs of a Wayland compositor.
https://gitlab.freedesktop.org/emersion/wlr-randr

View File

@@ -0,0 +1,5 @@
# Calculated locally
sha256 a64b6eb296d1c75af098fa2d229f9aaf3ceae45eeff24056930bd4bc613c6a5e wlr-randr-0.5.0.tar.gz
# Hash for license files:
sha256 7f3e844a550da74d5f0a635ae1263cb7dafda7bd15ac37364ddde85de83a78c7 LICENSE

View File

@@ -0,0 +1,21 @@
################################################################################
#
# 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))