Skip to content

Commit

Permalink
games-action/minetest: Add prometheus client support
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/733984
Signed-off-by: William Breathitt Gray <[email protected]>
Closes: gentoo#16840
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
vilhelmgray authored and juippis committed Sep 6, 2020
1 parent fbe439d commit 4ab99fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions games-action/minetest/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion games-action/minetest/minetest-5.3.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 )"

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4ab99fc

Please sign in to comment.