From 07ec86e98cf66240590ca94f13243a4738c42c81 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 29 Mar 2023 16:39:22 +0000 Subject: 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 (cherry picked from commit fdf37ec6360d430f2a71f85f85cc2e70ae7fc60f) --- x11/wdisplays/Makefile | 3 ++- x11/wdisplays/files/patch-resources_meson.build | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 x11/wdisplays/files/patch-resources_meson.build diff --git a/x11/wdisplays/Makefile b/x11/wdisplays/Makefile index 37fb1f449ffe..3a34ec3ebee3 100644 --- a/x11/wdisplays/Makefile +++ b/x11/wdisplays/Makefile @@ -1,5 +1,6 @@ PORTNAME= wdisplays DISTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org @@ -23,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 diff --git a/x11/wdisplays/files/patch-resources_meson.build b/x11/wdisplays/files/patch-resources_meson.build new file mode 100644 index 000000000000..58810677480e --- /dev/null +++ b/x11/wdisplays/files/patch-resources_meson.build @@ -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( -- cgit v1.2.3