Skip to content

Commit

Permalink
x11-toolkits/scenefx: add new port
Browse files Browse the repository at this point in the history
A drop-in replacement for the wlroots scene API that allows Wayland
compositors to render surfaces with eye-candy effects.

https://github.com/wlrfx/scenefx
  • Loading branch information
jbeich committed Apr 29, 2024
1 parent 9466b58 commit 3356ffb
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11-toolkits/Makefile
Expand Up @@ -218,6 +218,7 @@
SUBDIR += rubygem-uh
SUBDIR += rubygem-vte3
SUBDIR += rubygem-vte4
SUBDIR += scenefx
SUBDIR += scintilla
SUBDIR += sdl_pango
SUBDIR += shared-desktop-ontologies
Expand Down
32 changes: 32 additions & 0 deletions x11-toolkits/scenefx/Makefile
@@ -0,0 +1,32 @@
PORTNAME= scenefx
DISTVERSION= 0.1
CATEGORIES= x11-toolkits

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.27:graphics/wayland-protocols
LIB_DEPENDS= libdrm.so:graphics/libdrm \
libwayland-server.so:graphics/wayland \
libwlroots.so:x11-toolkits/wlroots

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,}

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/scenefx/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1713561527
SHA256 (wlrfx-scenefx-0.1_GH0.tar.gz) = f5c889f4c826a4216628bf1e7e48071fc33e7774b5e3d51e6fee6e571e420827
SIZE (wlrfx-scenefx-0.1_GH0.tar.gz) = 107137
2 changes: 2 additions & 0 deletions x11-toolkits/scenefx/pkg-descr
@@ -0,0 +1,2 @@
A drop-in replacement for the wlroots scene API that allows Wayland
compositors to render surfaces with eye-candy effects.
9 changes: 9 additions & 0 deletions x11-toolkits/scenefx/pkg-plist
@@ -0,0 +1,9 @@
include/scenefx/render/fx_renderer/fx_effect_framebuffers.h
include/scenefx/render/fx_renderer/fx_renderer.h
include/scenefx/render/pass.h
include/scenefx/types/fx/blur_data.h
include/scenefx/types/fx/shadow_data.h
include/scenefx/types/wlr_scene.h
lib/libscenefx.so
lib/libscenefx.so.1
libdata/pkgconfig/scenefx.pc

0 comments on commit 3356ffb

Please sign in to comment.