gui-libs/scenefx: add 0.2

Signed-off-by: Theo Donacik <theodonacik@gmail.com>
This commit is contained in:
Theo Donacik
2025-02-11 17:11:21 -05:00
parent bd3da3616c
commit a93609e54e
3 changed files with 52 additions and 6 deletions

View File

@@ -1 +1,2 @@
DIST scenefx-0.1.tar.gz 107137 BLAKE2B 980ccc3040584f83e3c911975f194abb50e05474ab73e1fef8ca2884a1f4a89436ec8838931ce7e1a1ca4d4df2bf746c9141fef45baad9f602e1327a70ac6ba3 SHA512 6f145ff44c799e61501d63306e3df97bb8376a8cab12ff77cdd743de3784f65c584a297f056008d88e7cd514849a750662023ce53959b9d005a1417f3a5ca1dc
DIST scenefx-0.2.tar.gz 85823 BLAKE2B 45a4f85cd0f926700e6283dde0d35390e628680e2abe8098ed244475f2ae25067f1fdfccd375f7e0d402e9aaaf720550642bd6f13808856eb21f252b86d71d56 SHA512 b63511147a1f68320b40760586481678076d29daf8aad1dca32889f1029dd064929163513fedabd9c2e2a85444034c5518bd4ee706633786cfda632a4b027791

View File

@@ -16,13 +16,7 @@
it is not yet ready for usage by other compositors.
</longdescription>
<use>
<flag name="drm">Enable Direct Rendering Management</flag>
<flag name="examples">Build example applications</flag>
<flag name="liftoff">Enable support for libliftoff KMS plane backend</flag>
<flag name="libinput">Enable support for input devices via <pkg>dev-libs/libinput</pkg></flag>
<flag name="x11-backend">Enable support for handling input/output devices through <pkg>x11-libs/libxcb</pkg></flag>
<flag name="xcb-errors">Better error reporting when using xwayland</flag>
<flag name="X">Enable support for X11 applications (XWayland)</flag>
</use>
<upstream>
<remote-id type="github">wlrfx/scenefx</remote-id>

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU Public License v2
EAPI=8
inherit meson
DESCRIPTION="A replacement for the wlroots scene API with eye-candy effects."
HOMEPAGE="https://github.com/wlrfx/scenefx"
SRC_URI="https://github.com/wlrfx/scenefx/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="examples X"
DEPEND="
>=dev-libs/wayland-1.23.0
>=x11-libs/libdrm-2.4.122
media-libs/mesa[egl(+),gles2(+)]
>=x11-libs/pixman-0.42.0
media-libs/libglvnd
x11-libs/libxkbcommon
"
DEPEND+="
>=gui-libs/wlroots-0.18:=[X?]
<gui-libs/wlroots-0.19:=[X?]
"
RDEPEND="
${DEPEND}
"
BDEPEND="
>=dev-libs/wayland-protocols-1.35
>=dev-build/meson-0.59.0
virtual/pkgconfig
dev-build/ninja
dev-util/wayland-scanner
"
src_configure() {
local emesonargs=(
-Drenderers='gles2'
$(meson_use examples)
)
meson_src_configure
}