1 |
commit: 4ab99fc2150d104bfec7b288ef4aa43212c3eb65 |
2 |
Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jul 26 18:45:51 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 6 05:55:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab99fc2 |
7 |
|
8 |
games-action/minetest: Add prometheus client support |
9 |
|
10 |
Closes: https://bugs.gentoo.org/733984 |
11 |
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/16840 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
games-action/minetest/metadata.xml | 1 + |
16 |
games-action/minetest/minetest-5.3.0.ebuild | 4 +++- |
17 |
2 files changed, 4 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/games-action/minetest/metadata.xml b/games-action/minetest/metadata.xml |
20 |
index 8ca84936bcb..5cd60f0a871 100644 |
21 |
--- a/games-action/minetest/metadata.xml |
22 |
+++ b/games-action/minetest/metadata.xml |
23 |
@@ -44,6 +44,7 @@ |
24 |
<use> |
25 |
<flag name="client">Build Minetest client</flag> |
26 |
<flag name="leveldb">Enable LevelDB backend</flag> |
27 |
+ <flag name="prometheus">Enable prometheus client support</flag> |
28 |
<flag name="redis">Enable redis backend via <pkg>dev-libs/hiredis</pkg></flag> |
29 |
<flag name="server">Build Minetest server</flag> |
30 |
<flag name="spatial">Enable SpatialIndex AreaStore backend |
31 |
|
32 |
diff --git a/games-action/minetest/minetest-5.3.0.ebuild b/games-action/minetest/minetest-5.3.0.ebuild |
33 |
index 94e307d7644..b954c7f0fa3 100644 |
34 |
--- a/games-action/minetest/minetest-5.3.0.ebuild |
35 |
+++ b/games-action/minetest/minetest-5.3.0.ebuild |
36 |
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
37 |
LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0" |
38 |
SLOT="0" |
39 |
KEYWORDS="~amd64 ~x86" |
40 |
-IUSE="+client +curl doc +leveldb ncurses nls postgres redis +server +sound spatial test +truetype" |
41 |
+IUSE="+client +curl doc +leveldb ncurses nls postgres prometheus redis +server +sound spatial test +truetype" |
42 |
REQUIRED_USE="|| ( client server )" |
43 |
RESTRICT="!test? ( test )" |
44 |
|
45 |
@@ -42,6 +42,7 @@ RDEPEND=" |
46 |
ncurses? ( sys-libs/ncurses:0= ) |
47 |
nls? ( virtual/libintl ) |
48 |
postgres? ( >=dev-db/postgresql-9.5:= ) |
49 |
+ prometheus? ( dev-cpp/prometheus-cpp ) |
50 |
redis? ( dev-libs/hiredis:= ) |
51 |
server? ( |
52 |
acct-group/minetest |
53 |
@@ -87,6 +88,7 @@ src_configure() { |
54 |
-DENABLE_LEVELDB=$(usex leveldb) |
55 |
-DENABLE_LUAJIT=1 |
56 |
-DENABLE_POSTGRESQL=$(usex postgres) |
57 |
+ -DENABLE_PROMETHEUS=$(usex prometheus) |
58 |
-DENABLE_REDIS=$(usex redis) |
59 |
-DENABLE_SPATIAL=$(usex spatial) |
60 |
-DENABLE_SOUND=$(usex sound) |