summaryrefslogtreecommitdiff
path: root/x11/libxfce4windowing/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libxfce4windowing/Makefile')
-rw-r--r--x11/libxfce4windowing/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/x11/libxfce4windowing/Makefile b/x11/libxfce4windowing/Makefile
index 995e7ea970b1..440db67f7047 100644
--- a/x11/libxfce4windowing/Makefile
+++ b/x11/libxfce4windowing/Makefile
@@ -1,6 +1,5 @@
PORTNAME= libxfce4windowing
-DISTVERSION= 4.20.3
-PORTREVISION= 1
+DISTVERSION= 4.20.4
CATEGORIES= x11 xfce
MASTER_SITES= XFCE
DIST_SUBDIR= xfce4
@@ -21,28 +20,34 @@ USE_XFCE= xdt
USE_XORG= x11 xrandr
SHEBANG_FILES= xdt-gen-visibility
-MESON_ARGS= -Dgtk-doc=false \
- -Dx11=enabled
+MESON_ARGS= -Dx11=enabled
-OPTIONS_DEFINE= GIR NLS WAYLAND
-OPTIONS_DEFAULT= GIR WAYLAND
+OPTIONS_DEFINE= DOCS GIR NLS VAPI WAYLAND
+OPTIONS_DEFAULT= GIR VAPI WAYLAND
OPTIONS_SUB= yes
GIR_DESC= GObject Introspection support
-# At present gtk-doc is broken due to missing files in the distribution
-#DOCS_MESON_TRUE= gtk-doc
+DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc
+DOCS_MESON_TRUE= gtk-doc
GIR_USE= GNOME=introspection:build
GIR_MESON_TRUE= introspection
NLS_USES= gettext-runtime
+VAPI_USES= vala:build
+VAPI_MESON_ENABLED= vala
+
WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
-WAYLAND_RUN_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
+WAYLAND_RUN_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
WAYLAND_MESON_ENABLED= wayland
+post-patch:
+ @${CP} ${FILESDIR}/libxfce4windowing-docs.xml.in ${WRKSRC}/docs/reference/libxfce4windowing
+ @${CP} ${FILESDIR}/libxfce4windowingui-docs.xml.in ${WRKSRC}/docs/reference/libxfce4windowingui
+
post-patch-NLS-off:
@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build