diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-04-04 21:57:54 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-04-04 21:57:54 (GMT) |
commit | 286ba13e0a5e908f9ebe67286bb6006adb4102fc (patch) | |
tree | 06d1ef353ae623c579a8fff5a74d22ecc0b9b862 /plugins/dex | |
parent | c1cac2ce69f01deb99c5c91a803dfa04af90ef14 (diff) |
Simplified the plugin interface.
Diffstat (limited to 'plugins/dex')
-rw-r--r-- | plugins/dex/Makefile.am | 4 | ||||
-rw-r--r-- | plugins/dex/core.c | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/plugins/dex/Makefile.am b/plugins/dex/Makefile.am index 8a092d5..49a2687 100644 --- a/plugins/dex/Makefile.am +++ b/plugins/dex/Makefile.am @@ -40,8 +40,8 @@ libdex_la_SOURCES = \ libdex_la_LIBADD = \ $(PYTHON3_LIBADD) -libdex_la_LDFLAGS = \ - -L$(top_srcdir)/src/.libs -lchrysacore \ +libdex_la_LDFLAGS = \ + -L$(top_srcdir)/src/.libs -lchrysacore \ $(PYTHON3_LDFLAGS) diff --git a/plugins/dex/core.c b/plugins/dex/core.c index f13d521..22ebfff 100644 --- a/plugins/dex/core.c +++ b/plugins/dex/core.c @@ -26,7 +26,7 @@ #include <config.h> #include <core/global.h> -#include <plugins/plugin-def.h> +#include <plugins/self.h> #include "format.h" @@ -36,14 +36,15 @@ #ifdef HAVE_PYTHON3_BINDINGS -# define PG_REQ RL("PyChrysalide", "dexbnf") +# define PG_REQ RL("PyChrysalide") #else -# define PG_REQ RL("dexbnf") +# define PG_REQ NO_REQ #endif -DEFINE_CHRYSALIDE_PLUGIN("GDexPlugin", "dex", "Add support for the DEX format", "0.1.0", +DEFINE_CHRYSALIDE_PLUGIN("Dex", "DEX format support", + PACKAGE_VERSION, CHRYSALIDE_WEBSITE("doc/formats"), PG_REQ, AL(PGA_PLUGIN_INIT, PGA_CONTENT_RESOLVER)); |