summaryrefslogtreecommitdiff
path: root/x11-toolkits/scenefx04
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/scenefx04')
-rw-r--r--x11-toolkits/scenefx04/Makefile36
-rw-r--r--x11-toolkits/scenefx04/distinfo3
-rw-r--r--x11-toolkits/scenefx04/pkg-descr9
-rw-r--r--x11-toolkits/scenefx04/pkg-plist9
4 files changed, 57 insertions, 0 deletions
diff --git a/x11-toolkits/scenefx04/Makefile b/x11-toolkits/scenefx04/Makefile
new file mode 100644
index 000000000000..bdd116a5d19e
--- /dev/null
+++ b/x11-toolkits/scenefx04/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= scenefx
+DISTVERSION= 0.4.1
+CATEGORIES= x11-toolkits
+PKGNAMESUFFIX= 04
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= wlroots scene API, but with eye candy!
+WWW= https://github.com/wlrfx/scenefx
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= wayland-protocols>=1.41:graphics/wayland-protocols
+LIB_DEPENDS= libdrm.so:graphics/libdrm \
+ libwayland-server.so:graphics/wayland \
+ libwlroots-0.19.so:x11-toolkits/wlroots019 \
+
+USES= compiler:c11 meson pkgconfig xorg
+USE_GITHUB= yes
+USE_LDCONFIG= yes
+USE_XORG= pixman
+GH_ACCOUNT= wlrfx
+MESON_ARGS= -Dexamples=false -Drenderers=${RENDERERS:ts,}
+PLIST_SUB= SUFFIX=-${DISTVERSION:R}
+
+PORTSCOUT= limit:^0\.4\.
+
+OPTIONS_DEFINE= OPENGL
+OPTIONS_DEFAULT=OPENGL
+OPTIONS_SLAVE= OPENGL # XXX Remove after adding VULKAN
+
+OPENGL_USES= gl
+OPENGL_USE= GL=egl,gbm,glesv2
+OPENGL_VARS= RENDERERS+=gles2
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/scenefx04/distinfo b/x11-toolkits/scenefx04/distinfo
new file mode 100644
index 000000000000..9edc434d6af6
--- /dev/null
+++ b/x11-toolkits/scenefx04/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1750744509
+SHA256 (wlrfx-scenefx-0.4.1_GH0.tar.gz) = fa23f6ff509168d4a5eb0c5a7ef3b8cf3d39e3fba18320c28256e6c91c85d9ff
+SIZE (wlrfx-scenefx-0.4.1_GH0.tar.gz) = 92158
diff --git a/x11-toolkits/scenefx04/pkg-descr b/x11-toolkits/scenefx04/pkg-descr
new file mode 100644
index 000000000000..bde5f7ad3ee0
--- /dev/null
+++ b/x11-toolkits/scenefx04/pkg-descr
@@ -0,0 +1,9 @@
+wlroots is the de-facto library for building wayland compositors, and
+its scene api is a great stride in simplifying wayland compositor
+development. The problem with the scene api (for compositors looking
+for eye candy), however, is that it forces you to use the wlr
+renderer, which is powerful yet simple. SceneFX is a project that
+takes the scene api and replaces the wlr renderer with our own fx
+renderer, capable of rendering surfaces with eye-candy effects
+including blur, shadows, and rounded corners, while maintaining the
+benefits of simplicity gained from using the scene api.
diff --git a/x11-toolkits/scenefx04/pkg-plist b/x11-toolkits/scenefx04/pkg-plist
new file mode 100644
index 000000000000..fcb5fd838ee5
--- /dev/null
+++ b/x11-toolkits/scenefx04/pkg-plist
@@ -0,0 +1,9 @@
+include/scenefx%%SUFFIX%%/scenefx/render/fx_renderer/fx_effect_framebuffers.h
+include/scenefx%%SUFFIX%%/scenefx/render/fx_renderer/fx_renderer.h
+include/scenefx%%SUFFIX%%/scenefx/render/pass.h
+include/scenefx%%SUFFIX%%/scenefx/types/fx/blur_data.h
+include/scenefx%%SUFFIX%%/scenefx/types/fx/clipped_region.h
+include/scenefx%%SUFFIX%%/scenefx/types/fx/corner_location.h
+include/scenefx%%SUFFIX%%/scenefx/types/wlr_scene.h
+lib/libscenefx%%SUFFIX%%.so
+libdata/pkgconfig/scenefx%%SUFFIX%%.pc