aboutsummaryrefslogtreecommitdiff
path: root/x11/xdg-desktop-portal-gnome/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xdg-desktop-portal-gnome/Makefile')
-rw-r--r--x11/xdg-desktop-portal-gnome/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/x11/xdg-desktop-portal-gnome/Makefile b/x11/xdg-desktop-portal-gnome/Makefile
index 333af90e3f5f..889288f3b610 100644
--- a/x11/xdg-desktop-portal-gnome/Makefile
+++ b/x11/xdg-desktop-portal-gnome/Makefile
@@ -1,33 +1,40 @@
PORTNAME= xdg-desktop-portal-gnome
-DISTVERSION= 43.1
+DISTVERSION= 47.3
CATEGORIES= x11 gnome
-MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
+MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= tagattie@FreeBSD.org
COMMENT= Backend implementation for xdg-desktop-portal for GNOME
WWW= https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome
-LICENSE= LGPL21
+LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \
- xdg-desktop-portal-gtk>0:x11/xdg-desktop-portal-gtk
+ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
- libgnome-desktop-4.so:x11/gnome-desktop
-RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \
- xdg-desktop-portal-gtk>0:x11/xdg-desktop-portal-gtk
+ libgraphene-1.0.so:graphics/graphene \
+ libwayland-client.so:graphics/wayland
+RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal
USES= gettext-tools gnome meson pkgconfig tar:xz xorg
USE_XORG= x11
-USE_GNOME= cairo gdkpixbuf glib20 gtk40 libadwaita
+USE_GNOME= cairo gdkpixbuf gnomedesktop4 glib20 gtk40 libadwaita
GLIB_SCHEMAS= xdg-desktop-portal-gnome.gschema.xml
+MESON_ARGS= -Dsystemd=disabled \
+ -Dsystemduserunitdir=no
+
PORTDOCS= NEWS README.md
OPTIONS_DEFINE= DOCS
+post-patch:
+ @${REINPLACE_CMD} -i "" -e 's|SystemdService|#SystemdService|' \
+ ${WRKSRC}/data/org.freedesktop.impl.portal.desktop.gnome.service.in
+
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}