summaryrefslogtreecommitdiff
path: root/plugins/dex
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dex')
-rw-r--r--plugins/dex/Makefile.am4
-rw-r--r--plugins/dex/core.c9
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));