commit:     a93609e54e904538ac5d9734a74dc96c77cf2dab
Author:     Theo Donacik <theodonacik <AT> gmail <DOT> com>
AuthorDate: Tue Feb 11 22:11:21 2025 +0000
Commit:     Theo Donacik <theodonacik <AT> gmail <DOT> com>
CommitDate: Tue Feb 11 22:11:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a93609e5

gui-libs/scenefx: add 0.2

Signed-off-by: Theo Donacik <theodonacik <AT> gmail.com>

 gui-libs/scenefx/Manifest           |  1 +
 gui-libs/scenefx/metadata.xml       |  6 -----
 gui-libs/scenefx/scenefx-0.2.ebuild | 51 +++++++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+), 6 deletions(-)

diff --git a/gui-libs/scenefx/Manifest b/gui-libs/scenefx/Manifest
index add0c70f5..1ea1055c9 100644
--- a/gui-libs/scenefx/Manifest
+++ b/gui-libs/scenefx/Manifest
@@ -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

diff --git a/gui-libs/scenefx/metadata.xml b/gui-libs/scenefx/metadata.xml
index b2947522b..d83d797ba 100644
--- a/gui-libs/scenefx/metadata.xml
+++ b/gui-libs/scenefx/metadata.xml
@@ -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>

diff --git a/gui-libs/scenefx/scenefx-0.2.ebuild 
b/gui-libs/scenefx/scenefx-0.2.ebuild
new file mode 100644
index 000000000..adb9a744a
--- /dev/null
+++ b/gui-libs/scenefx/scenefx-0.2.ebuild
@@ -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
+}

Reply via email to