commit:     4ab99fc2150d104bfec7b288ef4aa43212c3eb65
Author:     William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Sun Jul 26 18:45:51 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Sep  6 05:55:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab99fc2

games-action/minetest: Add prometheus client support

Closes: https://bugs.gentoo.org/733984
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16840
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 games-action/minetest/metadata.xml          | 1 +
 games-action/minetest/minetest-5.3.0.ebuild | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index 8ca84936bcb..5cd60f0a871 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -44,6 +44,7 @@
        <use>
                <flag name="client">Build Minetest client</flag>
                <flag name="leveldb">Enable LevelDB backend</flag>
+               <flag name="prometheus">Enable prometheus client support</flag>
                <flag name="redis">Enable redis backend via 
<pkg>dev-libs/hiredis</pkg></flag>
                <flag name="server">Build Minetest server</flag>
                <flag name="spatial">Enable SpatialIndex AreaStore backend

diff --git a/games-action/minetest/minetest-5.3.0.ebuild 
b/games-action/minetest/minetest-5.3.0.ebuild
index 94e307d7644..b954c7f0fa3 100644
--- a/games-action/minetest/minetest-5.3.0.ebuild
+++ b/games-action/minetest/minetest-5.3.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+client +curl doc +leveldb ncurses nls postgres redis +server +sound 
spatial test +truetype"
+IUSE="+client +curl doc +leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test +truetype"
 REQUIRED_USE="|| ( client server )"
 RESTRICT="!test? ( test )"
 
@@ -42,6 +42,7 @@ RDEPEND="
        ncurses? ( sys-libs/ncurses:0= )
        nls? ( virtual/libintl )
        postgres? ( >=dev-db/postgresql-9.5:= )
+       prometheus? ( dev-cpp/prometheus-cpp )
        redis? ( dev-libs/hiredis:= )
        server? (
                acct-group/minetest
@@ -87,6 +88,7 @@ src_configure() {
                -DENABLE_LEVELDB=$(usex leveldb)
                -DENABLE_LUAJIT=1
                -DENABLE_POSTGRESQL=$(usex postgres)
+               -DENABLE_PROMETHEUS=$(usex prometheus)
                -DENABLE_REDIS=$(usex redis)
                -DENABLE_SPATIAL=$(usex spatial)
                -DENABLE_SOUND=$(usex sound)

Reply via email to