summaryrefslogtreecommitdiff
path: root/x11-wm/muffin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/muffin/Makefile')
-rw-r--r--x11-wm/muffin/Makefile69
1 files changed, 54 insertions, 15 deletions
diff --git a/x11-wm/muffin/Makefile b/x11-wm/muffin/Makefile
index 359143fef401..6240dd458481 100644
--- a/x11-wm/muffin/Makefile
+++ b/x11-wm/muffin/Makefile
@@ -1,6 +1,5 @@
PORTNAME= muffin
-PORTVERSION= 5.4.5
-PORTREVISION= 6
+DISTVERSION= 6.4.1
CATEGORIES= x11-wm gnome
DIST_SUBDIR= gnome
@@ -20,39 +19,79 @@ LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \
libcinnamon-desktop.so:x11/cinnamon-desktop \
libxkbcommon.so:x11/libxkbcommon \
libcanberra.so:audio/libcanberra \
- libdbus-1.so:devel/dbus \
- libstartup-notification-1.so:x11/startup-notification \
- libpipewire-0.3.so:multimedia/pipewire \
- libfontconfig.so:x11-fonts/fontconfig
-RUN_DEPENDS= xkeyboard-config>0:x11/xkeyboard-config
+ libdbus-1.so:devel/dbus
+RUN_DEPENDS= xkeyboard-config>0:x11/xkeyboard-config \
+ zenity>0:x11/zenity
USES= compiler:c11 gettext-tools gl gnome localbase meson pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
-USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 introspection pango
-USE_XORG= ice sm x11 xau xcb xcomposite xcursor xdamage xext xfixes xi xinerama \
+USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango
+USE_XORG= ice x11 xau xcb xcomposite xcursor xdamage xext xfixes xi xinerama \
xkbfile xrandr xrender xtst
USE_GL= egl gl glesv2
USE_LDCONFIG= yes
-MESON_ARGS= -Dcore_tests=false
+MESON_ARGS= -Dnative_backend=false
GLIB_SCHEMAS= org.cinnamon.muffin.gschema.xml
-OPTIONS_DEFINE= TEST UDEV WACOM
-OPTIONS_DEFAULT= WACOM
+OPTIONS_DEFINE= EGL_DEVICE INTROSPECTION PANGOFT2 REMOTE SM STARTUP \
+ TEST UDEV WACOM WAYLAND WAYLAND_EGL
+OPTIONS_DEFAULT= INTROSPECTION PANGOFT2 REMOTE SM STARTUP UDEV WACOM
+OPTIONS_SUB= yes
-TEST_MESON_TRUE= cogl_tests clutter_tests
+EGL_DEVICE_DESC= Enable EGLDevice and EGLStream renderer support
+EGL_DEVICE_MESON_TRUE= egl_device
-UDEV_DESC= Enable udev support when using the X11 backend (EXPERIMENTAL)
+INTROSPECTION_DESC= Enable GObject introspection
+INTROSPECTION_MESON_TRUE= introspection
+INTROSPECTION_USE= GNOME=introspection
+
+PANGOFT2_DESC= Enable PangoFt2 support
+PANGOFT2_MESON_TRUE= pango_ft2
+PANGOFT2_USE= GNOME=pangoft2
+
+REMOTE_DESC= Enable remote desktop and screen cast support
+REMOTE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire
+REMOTE_MESON_TRUE= remote_desktop
+
+SM_DESC= Enable X11 session management support
+SM_MESON_TRUE= sm
+SM_USE= XORG=sm
+
+STARTUP_DESC= Enable startup notification support
+STARTUP_LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification
+STARTUP_MESON_TRUE= startup_notification
+
+TEST_BUILD_DEPENDS= bash:shells/bash
+TEST_MESON_TRUE= tests
+
+UDEV_DESC= Enable udev support when using the X11 backend
UDEV_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev \
libudev.so:devel/libudev-devd
UDEV_MESON_TRUE= udev
-WACOM_DESC= Tablet support with libwacom
+WACOM_DESC= Tablet support with libwacom
WACOM_LIB_DEPENDS= libwacom.so:x11/libwacom
WACOM_MESON_TRUE= libwacom
+WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm \
+ wayland-protocols>0:graphics/wayland-protocols \
+ Xwayland:x11-servers/xwayland
+WAYLAND_LIB_DEPENDS= libwayland-server.so:graphics/wayland
+WAYLAND_MESON_TRUE= core_tests wayland
+
+WAYLAND_EGL_DESC= Enable Wayland EGLStream support client support
+WAYLAND_EGL_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/wayland-eglstream-protocols.pc:graphics/egl-wayland
+WAYLAND_EGL_MESON_TRUE= wayland_eglstream
+WAYLAND_EGL_IMPLIES= wayland
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/<drm_fourcc.h>/<libdrm\/drm_fourcc.h>/' \
+ ${WRKSRC}/src/wayland/meta-wayland-dma-buf.c \
+ ${WRKSRC}/src/wayland/meta-wayland-buffer.c
+
.include <bsd.port.mk>