summaryrefslogtreecommitdiff
path: root/plugins/yaml
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-04-04 21:57:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-04-04 21:57:54 (GMT)
commit286ba13e0a5e908f9ebe67286bb6006adb4102fc (patch)
tree06d1ef353ae623c579a8fff5a74d22ecc0b9b862 /plugins/yaml
parentc1cac2ce69f01deb99c5c91a803dfa04af90ef14 (diff)
Simplified the plugin interface.
Diffstat (limited to 'plugins/yaml')
-rw-r--r--plugins/yaml/Makefile.am4
-rw-r--r--plugins/yaml/core.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/yaml/Makefile.am b/plugins/yaml/Makefile.am
index 5432c9d..21d6192 100644
--- a/plugins/yaml/Makefile.am
+++ b/plugins/yaml/Makefile.am
@@ -40,8 +40,8 @@ libyaml_la_SOURCES = \
libyaml_la_LIBADD = \
$(PYTHON3_LIBADD)
-libyaml_la_LDFLAGS = \
- -L$(top_srcdir)/src/.libs -lchrysacore \
+libyaml_la_LDFLAGS = \
+ -L$(top_srcdir)/src/.libs -lchrysacore \
$(PYTHON3_LDFLAGS)
diff --git a/plugins/yaml/core.c b/plugins/yaml/core.c
index 8bcea05..ffc7edd 100644
--- a/plugins/yaml/core.c
+++ b/plugins/yaml/core.c
@@ -24,7 +24,7 @@
#include "core.h"
-#include <plugins/plugin-def.h>
+#include <plugins/self.h>
#ifdef HAVE_PYTHON3_BINDINGS
@@ -39,7 +39,8 @@
#endif
-DEFINE_CHRYSALIDE_PLUGIN("GYamlPlugin", "yaml", "Reader for Yaml contents", "0.1.0",
+DEFINE_CHRYSALIDE_PLUGIN("Yaml", "Yaml content reader",
+ PACKAGE_VERSION, CHRYSALIDE_WEBSITE(""),
PG_REQ, AL(PGA_PLUGIN_INIT));