From 564cb11ba6ae33f7df6fae33330eb81932c2906f Mon Sep 17 00:00:00 2001
From: Hugo Locurcio <hugo.locurcio@hugo.pro>
Date: Tue, 23 Apr 2019 21:54:14 +0200
Subject: [PATCH] Add description and dependencies to `mod.conf`

The legacy `depends.txt` and `description.txt` files are no longer
needed since Minetest 5.0.0 or later will read everything from
`mod.conf`.

This raises the minimum supported Minetest version to 5.0.0.
---
 CHANGELOG.md    | 4 ++++
 depends.txt     | 4 ----
 description.txt | 1 -
 mod.conf        | 3 +++
 4 files changed, 7 insertions(+), 5 deletions(-)
 delete mode 100644 depends.txt
 delete mode 100644 description.txt

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e386b83..1363aba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
 
 - Polish translation.
 
+### Changed
+
+- The minimum supported Minetest version is now 5.0.0.
+
 ## [1.1.0] - 2019-03-23
 
 ### Added
diff --git a/depends.txt b/depends.txt
deleted file mode 100644
index 6c8d8d7..0000000
--- a/depends.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-default
-farming?
-intllib?
-mg?
diff --git a/description.txt b/description.txt
deleted file mode 100644
index 6bd1c7c..0000000
--- a/description.txt
+++ /dev/null
@@ -1 +0,0 @@
-Adds new Ore types.
diff --git a/mod.conf b/mod.conf
index 5a9f1e2..2b96161 100644
--- a/mod.conf
+++ b/mod.conf
@@ -1 +1,4 @@
 name = moreores
+description = Adds new ore types.
+depends = default
+optional_depends = farming,intllib,mg
-- 
GitLab