Skip to content

Commit

Permalink
x11-toolkits/scenefx: update to 0.2.1 and fork
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeich committed Feb 20, 2025
1 parent 2cb7175 commit 1bb1473
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 1 deletion.
1 change: 1 addition & 0 deletions x11-toolkits/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@
SUBDIR += rubygem-vte3
SUBDIR += rubygem-vte4
SUBDIR += scenefx
SUBDIR += scenefx02
SUBDIR += scintilla
SUBDIR += sdl2_pango
SUBDIR += sdl_pango
Expand Down
4 changes: 3 additions & 1 deletion x11-toolkits/scenefx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PORTREVISION= 2
CATEGORIES= x11-toolkits

MAINTAINER= [email protected]
COMMENT= wlroots scene API, but with eye candy!
COMMENT= wlroots scene API, but with eye candy! (deprecated version)
WWW= https://github.com/wlrfx/scenefx

LICENSE= MIT
Expand All @@ -22,6 +22,8 @@ USE_XORG= pixman
GH_ACCOUNT= wlrfx
MESON_ARGS= -Dexamples=false -Drenderers=${RENDERERS:ts,}

PORTSCOUT= limit:^0\.1\.

OPTIONS_DEFINE= OPENGL
OPTIONS_DEFAULT=OPENGL
OPTIONS_SLAVE= OPENGL # XXX Remove after adding VULKAN
Expand Down
36 changes: 36 additions & 0 deletions x11-toolkits/scenefx02/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
PORTNAME= scenefx
DISTVERSION= 0.2.1
CATEGORIES= x11-toolkits
PKGNAMESUFFIX= 02

MAINTAINER= [email protected]
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.35:graphics/wayland-protocols
LIB_DEPENDS= libdrm.so:graphics/libdrm \
libwayland-server.so:graphics/wayland \
libwlroots-0.18.so:x11-toolkits/wlroots018 \

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\.2\.

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>
3 changes: 3 additions & 0 deletions x11-toolkits/scenefx02/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1739733667
SHA256 (wlrfx-scenefx-0.2.1_GH0.tar.gz) = e50cd8cbeb6564233dced39f21e78d755701fa7fe67f5b354f033f397b69a2b8
SIZE (wlrfx-scenefx-0.2.1_GH0.tar.gz) = 85884
9 changes: 9 additions & 0 deletions x11-toolkits/scenefx02/pkg-descr
Original file line number Diff line number Diff line change
@@ -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.
9 changes: 9 additions & 0 deletions x11-toolkits/scenefx02/pkg-plist
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1bb1473

Please sign in to comment.