2019-07-28 02:48:48 +02:00
|
|
|
PORTNAME= wayfire
|
2021-01-29 20:23:32 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
2022-12-01 16:12:48 +01:00
|
|
|
DISTVERSION= 0.7.5
|
2022-07-01 10:00:55 +02:00
|
|
|
CATEGORIES= x11-wm wayland
|
2019-07-28 02:48:48 +02:00
|
|
|
|
2021-07-07 15:02:20 +02:00
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
2022-02-05 04:30:18 +01:00
|
|
|
PATCHFILES+= dd479c06bf84.patch:-p1 # https://github.com/WayfireWM/wayfire/issues/599
|
2021-07-07 15:02:20 +02:00
|
|
|
|
2019-07-28 02:48:48 +02:00
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
2020-02-07 03:27:23 +01:00
|
|
|
COMMENT= 3D Wayland compositor
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://wayfire.org/
|
2019-07-28 02:48:48 +02:00
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
|
2021-01-29 20:23:32 +01:00
|
|
|
wf-config>=0.7.0<0.8.0:devel/wf-config \
|
2019-07-28 02:48:48 +02:00
|
|
|
${LOCALBASE}/include/xf86drmMode.h:graphics/libdrm \
|
|
|
|
wayland-protocols>=1.12:graphics/wayland-protocols \
|
2020-01-03 11:16:59 +01:00
|
|
|
glm>=0.9.8:math/glm \
|
2022-12-01 16:12:48 +01:00
|
|
|
wlroots>=0.16.0<0.17.0:x11-toolkits/wlroots
|
2019-07-28 02:48:48 +02:00
|
|
|
LIB_DEPENDS= libinotify.so:devel/libinotify \
|
|
|
|
libwf-config.so:devel/wf-config \
|
|
|
|
libpng.so:graphics/png \
|
|
|
|
libwayland-server.so:graphics/wayland \
|
|
|
|
libwlroots.so:x11-toolkits/wlroots \
|
|
|
|
libinput.so:x11/libinput \
|
|
|
|
libxkbcommon.so:x11/libxkbcommon
|
|
|
|
|
2020-03-22 11:45:10 +01:00
|
|
|
USES= compiler:c++17-lang gl gnome jpeg meson pkgconfig xorg
|
2019-07-28 02:48:48 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
USE_GL= egl glesv2
|
2022-04-15 21:02:52 +02:00
|
|
|
USE_GNOME= cairo pango
|
2019-07-28 02:48:48 +02:00
|
|
|
USE_XORG= pixman
|
|
|
|
GH_ACCOUNT= WayfireWM
|
2021-05-04 09:17:01 +02:00
|
|
|
GH_TUPLE= WayfireWM:wf-touch:8974eb0:wftouch/subprojects/wf-touch \
|
2021-04-21 11:20:50 +02:00
|
|
|
WayfireWM:wf-utils:889fdaf:wfutils/subprojects/wf-utils
|
2019-07-28 02:48:48 +02:00
|
|
|
|
2021-09-11 17:52:54 +02:00
|
|
|
OPTIONS_DEFINE= X11
|
|
|
|
OPTIONS_DEFAULT=X11
|
2019-07-28 02:48:48 +02:00
|
|
|
|
2020-08-04 22:35:09 +02:00
|
|
|
X11_USE= XORG=xcb
|
|
|
|
X11_MESON_ENABLED= xwayland
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
# Extract (snapshot) version from the port instead of meson.build
|
|
|
|
@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
|
|
|
|
-e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
|
|
|
|
${WRKSRC}/meson.build
|
|
|
|
|
2020-11-30 15:08:37 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
|
2019-07-28 02:48:48 +02:00
|
|
|
.include <bsd.port.mk>
|