# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Notification in the style of ShadowPlay."
HOMEPAGE="https://git.dec05eba.com/gpu-screen-recorder-notification/about/"

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://repo.dec05eba.com/gpu-screen-recorder-notification"
else
	SRC_URI="https://dec05eba.com/snapshot/${PN}.git.${PV}.tar.gz -> ${P}.tar.gz"
	S="${WORKDIR}"
	KEYWORDS="~amd64 ~arm64"
fi

LICENSE="GPL3"
SLOT="0"

DEPEND="
	media-libs/libglvnd
	x11-libs/libxkbcommon
	dev-libs/wayland
	gui-libs/egl-wayland
	dev-util/wayland-scanner
	x11-libs/libX11
	x11-libs/libXrandr
	x11-libs/libXrender
	media-libs/libglvnd
	x11-libs/libXext
	x11-libs/pango
"
RDEPEND="${DEPEND}"
BDEPEND=""