From 48c4c9fdc67673d1f6ff8a7581afc2c558807b51 Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Tue, 16 Apr 2019 18:41:56 +0000 Subject: [PATCH] Make thunar-archive-plugin work with file-roller, if installed. This allows "extract-here" menu entry in xfce4-desktop and thunar to work again when file-roller is the only archive manager installed. --- archivers/thunar-archive-plugin/Makefile | 6 +++++- archivers/thunar-archive-plugin/pkg-plist | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/archivers/thunar-archive-plugin/Makefile b/archivers/thunar-archive-plugin/Makefile index f7e9dac8d837..d8b4687c491d 100644 --- a/archivers/thunar-archive-plugin/Makefile +++ b/archivers/thunar-archive-plugin/Makefile @@ -3,7 +3,7 @@ PORTNAME= thunar-archive-plugin PORTVERSION= 0.3.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= archivers xfce MASTER_SITES= XFCE/src/thunar-plugins/${PORTNAME}/${PORTVERSION:R} DIST_SUBDIR= xfce4 @@ -28,4 +28,8 @@ OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime +post-install: + ${RLN} ${STAGEDIR}${PREFIX}/libexec/thunar-archive-plugin/file-roller.tap \ + ${STAGEDIR}${PREFIX}/libexec/thunar-archive-plugin/org.gnome.FileRoller.tap + .include diff --git a/archivers/thunar-archive-plugin/pkg-plist b/archivers/thunar-archive-plugin/pkg-plist index 15b7ddb6a7db..ce0a6c2b302d 100644 --- a/archivers/thunar-archive-plugin/pkg-plist +++ b/archivers/thunar-archive-plugin/pkg-plist @@ -2,6 +2,7 @@ lib/thunarx-2/thunar-archive-plugin.so libexec/thunar-archive-plugin/ark.tap libexec/thunar-archive-plugin/file-roller.tap libexec/thunar-archive-plugin/gnome-file-roller.tap +libexec/thunar-archive-plugin/org.gnome.FileRoller.tap share/icons/hicolor/16x16/apps/tap-create.png share/icons/hicolor/16x16/apps/tap-extract.png share/icons/hicolor/16x16/apps/tap-extract-to.png