freebsd-ports/x11-wm/wayfire-plugins-extra/Makefile
2023-11-21 18:24:00 +01:00

45 lines
1.3 KiB
Makefile

PORTNAME= wayfire-plugins-extra
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.0
PORTREVISION= 1
CATEGORIES= x11-wm wayland
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Additional plugins for Wayfire
WWW= https://wayfire.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
wayland-scanner:graphics/wayland \
wayland-protocols>0:graphics/wayland-protocols \
wayfire>0:x11-wm/wayfire
LIB_DEPENDS= libwf-config.so:devel/wf-config \
libwayland-server.so:graphics/wayland \
libwlroots.so:x11-toolkits/wlroots
USES= compiler:c++17-lang gnome meson pkgconfig
USE_GITHUB= yes
USE_GITLAB= nodefault
USE_GNOME= cairo glibmm
GH_ACCOUNT= WayfireWM
GH_TUPLE= timgott:wayfire-shadows:de32395:wayfire_shadows/subprojects/wayfire-shadows
GL_TUPLE= wayfireplugins:focus-request:bc41d54:focus_request/subprojects/focus-request \
wayfireplugins:windecor:f609ac0:windecor/subprojects/windecor
MESON_ARGS= -Denable_focus_request=true -Denable_wayfire_shadows=true
OPTIONS_DEFINE= LIBRSVG2
OPTIONS_DEFAULT=LIBRSVG2
OPTIONS_SUB= yes
LIBRSVG2_USE= GNOME=librsvg2
LIBRSVG2_MESON_TRUE= enable_windecor
post-patch:
# Respect PREFIX for icons
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/subprojects/windecor/deco-icontheme.cpp
.include "${.CURDIR:H:H}/x11-toolkits/wlroots016/override.mk"
.include <bsd.port.mk>