diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-10-27 17:12:38 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-10-27 17:30:16 +0000 |
commit | 48e908ebfe26792409758d6e80aa55ff7e0223d7 (patch) | |
tree | f14f151d90ebd28576849dbcfbe9d9fbcf374482 | |
parent | f2e69e923045efe557445772fc898235873722ee (diff) |
net-im/gtkcord4: install DBus service after ece3f71b582e
Mainly used by .desktop file due to DBusActivatable=true
-rw-r--r-- | net-im/gtkcord4/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net-im/gtkcord4/Makefile b/net-im/gtkcord4/Makefile index 6c9428ac61cc..debb1498d806 100644 --- a/net-im/gtkcord4/Makefile +++ b/net-im/gtkcord4/Makefile @@ -51,6 +51,7 @@ GH_TUPLE= alecthomas:chroma:v0.10.0:alecthomas_chroma/vendor/github.com/alecthom CGO_LDFLAGS+= -Wl,--as-needed # gtk4 deps PLIST_FILES= bin/${PORTNAME} \ share/applications/so.libdb.gtkcord4.desktop \ + share/dbus-1/services/so.libdb.gtkcord4.service \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg \ share/metainfo/so.libdb.gtkcord4.metainfo.xml @@ -58,9 +59,13 @@ post-extract: # Prune after https://github.com/diamondburned/gtkcord4/commit/86b3ea579df1 ${RM} ${WRKSRC}/nix/xyz.diamondb.gtkcord4.desktop +post-patch: + @${REINPLACE_CMD} 's,/usr/bin,${PREFIX}/bin,' ${WRKSRC}/nix/*.service + post-install: # Install extras similar to Nix flake -.for f in nix/*.desktop *.metainfo.xml internal/icons/hicolor/scalable/apps/logo.svg +.for f in nix/*.desktop nix/*.service *.metainfo.xml \ + internal/icons/hicolor/scalable/apps/logo.svg ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}:H} ${INSTALL_DATA} ${WRKSRC}/${f} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}} |