x11/wdisplays: unbreak build with textproc/py-scour

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: share/icons/hicolor/scalable/apps/network.cycles.wdisplays.svg
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: share/icons/hicolor/scalable/apps/wdisplays.svg
===> Error: Plist issues found.
*** Error code 1

PR:		270525
Reported by:	Chad Jacob Milios
This commit is contained in:
Jan Beich 2023-03-29 16:39:22 +00:00
parent 073dcdd987
commit fdf37ec636
2 changed files with 15 additions and 2 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= wdisplays
DISTVERSION= 1.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11 wayland
MAINTAINER= jbeich@FreeBSD.org
@ -24,6 +24,6 @@ USE_GNOME= cairo gtk30
GH_ACCOUNT= artizirk
PLIST_FILES= bin/${PORTNAME} \
share/applications/network.cycles.${PORTNAME}.desktop \
share/icons/hicolor/scalable/apps/${PORTNAME}.svg
share/icons/hicolor/scalable/apps/network.cycles.${PORTNAME}.svg
.include <bsd.port.mk>

View file

@ -0,0 +1,13 @@
https://github.com/artizirk/wdisplays/pull/1
--- resources/meson.build.orig 2021-03-29 08:33:43 UTC
+++ resources/meson.build
@@ -37,7 +37,7 @@ if scour.found()
install: true,
install_dir: icondir)
else
-install_data(icon, install_dir: icondir)
+install_data(icon, install_dir: icondir, rename: '@0@.svg'.format(meson.project_name()))
endif
install_data(