summaryrefslogtreecommitdiff
path: root/x11-wm/wlmaker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/wlmaker/Makefile')
-rw-r--r--x11-wm/wlmaker/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/x11-wm/wlmaker/Makefile b/x11-wm/wlmaker/Makefile
index 1487bab53bcf..d43e4c5a10e3 100644
--- a/x11-wm/wlmaker/Makefile
+++ b/x11-wm/wlmaker/Makefile
@@ -1,6 +1,7 @@
PORTNAME= wlmaker
DISTVERSIONPREFIX= v
-DISTVERSION= 0.2
+DISTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= x11-wm wayland
MAINTAINER= jbeich@FreeBSD.org
@@ -13,33 +14,35 @@ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
wayland-protocols>=1.31:graphics/wayland-protocols
LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libwayland-server.so:graphics/wayland \
- libwlroots.so:x11-toolkits/wlroots \
+ libwlroots.so:x11-toolkits/wlroots017 \
libxkbcommon.so:x11/libxkbcommon
RUN_DEPENDS= foot:x11/foot
-USES= cmake compiler:c11 gnome pkgconfig xorg
+USES= bison cmake compiler:c11 gnome pkgconfig xorg
USE_GITHUB= yes
USE_GNOME= cairo
USE_XORG= xcb
GH_ACCOUNT= phkaeser
-GH_TUPLE= phkaeser:libbase:27aae18:libbase/submodules/libbase
+GH_TUPLE= phkaeser:libbase:df7ce2a:libbase/submodules/libbase
PLIST_FILES= bin/${PORTNAME} \
bin/wlmclock \
share/icons/${PORTNAME}/chrome-48x48.png \
share/icons/${PORTNAME}/clip-48x48.png \
share/icons/${PORTNAME}/firefox-48x48.png \
share/icons/${PORTNAME}/terminal-48x48.png \
+ share/wayland-sessions/${PORTNAME}.desktop \
${NULL}
post-patch:
# Respect PREFIX for icons
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
- ${WRKSRC}/src/decorations.c
+ ${WRKSRC}/src/clip.c \
+ ${WRKSRC}/src/launcher.c
# Respect LOCALBASE for apps and use open source Chrome
@${REINPLACE_CMD} -e 's,/usr/bin,${LOCALBASE}/bin,' \
-e 's/google-chrome/chrome/' \
- ${WRKSRC}/src/dock.c \
- ${WRKSRC}/src/${PORTNAME}.c
+ ${WRKSRC}/src/action.c \
+ ${WRKSRC}/etc/*.plist
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276743
@${GREP} -Flr _POSIX_C_SOURCE ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
'/_POSIX_C_SOURCE/d'