gui-libs/neuwld - 9999 (baar-dau)

Search

Install

Install this version:

emerge -a =gui-libs/neuwld-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gui-libs/neuwld-9999

Or alternatively:

emerge --autounmask-write -a =gui-libs/neuwld-9999

Package Information

Description:
Primitive drawing library targeted at Wayland (maintained fork of wld)
Homepage:
https://git.sr.ht/~shrub900/neuwld
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson git-r3

DESCRIPTION="Primitive drawing library targeted at Wayland (maintained fork of wld)"
HOMEPAGE="https://git.sr.ht/~shrub900/neuwld"
EGIT_REPO_URI="https://git.sr.ht/~shrub900/neuwld"

LICENSE="MIT"
SLOT="0"
IUSE="+drm +wayland video_cards_intel video_cards_nouveau"
REQUIRED_USE="
	video_cards_intel? ( drm )
	video_cards_nouveau? ( drm )
"

DEPEND="
	media-libs/fontconfig
	media-libs/freetype
	x11-libs/pixman
	drm? (
		x11-libs/libdrm
		video_cards_intel? ( x11-libs/libdrm[video_cards_intel] )
		video_cards_nouveau? ( x11-libs/libdrm[video_cards_nouveau] )
	)
	wayland? ( dev-libs/wayland )
"
RDEPEND="${DEPEND}"
BDEPEND="
	dev-util/wayland-scanner
	virtual/pkgconfig
"

src_configure() {
	local -a drivers=()
	use video_cards_intel && drivers+=( intel )
	use video_cards_nouveau && drivers+=( nouveau )

	local emesonargs=(
		$(meson_feature drm)
		$(meson_feature wayland)
		-Ddoxygen=disabled
		-Ddrivers="$(IFS=,; echo "${drivers[*]:-[]}")"
	)
	meson_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p gui-libs/neuwld | euse -E <flag> -p gui-libs/neuwld | euse -D <flag> -p gui-libs/neuwld

Global/Standard Flags

drm
Default: Enabled (+)
wayland
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	media-libs/fontconfig
	media-libs/freetype
	x11-libs/pixman
	drm? (
		x11-libs/libdrm
		video_cards_intel? ( x11-libs/libdrm[video_cards_intel] )
		video_cards_nouveau? ( x11-libs/libdrm[video_cards_nouveau] )
	)
	wayland? ( dev-libs/wayland )

RDEPEND

	media-libs/fontconfig
	media-libs/freetype
	x11-libs/pixman
	drm? (
		x11-libs/libdrm
		video_cards_intel? ( x11-libs/libdrm[video_cards_intel] )
		video_cards_nouveau? ( x11-libs/libdrm[video_cards_nouveau] )
	)
	wayland? ( dev-libs/wayland )

BDEPEND

	dev-util/wayland-scanner
	virtual/pkgconfig