From ac5d3248257e9e1ddbf57ca5828a1de165d445a4 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 30 Jun 2013 10:24:17 +0200 Subject: Add unachiver support Based on the following commits from file-roller, https://git.gnome.org/browse/file-roller/commit/?id=2575177ac037d2a8d8f3056b10685928d80d6275 https://git.gnome.org/browse/file-roller/commit/?id=f26caa6d5b76d406976ea78630fbaae4c8126a2e --- src/main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 898547d..bbcaa31 100644 --- a/src/main.c +++ b/src/main.c @@ -42,6 +42,9 @@ #include "fr-command-rar.h" #include "fr-command-rpm.h" #include "fr-command-tar.h" +#if HAVE_JSON_GLIB + #include "fr-command-unarchiver.h" +#endif #include "fr-command-unstuff.h" #include "fr-command-zip.h" #include "fr-command-zoo.h" @@ -545,6 +548,9 @@ register_commands (void) register_command (FR_TYPE_COMMAND_ZIP); register_command (FR_TYPE_COMMAND_LRZIP); register_command (FR_TYPE_COMMAND_ZOO); +#if HAVE_JSON_GLIB + register_command (FR_TYPE_COMMAND_UNARCHIVER); +#endif } -- cgit v1.2.1