Skip to content

Commit a6ab03e

Browse files
committed
x11-toolkits/scenefx03: add new port
Changes: https://github.com/wlrfx/scenefx/releases/tag/0.3 Reported by: GitHub (watch releases)
1 parent 5bdddc5 commit a6ab03e

5 files changed

Lines changed: 59 additions & 0 deletions

File tree

x11-toolkits/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@
236236
SUBDIR += rubygem-vte3
237237
SUBDIR += rubygem-vte4
238238
SUBDIR += scenefx02
239+
SUBDIR += scenefx03
239240
SUBDIR += scintilla
240241
SUBDIR += sdl2_pango
241242
SUBDIR += sdl_pango

x11-toolkits/scenefx03/Makefile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
PORTNAME= scenefx
2+
DISTVERSION= 0.3
3+
CATEGORIES= x11-toolkits
4+
PKGNAMESUFFIX= 03
5+
6+
MAINTAINER= jbeich@FreeBSD.org
7+
COMMENT= wlroots scene API, but with eye candy!
8+
WWW= https://github.com/wlrfx/scenefx
9+
10+
LICENSE= MIT
11+
LICENSE_FILE= ${WRKSRC}/LICENSE
12+
13+
BUILD_DEPENDS= wayland-protocols>=1.35:graphics/wayland-protocols
14+
LIB_DEPENDS= libdrm.so:graphics/libdrm \
15+
libwayland-server.so:graphics/wayland \
16+
libwlroots-0.18.so:x11-toolkits/wlroots018 \
17+
18+
USES= compiler:c11 meson pkgconfig xorg
19+
USE_GITHUB= yes
20+
USE_LDCONFIG= yes
21+
USE_XORG= pixman
22+
GH_ACCOUNT= wlrfx
23+
MESON_ARGS= -Dexamples=false -Drenderers=${RENDERERS:ts,}
24+
PLIST_SUB= SUFFIX=-${DISTVERSION:R}
25+
PLIST_SUB= SUFFIX=-${DISTVERSION} # XXX Remove after 0.3.1 update
26+
27+
PORTSCOUT= limit:^0\.3\.
28+
29+
OPTIONS_DEFINE= OPENGL
30+
OPTIONS_DEFAULT=OPENGL
31+
OPTIONS_SLAVE= OPENGL # XXX Remove after adding VULKAN
32+
33+
OPENGL_USES= gl
34+
OPENGL_USE= GL=egl,gbm,glesv2
35+
OPENGL_VARS= RENDERERS+=gles2
36+
37+
.include <bsd.port.mk>

x11-toolkits/scenefx03/distinfo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TIMESTAMP = 1739733667
2+
SHA256 (wlrfx-scenefx-0.3_GH0.tar.gz) = aef024ba429ea704100815979371831269326fe2f3e9d76adbab7951060afc6b
3+
SIZE (wlrfx-scenefx-0.3_GH0.tar.gz) = 86815

x11-toolkits/scenefx03/pkg-descr

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
wlroots is the de-facto library for building wayland compositors, and
2+
its scene api is a great stride in simplifying wayland compositor
3+
development. The problem with the scene api (for compositors looking
4+
for eye candy), however, is that it forces you to use the wlr
5+
renderer, which is powerful yet simple. SceneFX is a project that
6+
takes the scene api and replaces the wlr renderer with our own fx
7+
renderer, capable of rendering surfaces with eye-candy effects
8+
including blur, shadows, and rounded corners, while maintaining the
9+
benefits of simplicity gained from using the scene api.

x11-toolkits/scenefx03/pkg-plist

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
include/scenefx%%SUFFIX%%/scenefx/render/fx_renderer/fx_effect_framebuffers.h
2+
include/scenefx%%SUFFIX%%/scenefx/render/fx_renderer/fx_renderer.h
3+
include/scenefx%%SUFFIX%%/scenefx/render/pass.h
4+
include/scenefx%%SUFFIX%%/scenefx/types/fx/blur_data.h
5+
include/scenefx%%SUFFIX%%/scenefx/types/fx/clipped_region.h
6+
include/scenefx%%SUFFIX%%/scenefx/types/fx/corner_location.h
7+
include/scenefx%%SUFFIX%%/scenefx/types/wlr_scene.h
8+
lib/libscenefx%%SUFFIX%%.so
9+
libdata/pkgconfig/scenefx%%SUFFIX%%.pc

0 commit comments

Comments
 (0)