deskutils/xdg-desktop-portal: Introduce MANPAGES option

Reported by:	bapt
This commit is contained in:
Gleb Popov 2025-01-24 17:21:12 +03:00
parent 3f9d42102b
commit 9e997b3e43
2 changed files with 9 additions and 1 deletions

View file

@ -20,10 +20,17 @@ USE_GITHUB= yes
GH_ACCOUNT= flatpak
USE_GNOME= gdkpixbuf2 glib20
MESON_ARGS= -Ddocbook-docs=disabled -Dman-pages=disabled -Dpytest=disabled \
MESON_ARGS= -Ddocbook-docs=disabled -Dpytest=disabled \
-Dflatpak-interfaces=disabled -Dsandboxed-image-validation=false \
-Dsystemd=disabled
OPTIONS_DEFINE= MANPAGES
MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils
MANPAGES_MESON_ENABLED= man-pages
OPTIONS_SUB= yes
post-install:
@${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd

View file

@ -92,4 +92,5 @@ share/locale/tr/LC_MESSAGES/xdg-desktop-portal.mo
share/locale/uk/LC_MESSAGES/xdg-desktop-portal.mo
share/locale/zh_CN/LC_MESSAGES/xdg-desktop-portal.mo
share/locale/zh_TW/LC_MESSAGES/xdg-desktop-portal.mo
%%MANPAGES%%share/man/man5/portals.conf.5.gz
share/pkgconfig/xdg-desktop-portal.pc