[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/, profiles/updates/, games-engines/minetest/files/, ...

2023-12-14 Thread Marek Szuba
commit: 051d821b758a147e588d2d3cecbf0e3019b2dd62
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec 14 15:27:40 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec 14 15:33:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051d821b

games-engines/minetest: rename games-action/minetest

Bug: https://bugs.gentoo.org/919674
Signed-off-by: Marek Szuba  gentoo.org>

 {games-action => games-engines}/minetest/Manifest| 0
 .../minetest/files/minetest-5.7.0-no_upstream_optflags.patch | 0
 {games-action => games-engines}/minetest/files/minetestserver.confd  | 0
 {games-action => games-engines}/minetest/files/minetestserver.initd  | 0
 {games-action => games-engines}/minetest/files/minetestserver.logrotate  | 0
 .../minetest/files/minetestserver_default.service| 0
 .../minetest/files/minetestserver_template.service   | 0
 {games-action => games-engines}/minetest/metadata.xml| 0
 {games-action => games-engines}/minetest/minetest-5.7.0-r2.ebuild| 0
 {games-action => games-engines}/minetest/minetest-5.8.0.ebuild   | 0
 profiles/updates/4Q-2023 | 1 +
 11 files changed, 1 insertion(+)

diff --git a/games-action/minetest/Manifest b/games-engines/minetest/Manifest
similarity index 100%
rename from games-action/minetest/Manifest
rename to games-engines/minetest/Manifest

diff --git 
a/games-action/minetest/files/minetest-5.7.0-no_upstream_optflags.patch 
b/games-engines/minetest/files/minetest-5.7.0-no_upstream_optflags.patch
similarity index 100%
rename from 
games-action/minetest/files/minetest-5.7.0-no_upstream_optflags.patch
rename to games-engines/minetest/files/minetest-5.7.0-no_upstream_optflags.patch

diff --git a/games-action/minetest/files/minetestserver.confd 
b/games-engines/minetest/files/minetestserver.confd
similarity index 100%
rename from games-action/minetest/files/minetestserver.confd
rename to games-engines/minetest/files/minetestserver.confd

diff --git a/games-action/minetest/files/minetestserver.initd 
b/games-engines/minetest/files/minetestserver.initd
similarity index 100%
rename from games-action/minetest/files/minetestserver.initd
rename to games-engines/minetest/files/minetestserver.initd

diff --git a/games-action/minetest/files/minetestserver.logrotate 
b/games-engines/minetest/files/minetestserver.logrotate
similarity index 100%
rename from games-action/minetest/files/minetestserver.logrotate
rename to games-engines/minetest/files/minetestserver.logrotate

diff --git a/games-action/minetest/files/minetestserver_default.service 
b/games-engines/minetest/files/minetestserver_default.service
similarity index 100%
rename from games-action/minetest/files/minetestserver_default.service
rename to games-engines/minetest/files/minetestserver_default.service

diff --git a/games-action/minetest/files/minetestserver_template.service 
b/games-engines/minetest/files/minetestserver_template.service
similarity index 100%
rename from games-action/minetest/files/minetestserver_template.service
rename to games-engines/minetest/files/minetestserver_template.service

diff --git a/games-action/minetest/metadata.xml 
b/games-engines/minetest/metadata.xml
similarity index 100%
rename from games-action/minetest/metadata.xml
rename to games-engines/minetest/metadata.xml

diff --git a/games-action/minetest/minetest-5.7.0-r2.ebuild 
b/games-engines/minetest/minetest-5.7.0-r2.ebuild
similarity index 100%
rename from games-action/minetest/minetest-5.7.0-r2.ebuild
rename to games-engines/minetest/minetest-5.7.0-r2.ebuild

diff --git a/games-action/minetest/minetest-5.8.0.ebuild 
b/games-engines/minetest/minetest-5.8.0.ebuild
similarity index 100%
rename from games-action/minetest/minetest-5.8.0.ebuild
rename to games-engines/minetest/minetest-5.8.0.ebuild

diff --git a/profiles/updates/4Q-2023 b/profiles/updates/4Q-2023
index 1321063c1d8b..f018fc8f979b 100644
--- a/profiles/updates/4Q-2023
+++ b/profiles/updates/4Q-2023
@@ -36,3 +36,4 @@ move kde-frameworks/kwayland kde-plasma/kwayland
 move dev-java/aqute-bnd-annotation dev-java/bnd-annotation
 move dev-python/pycson dev-python/cson
 move dev-python/blake3-py dev-python/blake3
+move games-action/minetest games-engines/minetest



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2023-12-14 Thread Marek Szuba
commit: c0f40bf6d27a0d3e1e4234355ec2f1f40392d07e
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec 14 15:24:21 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec 14 15:33:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0f40bf6

games-action/minetest: add 5.8.0

Closes: https://bugs.gentoo.org/919674
Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.8.0.ebuild | 150 
 2 files changed, 151 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 59134e017841..17ce1a1572ff 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.7.0.tar.gz 10115973 BLAKE2B 
0f7e8864188004d57115c83508706b1cf1d6db0cba1a3002d603d4665e6d014ea2ec31df0a77a65da014467e21c331e3a27762018483a5bf4b2e024e3f7bdfc3
 SHA512 
6a934db5fd2c7c14fcfa87fb306662fa1ccf20a0eee056aea5c4c863986875017a4fa58ddf14319d385ee0400d00fb6a90f68b8f34527c98a746c6410360a529
+DIST minetest-5.8.0.tar.gz 10419348 BLAKE2B 
efe3edde2d3c57cc296b5f84359c24019583e4f70346eafd418da7cbfc334ecbb32c72df085052beaa28f8f4b4219d7431c150c20d511fc41c0809cdbad227f1
 SHA512 
0b376ecc051032ccb542f2f76e2b1f5c351b32f1c211027825b1538095f44cb1447cd0976cb85a4cde4ecb53873bcb9f3778799271ed65b038a031dc137c2aba

diff --git a/games-action/minetest/minetest-5.8.0.ebuild 
b/games-action/minetest/minetest-5.8.0.ebuild
new file mode 100644
index ..dad33027e5a5
--- /dev/null
+++ b/games-action/minetest/minetest-5.8.0.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+LUA_COMPAT=( lua5-1 luajit )
+
+inherit cmake flag-o-matic lua-single systemd xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 ~riscv"
+IUSE="+client +curl doc leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}
+   || ( client server )"
+
+RESTRICT="!test? ( test )"
+
+# Use bundled PUC Lua if lua5-1 has been requested requested due to C++
+# interoperability issues, at least until Bug #825766 has been resolved anyway.
+RDEPEND="lua_single_target_luajit? ( ${LUA_DEPS} )
+   app-arch/zstd
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   ~dev-games/irrlicht-mt-1.9.0.13
+   media-libs/freetype:2
+   media-libs/libpng:0=
+   media-libs/libjpeg-turbo
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   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
+   acct-user/minetest
+   ~dev-games/irrlicht-mt-headers-1.9.0.13
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.7.0-no_upstream_optflags.patch
+)
+
+src_prepare() {
+   cmake_src_prepare
+
+   # To avoid TEXTRELs on riscv
+   append-flags -fPIC
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DBUILD_UNITTESTS=$(usex test)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_MANDIR="${EPREFIX}/usr/share/man"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=$(usex lua_single_target_luajit)
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_PROMETHEUS=$(usex prometheus)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+   -DEN

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2023-04-10 Thread Marek Szuba
commit: 86f76904c98b70ae6cd5d78717e0306d27c1c9b0
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Apr 10 13:18:01 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Apr 10 13:19:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86f76904

games-action/minetest: disable upstream update checker for new configs

User with existing ~/.minetest/minetest.conf have to change this
by hand so the ebuild provides instructions for how to do it.

Suggested-by: Jaak Ristioja  ristioja.ee>
Closes: https://bugs.gentoo.org/904122
Signed-off-by: Marek Szuba  gentoo.org>

 .../{minetest-5.7.0-r1.ebuild => minetest-5.7.0-r2.ebuild} | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/games-action/minetest/minetest-5.7.0-r1.ebuild 
b/games-action/minetest/minetest-5.7.0-r2.ebuild
similarity index 87%
rename from games-action/minetest/minetest-5.7.0-r1.ebuild
rename to games-action/minetest/minetest-5.7.0-r2.ebuild
index 6e2aecdf7ed8..c34a0a5a97d6 100644
--- a/games-action/minetest/minetest-5.7.0-r1.ebuild
+++ b/games-action/minetest/minetest-5.7.0-r2.ebuild
@@ -99,6 +99,7 @@ src_configure() {
-DENABLE_SOUND=$(usex sound)
-DENABLE_SYSTEM_GMP=1
-DENABLE_SYSTEM_JSONCPP=1
+   -DENABLE_UPDATE_CHECKER=no
-DRUN_IN_PLACE=0
)
 
@@ -138,4 +139,13 @@ src_install() {
 
 pkg_postinst() {
xdg_pkg_postinst
+
+   elog "Since 5.7.0-r2 new ${PN} configurations no longer check if newer 
versions are available upstream,"
+   elog "a feature unnecessary when ${PN} is installed using distro 
packages."
+   elog "To disable this check for existing configurations open the file 
~/.minetest/minetest.conf"
+   elog "in a text editor while ${PN} is not running, locate the keyword 
'update_last_checked',"
+   elog "and change that line to say:"
+   elog
+   elog "  update_last_checked = disabled"
+   elog
 }



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2023-04-10 Thread Marek Szuba
commit: ef3a6efd082c4c9b05b46cc552b462489027d2fc
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Apr 10 10:22:31 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Apr 10 10:27:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef3a6efd

games-action/minetest: lock to specific irrlicht-mt version

Upstream build scripts disallow the use of newer versions unless
developer-build mode is activated.

Thanks-to: sMueggli  protonmail.com>
Closes: https://bugs.gentoo.org/904060
Signed-off-by: Marek Szuba  gentoo.org>

 .../minetest/{minetest-5.7.0.ebuild => minetest-5.7.0-r1.ebuild}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-action/minetest/minetest-5.7.0.ebuild 
b/games-action/minetest/minetest-5.7.0-r1.ebuild
similarity index 97%
rename from games-action/minetest/minetest-5.7.0.ebuild
rename to games-action/minetest/minetest-5.7.0-r1.ebuild
index e3b199e0fd7d..6e2aecdf7ed8 100644
--- a/games-action/minetest/minetest-5.7.0.ebuild
+++ b/games-action/minetest/minetest-5.7.0-r1.ebuild
@@ -31,7 +31,7 @@ RDEPEND="lua_single_target_luajit? ( ${LUA_DEPS} )
dev-libs/jsoncpp:=
sys-libs/zlib
client? (
-   >=dev-games/irrlicht-mt-1.9.0.10
+   ~dev-games/irrlicht-mt-1.9.0.10
media-libs/freetype:2
media-libs/libpng:0=
media-libs/libjpeg-turbo
@@ -53,7 +53,7 @@ RDEPEND="lua_single_target_luajit? ( ${LUA_DEPS} )
server? (
acct-group/minetest
acct-user/minetest
-   >=dev-games/irrlicht-mt-headers-1.9.0.10
+   ~dev-games/irrlicht-mt-headers-1.9.0.10
)
spatial? ( sci-libs/libspatialindex:= )"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/, games-action/minetest/

2023-04-10 Thread Marek Szuba
commit: 7d03b2bfe44e7f5974b056a162d839e6e6f7694a
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Apr 10 10:20:49 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Apr 10 10:27:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d03b2bf

games-action/minetest: drop 5.6.1

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest |   1 -
 .../files/minetest-5.4.1-system_puc_lua.patch  |  39 --
 .../minetest-5.6.0-no_upstream_optflags.patch  |  15 ---
 games-action/minetest/minetest-5.6.1.ebuild| 144 -
 4 files changed, 199 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 1e0795095a0c..59134e017841 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-5.6.1.tar.gz 9924663 BLAKE2B 
509b8073a4e82ecff008f692ebdd7a8f35ff5222ba1095937d24870404cca848b80891887837e03d86c117568f9bbee1f92fb958640e06107230673e79d7f813
 SHA512 
15d2ce3b1150f077ff933a04f0ba8e02c71ee60a0edb636d1511d4e90244a34a14d7e5c4b47bee4de96cd179249a5a6963d7a092084f46c0fa54c9ff431a5265
 DIST minetest-5.7.0.tar.gz 10115973 BLAKE2B 
0f7e8864188004d57115c83508706b1cf1d6db0cba1a3002d603d4665e6d014ea2ec31df0a77a65da014467e21c331e3a27762018483a5bf4b2e024e3f7bdfc3
 SHA512 
6a934db5fd2c7c14fcfa87fb306662fa1ccf20a0eee056aea5c4c863986875017a4fa58ddf14319d385ee0400d00fb6a90f68b8f34527c98a746c6410360a529

diff --git a/games-action/minetest/files/minetest-5.4.1-system_puc_lua.patch 
b/games-action/minetest/files/minetest-5.4.1-system_puc_lua.patch
deleted file mode 100644
index 7f49b427e8ee..
--- a/games-action/minetest/files/minetest-5.4.1-system_puc_lua.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Upstream build scripts use either system LuaJIT or bundled PUC Lua 5.1.
-Make it possible to use the system version of the latter too.
-
 a/cmake/Modules/FindLua.cmake
-+++ b/cmake/Modules/FindLua.cmake
-@@ -2,27 +2,12 @@
- # This selects LuaJIT by default
- 
- option(ENABLE_LUAJIT "Enable LuaJIT support" TRUE)
--set(USE_LUAJIT FALSE)
--option(REQUIRE_LUAJIT "Require LuaJIT support" FALSE)
--if(REQUIRE_LUAJIT)
--  set(ENABLE_LUAJIT TRUE)
--endif()
- if(ENABLE_LUAJIT)
--  find_package(LuaJIT)
--  if(LUAJIT_FOUND)
--  set(USE_LUAJIT TRUE)
--  message (STATUS "Using LuaJIT provided by system.")
--  elseif(REQUIRE_LUAJIT)
--  message(FATAL_ERROR "LuaJIT not found whereas 
REQUIRE_LUAJIT=\"TRUE\" is used.\n"
--  "To continue, either install LuaJIT or do not use 
REQUIRE_LUAJIT=\"TRUE\".")
--  endif()
-+  find_package(LuaJIT REQUIRED)
-+  set(USE_LUAJIT TRUE)
-+  message (STATUS "Using LuaJIT provided by system.")
- else()
--  message (STATUS "LuaJIT detection disabled! (ENABLE_LUAJIT=0)")
--endif()
--
--if(NOT USE_LUAJIT)
--  message(STATUS "LuaJIT not found, using bundled Lua.")
--  set(LUA_LIBRARY lua)
--  set(LUA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib/lua/src)
--  add_subdirectory(lib/lua)
-+  find_package(Lua51 REQUIRED)
-+  set(USE_LUAJIT FALSE)
-+  message(STATUS "Using Lua5.1 provided by system.")
- endif()

diff --git 
a/games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch 
b/games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch
deleted file mode 100644
index 68d71679924b..
--- a/games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch
+++ /dev/null
@@ -1,15 +0,0 @@
 a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -756,11 +756,10 @@
-   endif()
-   endif()
- 
--  set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} 
${OTHER_FLAGS} -pipe -funroll-loops")
-+  set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} 
${OTHER_FLAGS}")
-   if(CMAKE_SYSTEM_NAME MATCHES "(Darwin|BSD|DragonFly)")
-   set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os")
-   else()
--  set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 
-fomit-frame-pointer")
-   if(CMAKE_SYSTEM_NAME STREQUAL "Linux"
-   AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang"
-   AND CMAKE_CXX_COMPILER_VERSION MATCHES "^9\\.")

diff --git a/games-action/minetest/minetest-5.6.1.ebuild 
b/games-action/minetest/minetest-5.6.1.ebuild
deleted file mode 100644
index 12b9726f46c3..
--- a/games-action/minetest/minetest-5.6.1.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_BUILD_TYPE="Release"
-LUA_COMPAT=( lua5-1 luajit )
-
-inherit cmake flag-o-matic lua-single systemd xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-SRC_URI="https://github.co

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/, games-action/minetest/files/

2023-04-09 Thread Marek Szuba
commit: 4a437492e78bdce4b1059b5512e893d26a040a5a
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Apr  9 23:23:26 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Apr  9 23:23:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a437492

games-action/minetest: add 5.7.0

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest |   1 +
 .../minetest-5.7.0-no_upstream_optflags.patch  |  11 ++
 games-action/minetest/minetest-5.7.0.ebuild| 141 +
 3 files changed, 153 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 2032f7e2d163..1e0795095a0c 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.6.1.tar.gz 9924663 BLAKE2B 
509b8073a4e82ecff008f692ebdd7a8f35ff5222ba1095937d24870404cca848b80891887837e03d86c117568f9bbee1f92fb958640e06107230673e79d7f813
 SHA512 
15d2ce3b1150f077ff933a04f0ba8e02c71ee60a0edb636d1511d4e90244a34a14d7e5c4b47bee4de96cd179249a5a6963d7a092084f46c0fa54c9ff431a5265
+DIST minetest-5.7.0.tar.gz 10115973 BLAKE2B 
0f7e8864188004d57115c83508706b1cf1d6db0cba1a3002d603d4665e6d014ea2ec31df0a77a65da014467e21c331e3a27762018483a5bf4b2e024e3f7bdfc3
 SHA512 
6a934db5fd2c7c14fcfa87fb306662fa1ccf20a0eee056aea5c4c863986875017a4fa58ddf14319d385ee0400d00fb6a90f68b8f34527c98a746c6410360a529

diff --git 
a/games-action/minetest/files/minetest-5.7.0-no_upstream_optflags.patch 
b/games-action/minetest/files/minetest-5.7.0-no_upstream_optflags.patch
new file mode 100644
index ..ad673be1184f
--- /dev/null
+++ b/games-action/minetest/files/minetest-5.7.0-no_upstream_optflags.patch
@@ -0,0 +1,11 @@
+--- a/src/CMakeLists.txt
 b/src/CMakeLists.txt
+@@ -784,7 +784,7 @@
+   endif()
+   endif()
+ 
+-  set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} 
${OTHER_FLAGS} -pipe -funroll-loops -O3 -fomit-frame-pointer")
++  set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} 
${OTHER_FLAGS}")
+   if(CMAKE_SYSTEM_NAME STREQUAL "Linux"
+   AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang"
+   AND CMAKE_CXX_COMPILER_VERSION MATCHES "^9\\.")

diff --git a/games-action/minetest/minetest-5.7.0.ebuild 
b/games-action/minetest/minetest-5.7.0.ebuild
new file mode 100644
index ..e3b199e0fd7d
--- /dev/null
+++ b/games-action/minetest/minetest-5.7.0.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+LUA_COMPAT=( lua5-1 luajit )
+
+inherit cmake flag-o-matic lua-single systemd xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 ~riscv"
+IUSE="+client +curl doc leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}
+   || ( client server )"
+
+RESTRICT="!test? ( test )"
+
+# Use bundled PUC Lua if lua5-1 has been requested requested due to C++
+# interoperability issues, at least until Bug #825766 has been resolved anyway.
+RDEPEND="lua_single_target_luajit? ( ${LUA_DEPS} )
+   app-arch/zstd
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   >=dev-games/irrlicht-mt-1.9.0.10
+   media-libs/freetype:2
+   media-libs/libpng:0=
+   media-libs/libjpeg-turbo
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   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
+   acct-user/minetest
+   >=dev-games/irrlicht-mt-headers-1.9.0.10
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.7.0-no_upstream_optflags.patch
+)
+
+src_prepare() {
+   cmake_src_prepare
+
+   # To avoid TEXTRELs on riscv
+   append-flags -fPIC
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DBUILD_UNITTES

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2022-09-25 Thread Marek Szuba
commit: 7b34fcd9b3a3ff6ec14c07dbf609cccbcc46ad96
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Sep 26 00:47:33 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Sep 26 01:01:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b34fcd9

games-action/minetest: drop 5.6.0-r1

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest |   1 -
 games-action/minetest/minetest-5.6.0-r1.ebuild | 144 -
 2 files changed, 145 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index d0e808804a78..2032f7e2d163 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-5.6.0.tar.gz 9922682 BLAKE2B 
10787b9bbc397d3d214b22640a830fc429bd8292541e0b71b50d05d483f87469cedf03fcf7a898bd83486c55911439a9804eab2bca58cd464a69adaa76b4f820
 SHA512 
e87c4036f17a61d3e623b2f48e3611ba1bc0177b5d58330fe6e64a74075c78ab7cd5eb7b855097ce98819112a54857324237f7d3b81ec504a1f608444e74a630
 DIST minetest-5.6.1.tar.gz 9924663 BLAKE2B 
509b8073a4e82ecff008f692ebdd7a8f35ff5222ba1095937d24870404cca848b80891887837e03d86c117568f9bbee1f92fb958640e06107230673e79d7f813
 SHA512 
15d2ce3b1150f077ff933a04f0ba8e02c71ee60a0edb636d1511d4e90244a34a14d7e5c4b47bee4de96cd179249a5a6963d7a092084f46c0fa54c9ff431a5265

diff --git a/games-action/minetest/minetest-5.6.0-r1.ebuild 
b/games-action/minetest/minetest-5.6.0-r1.ebuild
deleted file mode 100644
index 6d626a4d0046..
--- a/games-action/minetest/minetest-5.6.0-r1.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_BUILD_TYPE="Release"
-LUA_COMPAT=( lua5-1 luajit )
-
-inherit cmake flag-o-matic lua-single systemd xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-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 ~riscv"
-IUSE="+client +curl doc leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}
-   || ( client server )"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="${LUA_DEPS}
-   $(lua_gen_impl_dep 'deprecated' lua5-1)
-   app-arch/zstd
-   dev-db/sqlite:3
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   >=dev-games/irrlicht-mt-1.9.0.7
-   media-libs/freetype:2
-   media-libs/libpng:0=
-   media-libs/libjpeg-turbo
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   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
-   acct-user/minetest
-   >=dev-games/irrlicht-mt-headers-1.9.0.7
-   )
-   spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
-   "${FILESDIR}"/${PN}-5.6.0-no_upstream_optflags.patch
-)
-
-src_prepare() {
-   cmake_src_prepare
-
-   # remove bundled libraries other than bitop
-   rm -rf lib/{gmp,jsoncpp,lua} || die
-
-   # To avoid TEXTRELs on riscv
-   append-flags -fPIC
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex client)
-   -DBUILD_SERVER=$(usex server)
-   -DBUILD_UNITTESTS=$(usex test)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_MANDIR="${EPREFIX}/usr/share/man"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DENABLE_CURL=$(usex curl)
-   -DENABLE_CURSES=$(usex ncurses)
-   -DENABLE_GETTEXT=$(usex nls)
-   -DENABLE_GLES=no
-   -DENABLE_LEVELDB=$(usex leveldb)
-   -DENABLE_LUAJIT=$(usex lua_single_target_luajit)
-   -DENABLE_POSTGRESQL=$(usex postgres)
-   -DENABLE_PROMETHEUS=$(usex prometheus)
-   -DENABLE_REDIS=$(usex redis)
-   -DENABLE_SPATIAL=$(usex s

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2022-09-21 Thread Marek Szuba
commit: 43a00ec528c7fbc94eb96d16df16429d0f3e4a32
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Sep 21 17:59:32 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Sep 21 18:33:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a00ec5

games-action/minetest: add 5.6.1

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.6.1.ebuild | 144 
 2 files changed, 145 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index c35862e90e11..d0e808804a78 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.6.0.tar.gz 9922682 BLAKE2B 
10787b9bbc397d3d214b22640a830fc429bd8292541e0b71b50d05d483f87469cedf03fcf7a898bd83486c55911439a9804eab2bca58cd464a69adaa76b4f820
 SHA512 
e87c4036f17a61d3e623b2f48e3611ba1bc0177b5d58330fe6e64a74075c78ab7cd5eb7b855097ce98819112a54857324237f7d3b81ec504a1f608444e74a630
+DIST minetest-5.6.1.tar.gz 9924663 BLAKE2B 
509b8073a4e82ecff008f692ebdd7a8f35ff5222ba1095937d24870404cca848b80891887837e03d86c117568f9bbee1f92fb958640e06107230673e79d7f813
 SHA512 
15d2ce3b1150f077ff933a04f0ba8e02c71ee60a0edb636d1511d4e90244a34a14d7e5c4b47bee4de96cd179249a5a6963d7a092084f46c0fa54c9ff431a5265

diff --git a/games-action/minetest/minetest-5.6.1.ebuild 
b/games-action/minetest/minetest-5.6.1.ebuild
new file mode 100644
index ..12b9726f46c3
--- /dev/null
+++ b/games-action/minetest/minetest-5.6.1.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+LUA_COMPAT=( lua5-1 luajit )
+
+inherit cmake flag-o-matic lua-single systemd xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 ~riscv"
+IUSE="+client +curl doc leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}
+   || ( client server )"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="${LUA_DEPS}
+   $(lua_gen_impl_dep 'deprecated' lua5-1)
+   app-arch/zstd
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   >=dev-games/irrlicht-mt-1.9.0.8
+   media-libs/freetype:2
+   media-libs/libpng:0=
+   media-libs/libjpeg-turbo
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   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
+   acct-user/minetest
+   >=dev-games/irrlicht-mt-headers-1.9.0.8
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
+   "${FILESDIR}"/${PN}-5.6.0-no_upstream_optflags.patch
+)
+
+src_prepare() {
+   cmake_src_prepare
+
+   # remove bundled libraries other than bitop
+   rm -rf lib/{gmp,jsoncpp,lua} || die
+
+   # To avoid TEXTRELs on riscv
+   append-flags -fPIC
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DBUILD_UNITTESTS=$(usex test)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_MANDIR="${EPREFIX}/usr/share/man"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=no
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=$(usex lua_single_target_luajit)
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_PROMETHEUS=$(usex prometheus)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+  

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/, games-action/minetest/

2022-09-07 Thread Marek Szuba
commit: 44c4388090c24c1878564cbb29f735f5c126ce81
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Sep  7 09:04:53 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Sep  7 09:08:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c43880

games-action/minetest: suppress upstream optimisation flags

Upstream build scripts add -O3 -funroll-loops -fomit-frame-pointers to
CXXFLAGS, and since they are appended rather than prepended they may
override optimisation flags set by the user.

Closes: https://bugs.gentoo.org/868540
Signed-off-by: Marek Szuba  gentoo.org>

 .../files/minetest-5.6.0-no_upstream_optflags.patch   | 15 +++
 .../{minetest-5.6.0.ebuild => minetest-5.6.0-r1.ebuild}   |  2 ++
 2 files changed, 17 insertions(+)

diff --git 
a/games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch 
b/games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch
new file mode 100644
index ..68d71679924b
--- /dev/null
+++ b/games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch
@@ -0,0 +1,15 @@
+--- a/src/CMakeLists.txt
 b/src/CMakeLists.txt
+@@ -756,11 +756,10 @@
+   endif()
+   endif()
+ 
+-  set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} 
${OTHER_FLAGS} -pipe -funroll-loops")
++  set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} 
${OTHER_FLAGS}")
+   if(CMAKE_SYSTEM_NAME MATCHES "(Darwin|BSD|DragonFly)")
+   set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os")
+   else()
+-  set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 
-fomit-frame-pointer")
+   if(CMAKE_SYSTEM_NAME STREQUAL "Linux"
+   AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang"
+   AND CMAKE_CXX_COMPILER_VERSION MATCHES "^9\\.")

diff --git a/games-action/minetest/minetest-5.6.0.ebuild 
b/games-action/minetest/minetest-5.6.0-r1.ebuild
similarity index 97%
rename from games-action/minetest/minetest-5.6.0.ebuild
rename to games-action/minetest/minetest-5.6.0-r1.ebuild
index 586774932b7f..6d626a4d0046 100644
--- a/games-action/minetest/minetest-5.6.0.ebuild
+++ b/games-action/minetest/minetest-5.6.0-r1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+CMAKE_BUILD_TYPE="Release"
 LUA_COMPAT=( lua5-1 luajit )
 
 inherit cmake flag-o-matic lua-single systemd xdg
@@ -64,6 +65,7 @@ BDEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
+   "${FILESDIR}"/${PN}-5.6.0-no_upstream_optflags.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2022-08-16 Thread Marek Szuba
commit: 61f18f0ba8608ba7fe49666415a37f5041e87a8f
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Aug 16 18:04:49 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Aug 16 18:05:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f18f0b

games-action/minetest: drop 5.5.1

That's the last version vulnerable to CVE-2022-35978 gone.

Bug: https://bugs.gentoo.org/865401
Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest  |   1 -
 games-action/minetest/minetest-5.5.1.ebuild | 142 
 2 files changed, 143 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 79e9c57cb43f..c35862e90e11 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-5.5.1.tar.gz 9559568 BLAKE2B 
76f8da1844c0b87f93ae6227aa224a4afbef2ffed604bd0375cf63a243f9792dceb197512af1bfebced32decf9ecb32bd2698dab48f998397624793d17b493be
 SHA512 
d430c665f9634d34e3c2341300ea294204687ab8fce8f5a895cde38be277cac02d83777924524950f22027ee0d4a43a21a1dace8b1fe467e40bb7d30095de570
 DIST minetest-5.6.0.tar.gz 9922682 BLAKE2B 
10787b9bbc397d3d214b22640a830fc429bd8292541e0b71b50d05d483f87469cedf03fcf7a898bd83486c55911439a9804eab2bca58cd464a69adaa76b4f820
 SHA512 
e87c4036f17a61d3e623b2f48e3611ba1bc0177b5d58330fe6e64a74075c78ab7cd5eb7b855097ce98819112a54857324237f7d3b81ec504a1f608444e74a630

diff --git a/games-action/minetest/minetest-5.5.1.ebuild 
b/games-action/minetest/minetest-5.5.1.ebuild
deleted file mode 100644
index 0dd8837ab379..
--- a/games-action/minetest/minetest-5.5.1.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-1 luajit )
-
-inherit cmake flag-o-matic lua-single systemd xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-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 ~riscv"
-IUSE="+client +curl doc leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}
-   || ( client server )"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="${LUA_DEPS}
-   $(lua_gen_impl_dep 'deprecated' lua5-1)
-   app-arch/zstd
-   dev-db/sqlite:3
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   >=dev-games/irrlicht-mt-1.9.0.4
-   media-libs/freetype:2
-   media-libs/libpng:0=
-   media-libs/libjpeg-turbo
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   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
-   acct-user/minetest
-   >=dev-games/irrlicht-mt-headers-1.9.0.4
-   )
-   spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
-)
-
-src_prepare() {
-   cmake_src_prepare
-
-   # remove bundled libraries other than bitop
-   rm -rf lib/{gmp,jsoncpp,lua} || die
-
-   # To avoid TEXTRELs on riscv
-   append-flags -fPIC
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex client)
-   -DBUILD_SERVER=$(usex server)
-   -DBUILD_UNITTESTS=$(usex test)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_MANDIR="${EPREFIX}/usr/share/man"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DENABLE_CURL=$(usex curl)
-   -DENABLE_CURSES=$(usex ncurses)
-   -DENABLE_GETTEXT=$(usex nls)
-   -DENABLE_GLES=no
-   -DENABLE_LEVELDB=$(usex leveldb)
-   -DENABLE_LUAJIT=$(usex lua_single_target_luajit)
-   -DENABLE_POSTGRESQL=$(usex postgres)
-   -DENABLE_PROMETHEUS=$(usex prometheus)
-   -DENABLE_REDIS=$(usex redis)
-   -DENABLE_SPATIAL=$(usex spatial)

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/

2022-08-11 Thread James Le Cuirot
commit: adf381eb5544065c7f787cbaf917afa488cf3ffc
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Aug 10 17:45:21 2022 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Aug 11 21:04:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adf381eb

games-action/minetest: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.12
Closes: https://github.com/gentoo/gentoo/pull/26816
Signed-off-by: James Le Cuirot  gentoo.org>

 .../minetest/files/minetest-5.4.1-gcc11.patch   | 21 -
 .../files/minetest-5.5.0-bundled_luabitop.patch | 17 -
 2 files changed, 38 deletions(-)

diff --git a/games-action/minetest/files/minetest-5.4.1-gcc11.patch 
b/games-action/minetest/files/minetest-5.4.1-gcc11.patch
deleted file mode 100644
index bb37cdf31e07..
--- a/games-action/minetest/files/minetest-5.4.1-gcc11.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 7c2826cbc0f36027d4a9781f433150d1c5d0d03f Mon Sep 17 00:00:00 2001
-From: lhofhansl 
-Date: Thu, 6 May 2021 10:24:30 -0700
-Subject: [PATCH] Fix build for newer versions of GCC (#11246)
-

- src/clientiface.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/clientiface.h b/src/clientiface.h
-index cc5292b71bf9..dfd97674137c 100644
 a/src/clientiface.h
-+++ b/src/clientiface.h
-@@ -31,6 +31,7 @@ with this program; if not, write to the Free Software 
Foundation, Inc.,
- #include 
- #include 
- #include 
-+#include 
- #include 
- 
- class MapBlock;

diff --git a/games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch 
b/games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch
deleted file mode 100644
index 5006ddd499b6..
--- a/games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-When built against PUC Lua, minetest binaries get linked against
-a customised version of LuaBitOp which then gets installed
-as /usr/$(get_libdir)/libbitop.so. This violates the policies of both
-Gentoo (unversioned shared library) and Lua itself (compiled extensions
-should be installed into implementation-specific directories rather than
-top-level libdir, and I'm pretty sure linking against such extensions
-is a no-no). Switching to system dev-lua/LuaBitOp will require work
-so just make the customised version static for now.
-
 a/lib/bitop/CMakeLists.txt
-+++ b/lib/bitop/CMakeLists.txt
-@@ -1,4 +1,4 @@
--add_library(bitop bit.c)
-+add_library(bitop STATIC bit.c)
- target_link_libraries(bitop)
- 
- include_directories(${LUA_INCLUDE_DIR})



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2022-08-09 Thread Marek Szuba
commit: 84dc462e3b6069c919517564a482c970207c2217
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Aug  9 11:27:19 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Aug  9 11:36:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84dc462e

games-action/minetest: drop 5.4.1-r1, 5.5.0

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest |   2 -
 games-action/minetest/minetest-5.4.1-r1.ebuild | 143 -
 games-action/minetest/minetest-5.5.0.ebuild| 143 -
 3 files changed, 288 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index ddf7a1447f83..79e9c57cb43f 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,4 +1,2 @@
-DIST minetest-5.4.1.tar.gz 11209289 BLAKE2B 
a8517309ee98c3991e7ce2d67bb8d14a5697a299b480835c79b1e3c7161ebc94f6245f36c09d88903c052fca1de52fe0253f055059c3d72745c724d117d9753a
 SHA512 
8f9985c6a658c868ed8971f112eae3c71c2b1535fd433689920be6d42ac2c7eb8453d58ec2825573764ee2f56b651c5e27895b7fd58fada61fbaf4758fc69471
-DIST minetest-5.5.0.tar.gz 9558895 BLAKE2B 
13db90556a4faaac31cca7427fb85439cab144d73f25b79ae9f8367883b0fafa39c39fe0e40f3734d7e3f48cef4942a37a302cf58993707a14024905d8ed9b61
 SHA512 
9c744eac2704457d6896485997666d614dd156214dae26c2cb413771fd3eab54d80731a5220bcc4a18ddc737db64971893a3c89a56a46020adf8d00aad299817
 DIST minetest-5.5.1.tar.gz 9559568 BLAKE2B 
76f8da1844c0b87f93ae6227aa224a4afbef2ffed604bd0375cf63a243f9792dceb197512af1bfebced32decf9ecb32bd2698dab48f998397624793d17b493be
 SHA512 
d430c665f9634d34e3c2341300ea294204687ab8fce8f5a895cde38be277cac02d83777924524950f22027ee0d4a43a21a1dace8b1fe467e40bb7d30095de570
 DIST minetest-5.6.0.tar.gz 9922682 BLAKE2B 
10787b9bbc397d3d214b22640a830fc429bd8292541e0b71b50d05d483f87469cedf03fcf7a898bd83486c55911439a9804eab2bca58cd464a69adaa76b4f820
 SHA512 
e87c4036f17a61d3e623b2f48e3611ba1bc0177b5d58330fe6e64a74075c78ab7cd5eb7b855097ce98819112a54857324237f7d3b81ec504a1f608444e74a630

diff --git a/games-action/minetest/minetest-5.4.1-r1.ebuild 
b/games-action/minetest/minetest-5.4.1-r1.ebuild
deleted file mode 100644
index 1ba22196fef2..
--- a/games-action/minetest/minetest-5.4.1-r1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-1 luajit )
-
-inherit cmake flag-o-matic lua-single systemd xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-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 ~riscv"
-IUSE="+client +curl doc +leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test +truetype"
-REQUIRED_USE="
-   ${LUA_REQUIRED_USE}
-   || ( client server )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="${LUA_DEPS}
-   $(lua_gen_impl_dep 'deprecated' lua5-1)
-   dev-db/sqlite:3
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   app-arch/bzip2
-   dev-games/irrlicht
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   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
-   acct-user/minetest
-   dev-games/irrlicht-headers
-   )
-   spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.4.1-gcc11.patch
-   "${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
-)
-
-src_prepare() {
-   cmake_src_prepare
-
-   # remove bundled libraries
-   rm -rf lib || die
-
-   # To avoid TEXTRELs on riscv
-   append-flags -fPIC
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex client)
-   -DBUILD_SERVER=$(usex server)
-   -DBUILD_UNITTESTS=$(usex test)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2022-08-09 Thread Marek Szuba
commit: d9ed1a885054fdebf8fc154c054205f373daaa15
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Aug  9 11:27:09 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Aug  9 11:36:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9ed1a88

games-action/minetest: add 5.6.0

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.6.0.ebuild | 142 
 2 files changed, 143 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 4e5e338be3ba..ddf7a1447f83 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,3 +1,4 @@
 DIST minetest-5.4.1.tar.gz 11209289 BLAKE2B 
a8517309ee98c3991e7ce2d67bb8d14a5697a299b480835c79b1e3c7161ebc94f6245f36c09d88903c052fca1de52fe0253f055059c3d72745c724d117d9753a
 SHA512 
8f9985c6a658c868ed8971f112eae3c71c2b1535fd433689920be6d42ac2c7eb8453d58ec2825573764ee2f56b651c5e27895b7fd58fada61fbaf4758fc69471
 DIST minetest-5.5.0.tar.gz 9558895 BLAKE2B 
13db90556a4faaac31cca7427fb85439cab144d73f25b79ae9f8367883b0fafa39c39fe0e40f3734d7e3f48cef4942a37a302cf58993707a14024905d8ed9b61
 SHA512 
9c744eac2704457d6896485997666d614dd156214dae26c2cb413771fd3eab54d80731a5220bcc4a18ddc737db64971893a3c89a56a46020adf8d00aad299817
 DIST minetest-5.5.1.tar.gz 9559568 BLAKE2B 
76f8da1844c0b87f93ae6227aa224a4afbef2ffed604bd0375cf63a243f9792dceb197512af1bfebced32decf9ecb32bd2698dab48f998397624793d17b493be
 SHA512 
d430c665f9634d34e3c2341300ea294204687ab8fce8f5a895cde38be277cac02d83777924524950f22027ee0d4a43a21a1dace8b1fe467e40bb7d30095de570
+DIST minetest-5.6.0.tar.gz 9922682 BLAKE2B 
10787b9bbc397d3d214b22640a830fc429bd8292541e0b71b50d05d483f87469cedf03fcf7a898bd83486c55911439a9804eab2bca58cd464a69adaa76b4f820
 SHA512 
e87c4036f17a61d3e623b2f48e3611ba1bc0177b5d58330fe6e64a74075c78ab7cd5eb7b855097ce98819112a54857324237f7d3b81ec504a1f608444e74a630

diff --git a/games-action/minetest/minetest-5.6.0.ebuild 
b/games-action/minetest/minetest-5.6.0.ebuild
new file mode 100644
index ..586774932b7f
--- /dev/null
+++ b/games-action/minetest/minetest-5.6.0.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-1 luajit )
+
+inherit cmake flag-o-matic lua-single systemd xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 ~riscv"
+IUSE="+client +curl doc leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}
+   || ( client server )"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="${LUA_DEPS}
+   $(lua_gen_impl_dep 'deprecated' lua5-1)
+   app-arch/zstd
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   >=dev-games/irrlicht-mt-1.9.0.7
+   media-libs/freetype:2
+   media-libs/libpng:0=
+   media-libs/libjpeg-turbo
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   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
+   acct-user/minetest
+   >=dev-games/irrlicht-mt-headers-1.9.0.7
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
+)
+
+src_prepare() {
+   cmake_src_prepare
+
+   # remove bundled libraries other than bitop
+   rm -rf lib/{gmp,jsoncpp,lua} || die
+
+   # To avoid TEXTRELs on riscv
+   append-flags -fPIC
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DBUILD_UNITTESTS=$(usex test)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_MANDIR="${EPREFIX}/usr/share/man"
+   -DCUS

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2022-05-25 Thread Marek Szuba
commit: b28a2404093be911c66d22f24fe75874da508e04
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed May 25 22:36:47 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed May 25 22:43:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28a2404

games-action/minetest: add 5.5.1

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.5.1.ebuild | 142 
 2 files changed, 143 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 4e97ad882efc..4e5e338be3ba 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1,3 @@
 DIST minetest-5.4.1.tar.gz 11209289 BLAKE2B 
a8517309ee98c3991e7ce2d67bb8d14a5697a299b480835c79b1e3c7161ebc94f6245f36c09d88903c052fca1de52fe0253f055059c3d72745c724d117d9753a
 SHA512 
8f9985c6a658c868ed8971f112eae3c71c2b1535fd433689920be6d42ac2c7eb8453d58ec2825573764ee2f56b651c5e27895b7fd58fada61fbaf4758fc69471
 DIST minetest-5.5.0.tar.gz 9558895 BLAKE2B 
13db90556a4faaac31cca7427fb85439cab144d73f25b79ae9f8367883b0fafa39c39fe0e40f3734d7e3f48cef4942a37a302cf58993707a14024905d8ed9b61
 SHA512 
9c744eac2704457d6896485997666d614dd156214dae26c2cb413771fd3eab54d80731a5220bcc4a18ddc737db64971893a3c89a56a46020adf8d00aad299817
+DIST minetest-5.5.1.tar.gz 9559568 BLAKE2B 
76f8da1844c0b87f93ae6227aa224a4afbef2ffed604bd0375cf63a243f9792dceb197512af1bfebced32decf9ecb32bd2698dab48f998397624793d17b493be
 SHA512 
d430c665f9634d34e3c2341300ea294204687ab8fce8f5a895cde38be277cac02d83777924524950f22027ee0d4a43a21a1dace8b1fe467e40bb7d30095de570

diff --git a/games-action/minetest/minetest-5.5.1.ebuild 
b/games-action/minetest/minetest-5.5.1.ebuild
new file mode 100644
index ..0dd8837ab379
--- /dev/null
+++ b/games-action/minetest/minetest-5.5.1.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-1 luajit )
+
+inherit cmake flag-o-matic lua-single systemd xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 ~riscv"
+IUSE="+client +curl doc leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}
+   || ( client server )"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="${LUA_DEPS}
+   $(lua_gen_impl_dep 'deprecated' lua5-1)
+   app-arch/zstd
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   >=dev-games/irrlicht-mt-1.9.0.4
+   media-libs/freetype:2
+   media-libs/libpng:0=
+   media-libs/libjpeg-turbo
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   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
+   acct-user/minetest
+   >=dev-games/irrlicht-mt-headers-1.9.0.4
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
+)
+
+src_prepare() {
+   cmake_src_prepare
+
+   # remove bundled libraries other than bitop
+   rm -rf lib/{gmp,jsoncpp,lua} || die
+
+   # To avoid TEXTRELs on riscv
+   append-flags -fPIC
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DBUILD_UNITTESTS=$(usex test)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_MANDIR="${EPREFIX}/usr/share/man"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=no
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=$(usex lua_single_ta

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2022-03-10 Thread Marek Szuba
commit: 0cce58f99d0395362318da466083227ba3b876c5
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Mar 10 08:49:10 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Mar 10 08:53:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cce58f9

games-action/minetest: unkeyword 5.4.1-r1 for ~x86

With x86 having essentially become an embedded platform I really would
rather not burden the relevant arch team with the keywording of GAMES.
Will reconsider if we get any user requests for x86 support, of course.

Closes: https://bugs.gentoo.org/834860
Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/minetest-5.4.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-action/minetest/minetest-5.4.1-r1.ebuild 
b/games-action/minetest/minetest-5.4.1-r1.ebuild
index 5d74b5209d0c..1ba22196fef2 100644
--- a/games-action/minetest/minetest-5.4.1-r1.ebuild
+++ b/games-action/minetest/minetest-5.4.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,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 ~riscv ~x86"
+KEYWORDS="~amd64 ~riscv"
 IUSE="+client +curl doc +leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test +truetype"
 REQUIRED_USE="
${LUA_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2022-02-10 Thread Marek Szuba
commit: fe37d4f1a92f14c1dfc545a69fbca203c3952b1a
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Feb 10 12:13:44 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Feb 10 12:19:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe37d4f1

games-action/minetest-5.5.0: only the client needs full IrrlichtMT

Server code only uses the headers (see Bug #706372) so by limiting
dev-games/irrlicht-mt dependency to USE=client we make it possible not
to pull in X libraries on headless servers.

Bug: https://bugs.gentoo.org/833052
Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/minetest-5.5.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-action/minetest/minetest-5.5.0.ebuild 
b/games-action/minetest/minetest-5.5.0.ebuild
index 0b2a456abd27..9491fc7de410 100644
--- a/games-action/minetest/minetest-5.5.0.ebuild
+++ b/games-action/minetest/minetest-5.5.0.ebuild
@@ -25,11 +25,11 @@ RDEPEND="${LUA_DEPS}
$(lua_gen_impl_dep 'deprecated' lua5-1)
app-arch/zstd
dev-db/sqlite:3
-   >=dev-games/irrlicht-mt-1.9.0.4
dev-libs/gmp:0=
dev-libs/jsoncpp:=
sys-libs/zlib
client? (
+   >=dev-games/irrlicht-mt-1.9.0.4
media-libs/freetype:2
media-libs/libpng:0=
virtual/jpeg:0
@@ -51,6 +51,7 @@ RDEPEND="${LUA_DEPS}
server? (
acct-group/minetest
acct-user/minetest
+   >=dev-games/irrlicht-mt-headers-1.9.0.4
)
spatial? ( sci-libs/libspatialindex:= )"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/, games-action/minetest/files/

2022-02-01 Thread Marek Szuba
commit: a3f9a4a42a060a1da740c83c10439cb5d5f72a8f
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Feb  1 12:51:22 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Feb  1 14:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f9a4a4

games-action/minetest: add 5.5.0

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest |   1 +
 .../files/minetest-5.5.0-bundled_luabitop.patch|  17 +++
 games-action/minetest/minetest-5.5.0.ebuild| 142 +
 3 files changed, 160 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 19c3d0e7364d..4e97ad882efc 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.4.1.tar.gz 11209289 BLAKE2B 
a8517309ee98c3991e7ce2d67bb8d14a5697a299b480835c79b1e3c7161ebc94f6245f36c09d88903c052fca1de52fe0253f055059c3d72745c724d117d9753a
 SHA512 
8f9985c6a658c868ed8971f112eae3c71c2b1535fd433689920be6d42ac2c7eb8453d58ec2825573764ee2f56b651c5e27895b7fd58fada61fbaf4758fc69471
+DIST minetest-5.5.0.tar.gz 9558895 BLAKE2B 
13db90556a4faaac31cca7427fb85439cab144d73f25b79ae9f8367883b0fafa39c39fe0e40f3734d7e3f48cef4942a37a302cf58993707a14024905d8ed9b61
 SHA512 
9c744eac2704457d6896485997666d614dd156214dae26c2cb413771fd3eab54d80731a5220bcc4a18ddc737db64971893a3c89a56a46020adf8d00aad299817

diff --git a/games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch 
b/games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch
new file mode 100644
index ..5006ddd499b6
--- /dev/null
+++ b/games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch
@@ -0,0 +1,17 @@
+When built against PUC Lua, minetest binaries get linked against
+a customised version of LuaBitOp which then gets installed
+as /usr/$(get_libdir)/libbitop.so. This violates the policies of both
+Gentoo (unversioned shared library) and Lua itself (compiled extensions
+should be installed into implementation-specific directories rather than
+top-level libdir, and I'm pretty sure linking against such extensions
+is a no-no). Switching to system dev-lua/LuaBitOp will require work
+so just make the customised version static for now.
+
+--- a/lib/bitop/CMakeLists.txt
 b/lib/bitop/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-add_library(bitop bit.c)
++add_library(bitop STATIC bit.c)
+ target_link_libraries(bitop)
+ 
+ include_directories(${LUA_INCLUDE_DIR})

diff --git a/games-action/minetest/minetest-5.5.0.ebuild 
b/games-action/minetest/minetest-5.5.0.ebuild
new file mode 100644
index ..0b2a456abd27
--- /dev/null
+++ b/games-action/minetest/minetest-5.5.0.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-1 luajit )
+
+inherit cmake flag-o-matic lua-single systemd xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 ~riscv"
+IUSE="+client +curl doc leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}
+   || ( client server )"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="${LUA_DEPS}
+   $(lua_gen_impl_dep 'deprecated' lua5-1)
+   app-arch/zstd
+   dev-db/sqlite:3
+   >=dev-games/irrlicht-mt-1.9.0.4
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   media-libs/freetype:2
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   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
+   acct-user/minetest
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
+   "${FILESDIR}"/${PN}-5.5.0-bundled_luabitop.patch
+)
+
+src_prepare() {
+   cmake_src_prepare
+
+   # remove bundled libraries other than bitop
+   rm -rf lib/{gmp,jsoncpp,lua} || die
+
+   # To avoid TEXTRELs on riscv
+   append-flags -fPIC
+}
+
+src_configure() {
+   local mycmakea

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-08-13 Thread Marek Szuba
commit: 4187dfafbdd7e748367b5631521de22ed980aeec
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Aug 13 15:32:55 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Aug 13 15:55:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4187dfaf

games-action/minetest: keyword 5.4.1-r1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/minetest-5.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-action/minetest/minetest-5.4.1-r1.ebuild 
b/games-action/minetest/minetest-5.4.1-r1.ebuild
index b31121b063a..5d74b5209d0 100644
--- a/games-action/minetest/minetest-5.4.1-r1.ebuild
+++ b/games-action/minetest/minetest-5.4.1-r1.ebuild
@@ -13,7 +13,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"
+KEYWORDS="~amd64 ~riscv ~x86"
 IUSE="+client +curl doc +leveldb ncurses nls postgres prometheus redis +server 
+sound spatial test +truetype"
 REQUIRED_USE="
${LUA_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-08-13 Thread Marek Szuba
commit: 1917fa3d36b978173504fc27142760d854697dae
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Aug 13 15:23:00 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Aug 13 15:23:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1917fa3d

games-action/minetest: append -fPIC to xFLAGS

Needed in order to get rid of TEXTRELs (in both executables) on riscv.

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/minetest-5.4.1-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/games-action/minetest/minetest-5.4.1-r1.ebuild 
b/games-action/minetest/minetest-5.4.1-r1.ebuild
index a47aa21d378..b31121b063a 100644
--- a/games-action/minetest/minetest-5.4.1-r1.ebuild
+++ b/games-action/minetest/minetest-5.4.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 LUA_COMPAT=( lua5-1 luajit )
 
-inherit cmake lua-single systemd xdg
+inherit cmake flag-o-matic lua-single systemd xdg
 
 DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
 HOMEPAGE="https://www.minetest.net";
@@ -72,6 +72,9 @@ src_prepare() {
 
# remove bundled libraries
rm -rf lib || die
+
+   # To avoid TEXTRELs on riscv
+   append-flags -fPIC
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-05-25 Thread Marek Szuba
commit: 8f0bd3a96c8866599b8297cfede7ca0b0edfcef7
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue May 25 09:37:08 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue May 25 09:37:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f0bd3a9

games-action/minetest: require USE=deprecated when using lua5-1

Closes: https://bugs.gentoo.org/791928
Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/minetest-5.4.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-action/minetest/minetest-5.4.1-r1.ebuild 
b/games-action/minetest/minetest-5.4.1-r1.ebuild
index 401043e9775..a47aa21d378 100644
--- a/games-action/minetest/minetest-5.4.1-r1.ebuild
+++ b/games-action/minetest/minetest-5.4.1-r1.ebuild
@@ -20,8 +20,8 @@ REQUIRED_USE="
|| ( client server )"
 RESTRICT="!test? ( test )"
 
-RDEPEND="
-   ${LUA_DEPS}
+RDEPEND="${LUA_DEPS}
+   $(lua_gen_impl_dep 'deprecated' lua5-1)
dev-db/sqlite:3
dev-libs/gmp:0=
dev-libs/jsoncpp:=



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/, games-action/minetest/

2021-05-13 Thread Marek Szuba
commit: 28122e85fb3f6261a96d82ebbfb2ab917a564858
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu May 13 15:26:48 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu May 13 15:33:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28122e85

games-action/minetest: allow building with gcc-11

Backported upstream commit, should only be necessary
until the next release.

Closes: https://bugs.gentoo.org/789474
Signed-off-by: Marek Szuba  gentoo.org>

 .../minetest/files/minetest-5.4.1-gcc11.patch   | 21 +
 games-action/minetest/minetest-5.4.1-r1.ebuild  |  1 +
 2 files changed, 22 insertions(+)

diff --git a/games-action/minetest/files/minetest-5.4.1-gcc11.patch 
b/games-action/minetest/files/minetest-5.4.1-gcc11.patch
new file mode 100644
index 000..bb37cdf31e0
--- /dev/null
+++ b/games-action/minetest/files/minetest-5.4.1-gcc11.patch
@@ -0,0 +1,21 @@
+From 7c2826cbc0f36027d4a9781f433150d1c5d0d03f Mon Sep 17 00:00:00 2001
+From: lhofhansl 
+Date: Thu, 6 May 2021 10:24:30 -0700
+Subject: [PATCH] Fix build for newer versions of GCC (#11246)
+
+---
+ src/clientiface.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/clientiface.h b/src/clientiface.h
+index cc5292b71bf9..dfd97674137c 100644
+--- a/src/clientiface.h
 b/src/clientiface.h
+@@ -31,6 +31,7 @@ with this program; if not, write to the Free Software 
Foundation, Inc.,
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ 
+ class MapBlock;

diff --git a/games-action/minetest/minetest-5.4.1-r1.ebuild 
b/games-action/minetest/minetest-5.4.1-r1.ebuild
index dfd64db5a93..401043e9775 100644
--- a/games-action/minetest/minetest-5.4.1-r1.ebuild
+++ b/games-action/minetest/minetest-5.4.1-r1.ebuild
@@ -63,6 +63,7 @@ BDEPEND="
nls? ( sys-devel/gettext )"
 
 PATCHES=(
+   "${FILESDIR}"/${PN}-5.4.1-gcc11.patch
"${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
 )
 



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/, games-action/minetest/files/

2021-05-13 Thread Marek Szuba
commit: 9f5e7e45fc1a96dc041d99c4e206e51f04ea4fa7
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu May 13 15:01:04 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu May 13 15:13:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5e7e45

games-action/minetest: tweak server configuration

Create /etc/minetest with appropriate permissions, install systemd
units, use /run instead of /var/run for pidfiles in OpenRC mode.

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/files/minetestserver.confd   |  6 ++--
 .../minetest/files/minetestserver.logrotate|  2 +-
 .../minetest/files/minetestserver_default.service  | 15 ++
 .../minetest/files/minetestserver_template.service | 15 ++
 ...etest-5.4.1.ebuild => minetest-5.4.1-r1.ebuild} | 34 +++---
 5 files changed, 45 insertions(+), 27 deletions(-)

diff --git a/games-action/minetest/files/minetestserver.confd 
b/games-action/minetest/files/minetestserver.confd
index 7a6f9b12ff0..b383fbd3e33 100644
--- a/games-action/minetest/files/minetestserver.confd
+++ b/games-action/minetest/files/minetestserver.confd
@@ -4,13 +4,13 @@
 USER="minetest"
 
 # group
-GROUP="@GROUP@"
+GROUP="minetest"
 
 # pidfile
-PIDFILE="/var/run/minetest.pid"
+PIDFILE="/run/minetest.pid"
 
 # executable
-MINETESTBIN="@BINDIR@/minetestserver"
+MINETESTBIN="/usr/bin/minetestserver"
 
 # additional arguments for the server
 ARGS="--logfile /var/log/minetest/minetest-server.log"

diff --git a/games-action/minetest/files/minetestserver.logrotate 
b/games-action/minetest/files/minetestserver.logrotate
index 0ec4823663a..2e38adfc5f5 100644
--- a/games-action/minetest/files/minetestserver.logrotate
+++ b/games-action/minetest/files/minetestserver.logrotate
@@ -1,4 +1,4 @@
-/var/log/minetest/minetest-server.log {
+/var/log/minetest/*.log {
rotate 5
weekly
missingok

diff --git a/games-action/minetest/files/minetestserver_default.service 
b/games-action/minetest/files/minetestserver_default.service
new file mode 100644
index 000..e2754abaaf1
--- /dev/null
+++ b/games-action/minetest/files/minetestserver_default.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Minetest multiplayer server (server config minetest.conf)
+Documentation=man:minetestserver(6)
+After=network.target
+
+[Service]
+Restart=on-failure
+User=minetest
+Group=minetest
+ExecStart=/usr/bin/minetestserver --config /etc/minetest/minetest.conf 
--logfile /var/log/minetest/minetest-server.log
+StandardOutput=null
+
+[Install]
+WantedBy=multi-user.target
+

diff --git a/games-action/minetest/files/minetestserver_template.service 
b/games-action/minetest/files/minetestserver_template.service
new file mode 100644
index 000..a945de53e87
--- /dev/null
+++ b/games-action/minetest/files/minetestserver_template.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Minetest multiplayer server (server config %i.conf)
+Documentation=man:minetestserver(6)
+After=network.target
+
+[Service]
+Restart=on-failure
+User=minetest
+Group=minetest
+ExecStart=/usr/bin/minetestserver --config /etc/minetest/%i.conf --logfile 
/var/log/minetest/%i-server.log
+StandardOutput=null
+
+[Install]
+WantedBy=multi-user.target
+

diff --git a/games-action/minetest/minetest-5.4.1.ebuild 
b/games-action/minetest/minetest-5.4.1-r1.ebuild
similarity index 82%
rename from games-action/minetest/minetest-5.4.1.ebuild
rename to games-action/minetest/minetest-5.4.1-r1.ebuild
index 453757efe39..dfd64db5a93 100644
--- a/games-action/minetest/minetest-5.4.1.ebuild
+++ b/games-action/minetest/minetest-5.4.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 LUA_COMPAT=( lua5-1 luajit )
 
-inherit cmake lua-single xdg
+inherit cmake lua-single systemd xdg
 
 DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
 HOMEPAGE="https://www.minetest.net";
@@ -69,12 +69,6 @@ PATCHES=(
 src_prepare() {
cmake_src_prepare
 
-   # set paths
-   sed \
-   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-
# remove bundled libraries
rm -rf lib || die
 }
@@ -112,7 +106,7 @@ src_configure() {
 src_compile() {
cmake_src_compile
 
-   if use doc ; then
+   if use doc; then
cmake_src_compile doc
HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
fi
@@ -121,13 +115,20 @@ src_compile() {
 src_install() {
cmake_src_install
 
-   if use server ; then
+   if use server; then
+   keepdir /etc/minetest
+   fowners root:minetest /etc/minetest
+   fperms 2750 /etc/minetest
+
keepdir /var/log/minetest
fowners minetest:minetest /var/log/minetest
 
-   newconfd "${T}"/minetestserver.confd minetest-server
+   newconfd "${FILESDIR}"/minetestserver.confd mine

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-05-13 Thread Marek Szuba
commit: f19faaa39754cd5ade66c742a89b9233305423cd
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu May 13 15:04:42 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu May 13 15:13:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f19faaa3

games-action/minetest: metadata: update doc URL to https

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index 24b6b898645..dae30ac4e48 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -48,7 +48,7 @@


https://github.com/minetest/minetest/issues
-   http://wiki.minetest.net/Main_Page
+   https://wiki.minetest.net/Main_Page
minetest/minetest

 



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-05-13 Thread Marek Szuba
commit: 64689d0c7c17bfe7c7512b902fa0cf81d23a2616
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu May 13 14:39:28 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu May 13 15:13:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64689d0c

games-action/minetest: drop 5.4.0

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/Manifest  |   1 -
 games-action/minetest/minetest-5.4.0.ebuild | 147 
 2 files changed, 148 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 489883be377..19c3d0e7364 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-5.4.0.tar.gz 11205196 BLAKE2B 
4fd03cf75c6ace4a8e3b1fc81826a43df4a6ea68c7dbdc33cda948e5c81fb49440341f148943c7300036d4063fafb0104fc42a8a29a0495df65d4c66f0d4eb46
 SHA512 
4cb43678c56ee2ccf9d5dd9c1fc0007119d598a4a56df43fc2a1b827efe08feba0008a30bdb1a1fcd4efe0ada88484b7be0c9e46f108d5424451adb0999b0bcb
 DIST minetest-5.4.1.tar.gz 11209289 BLAKE2B 
a8517309ee98c3991e7ce2d67bb8d14a5697a299b480835c79b1e3c7161ebc94f6245f36c09d88903c052fca1de52fe0253f055059c3d72745c724d117d9753a
 SHA512 
8f9985c6a658c868ed8971f112eae3c71c2b1535fd433689920be6d42ac2c7eb8453d58ec2825573764ee2f56b651c5e27895b7fd58fada61fbaf4758fc69471

diff --git a/games-action/minetest/minetest-5.4.0.ebuild 
b/games-action/minetest/minetest-5.4.0.ebuild
deleted file mode 100644
index 6304747349e..000
--- a/games-action/minetest/minetest-5.4.0.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( luajit )
-
-inherit cmake lua-single xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-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 prometheus redis +server 
+sound spatial test +truetype"
-REQUIRED_USE="
-   ${LUA_REQUIRED_USE}
-   || ( client server )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ${LUA_DEPS}
-   dev-db/sqlite:3
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   app-arch/bzip2
-   dev-games/irrlicht
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   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
-   acct-user/minetest
-   dev-games/irrlicht-headers
-   )
-   spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-src_prepare() {
-   cmake_src_prepare
-
-   # set paths
-   sed \
-   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-
-   # remove bundled libraries
-   rm -rf lib || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex client)
-   -DBUILD_SERVER=$(usex server)
-   -DBUILD_UNITTESTS=$(usex test)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DENABLE_CURL=$(usex curl)
-   -DENABLE_CURSES=$(usex ncurses)
-   -DENABLE_FREETYPE=$(usex truetype)
-   -DENABLE_GETTEXT=$(usex nls)
-   -DENABLE_GLES=0
-   -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)
-   -DENABLE_SYSTEM_GMP=1
-   -DENABLE_SYSTE

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/, games-action/minetest/

2021-05-12 Thread Marek Szuba
commit: c6d606c90397919c91e51daf3f0f0557727f1271
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed May 12 12:22:58 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed May 12 12:40:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6d606c9

games-action/minetest: support lua5-1 target

Minetest *does* support PUC Lua 5.1, it's just that upstream build
scripts only account for using the bundled sources. Patch the upstream
FindLua.cmake so that unless LuaJIT support is requested, the system
version of PUC Lua is used.

Signed-off-by: Marek Szuba  gentoo.org>

 .../files/minetest-5.4.1-system_puc_lua.patch  | 39 ++
 games-action/minetest/minetest-5.4.1.ebuild|  8 +++--
 2 files changed, 45 insertions(+), 2 deletions(-)

diff --git a/games-action/minetest/files/minetest-5.4.1-system_puc_lua.patch 
b/games-action/minetest/files/minetest-5.4.1-system_puc_lua.patch
new file mode 100644
index 000..7f49b427e8e
--- /dev/null
+++ b/games-action/minetest/files/minetest-5.4.1-system_puc_lua.patch
@@ -0,0 +1,39 @@
+Upstream build scripts use either system LuaJIT or bundled PUC Lua 5.1.
+Make it possible to use the system version of the latter too.
+
+--- a/cmake/Modules/FindLua.cmake
 b/cmake/Modules/FindLua.cmake
+@@ -2,27 +2,12 @@
+ # This selects LuaJIT by default
+ 
+ option(ENABLE_LUAJIT "Enable LuaJIT support" TRUE)
+-set(USE_LUAJIT FALSE)
+-option(REQUIRE_LUAJIT "Require LuaJIT support" FALSE)
+-if(REQUIRE_LUAJIT)
+-  set(ENABLE_LUAJIT TRUE)
+-endif()
+ if(ENABLE_LUAJIT)
+-  find_package(LuaJIT)
+-  if(LUAJIT_FOUND)
+-  set(USE_LUAJIT TRUE)
+-  message (STATUS "Using LuaJIT provided by system.")
+-  elseif(REQUIRE_LUAJIT)
+-  message(FATAL_ERROR "LuaJIT not found whereas 
REQUIRE_LUAJIT=\"TRUE\" is used.\n"
+-  "To continue, either install LuaJIT or do not use 
REQUIRE_LUAJIT=\"TRUE\".")
+-  endif()
++  find_package(LuaJIT REQUIRED)
++  set(USE_LUAJIT TRUE)
++  message (STATUS "Using LuaJIT provided by system.")
+ else()
+-  message (STATUS "LuaJIT detection disabled! (ENABLE_LUAJIT=0)")
+-endif()
+-
+-if(NOT USE_LUAJIT)
+-  message(STATUS "LuaJIT not found, using bundled Lua.")
+-  set(LUA_LIBRARY lua)
+-  set(LUA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib/lua/src)
+-  add_subdirectory(lib/lua)
++  find_package(Lua51 REQUIRED)
++  set(USE_LUAJIT FALSE)
++  message(STATUS "Using Lua5.1 provided by system.")
+ endif()

diff --git a/games-action/minetest/minetest-5.4.1.ebuild 
b/games-action/minetest/minetest-5.4.1.ebuild
index 6304747349e..453757efe39 100644
--- a/games-action/minetest/minetest-5.4.1.ebuild
+++ b/games-action/minetest/minetest-5.4.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-LUA_COMPAT=( luajit )
+LUA_COMPAT=( lua5-1 luajit )
 
 inherit cmake lua-single xdg
 
@@ -62,6 +62,10 @@ BDEPEND="
)
nls? ( sys-devel/gettext )"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
+)
+
 src_prepare() {
cmake_src_prepare
 
@@ -91,7 +95,7 @@ src_configure() {
-DENABLE_GETTEXT=$(usex nls)
-DENABLE_GLES=0
-DENABLE_LEVELDB=$(usex leveldb)
-   -DENABLE_LUAJIT=1
+   -DENABLE_LUAJIT=$(usex lua_single_target_luajit)
-DENABLE_POSTGRESQL=$(usex postgres)
-DENABLE_PROMETHEUS=$(usex prometheus)
-DENABLE_REDIS=$(usex redis)



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-05-12 Thread Marek Szuba
commit: 41f622a2a49ab1dfda81b24fd2efef65da5262c2
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed May 12 08:51:58 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed May 12 08:51:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f622a2

games-action/minetest: add self as maintainer

Signed-off-by: Marek Szuba  gentoo.org>

 games-action/minetest/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index ed8ceafe188..24b6b898645 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -29,6 +29,10 @@
* Runs natively on Windows, Linux, OS X and FreeBSD.
* Supports multiple languages, translated by the community.

+   
+   mare...@gentoo.org
+   Marek Szuba
+   

ga...@gentoo.org
Gentoo Games Project



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-05-12 Thread Joonas Niilola
commit: 7f6b2f13df1d5ee8beaf659c37bfe96ca2bdac4c
Author: William Breathitt Gray  gmail  com>
AuthorDate: Tue May 11 23:02:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May 12 07:36:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6b2f13

games-action/minetest: Remove proxy maintainer

Signed-off-by: William Breathitt Gray  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 games-action/minetest/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index 41104cf6b21..ed8ceafe188 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -29,14 +29,6 @@
* Runs natively on Windows, Linux, OS X and FreeBSD.
* Supports multiple languages, translated by the community.

-   
-   vilhelm.g...@gmail.com
-   William Breathitt Gray
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

ga...@gentoo.org
Gentoo Games Project



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-04-14 Thread Sam James
commit: 5a5c5cb3a8cfd7884829879f734cafb2344c2f91
Author: William Breathitt Gray  gmail  com>
AuthorDate: Sun Apr 11 23:48:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 14 15:37:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a5c5cb3

games-action/minetest: Version bump to 5.4.1

Closes: https://bugs.gentoo.org/782370
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20343
Signed-off-by: Sam James  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.4.1.ebuild | 147 
 2 files changed, 148 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 3dd06573d25..489883be377 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.4.0.tar.gz 11205196 BLAKE2B 
4fd03cf75c6ace4a8e3b1fc81826a43df4a6ea68c7dbdc33cda948e5c81fb49440341f148943c7300036d4063fafb0104fc42a8a29a0495df65d4c66f0d4eb46
 SHA512 
4cb43678c56ee2ccf9d5dd9c1fc0007119d598a4a56df43fc2a1b827efe08feba0008a30bdb1a1fcd4efe0ada88484b7be0c9e46f108d5424451adb0999b0bcb
+DIST minetest-5.4.1.tar.gz 11209289 BLAKE2B 
a8517309ee98c3991e7ce2d67bb8d14a5697a299b480835c79b1e3c7161ebc94f6245f36c09d88903c052fca1de52fe0253f055059c3d72745c724d117d9753a
 SHA512 
8f9985c6a658c868ed8971f112eae3c71c2b1535fd433689920be6d42ac2c7eb8453d58ec2825573764ee2f56b651c5e27895b7fd58fada61fbaf4758fc69471

diff --git a/games-action/minetest/minetest-5.4.1.ebuild 
b/games-action/minetest/minetest-5.4.1.ebuild
new file mode 100644
index 000..6304747349e
--- /dev/null
+++ b/games-action/minetest/minetest-5.4.1.ebuild
@@ -0,0 +1,147 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( luajit )
+
+inherit cmake lua-single xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 prometheus redis +server 
+sound spatial test +truetype"
+REQUIRED_USE="
+   ${LUA_REQUIRED_USE}
+   || ( client server )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ${LUA_DEPS}
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   dev-games/irrlicht
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   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
+   acct-user/minetest
+   dev-games/irrlicht-headers
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+src_prepare() {
+   cmake_src_prepare
+
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled libraries
+   rm -rf lib || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DBUILD_UNITTESTS=$(usex test)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=1
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_PROMETHEUS=$(usex prometheus)
+   -DENABLE_REDIS=$(usex redis)
+  

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-04-09 Thread Sam James
commit: a97e90b85bb4f3561bf355c7f2b8b390d9ad484a
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 10 06:23:44 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 10 06:31:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a97e90b8

games-action/minetest: add whitespace

Signed-off-by: Sam James  gentoo.org>

 games-action/minetest/minetest-5.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-action/minetest/minetest-5.4.0.ebuild 
b/games-action/minetest/minetest-5.4.0.ebuild
index 6cd3d801b35..6304747349e 100644
--- a/games-action/minetest/minetest-5.4.0.ebuild
+++ b/games-action/minetest/minetest-5.4.0.ebuild
@@ -64,6 +64,7 @@ BDEPEND="
 
 src_prepare() {
cmake_src_prepare
+
# set paths
sed \
-e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-02-24 Thread James Le Cuirot
commit: c6e3cad332d383e34a4eaea9dbcf07d5cec217e8
Author: William Breathitt Gray  gmail  com>
AuthorDate: Wed Feb 24 00:18:42 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Feb 24 20:47:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e3cad3

games-action/minetest: Version bump to 5.4.0

Closes: https://bugs.gentoo.org/772308
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19623
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.4.0.ebuild | 146 
 2 files changed, 147 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 05d0a191d37..46330273b6c 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.3.0.tar.gz 10828893 BLAKE2B 
0847c040d2874962be79af6fce89b19354f6763cb37dd61d7e5e91bcacb9a76a115e295976056ae761db257612277ceef0d7e8bfc55790b1bc59a9c4961af41b
 SHA512 
7bb34a80107861539a9ac2417812625ef11d145bf9401afdb8e0a1b9f619adcce24e2becf5bf361b805f4610097cf9d44c76d497ab08d489a43655852ce44777
+DIST minetest-5.4.0.tar.gz 11205196 BLAKE2B 
4fd03cf75c6ace4a8e3b1fc81826a43df4a6ea68c7dbdc33cda948e5c81fb49440341f148943c7300036d4063fafb0104fc42a8a29a0495df65d4c66f0d4eb46
 SHA512 
4cb43678c56ee2ccf9d5dd9c1fc0007119d598a4a56df43fc2a1b827efe08feba0008a30bdb1a1fcd4efe0ada88484b7be0c9e46f108d5424451adb0999b0bcb

diff --git a/games-action/minetest/minetest-5.4.0.ebuild 
b/games-action/minetest/minetest-5.4.0.ebuild
new file mode 100644
index 000..6cd3d801b35
--- /dev/null
+++ b/games-action/minetest/minetest-5.4.0.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( luajit )
+
+inherit cmake lua-single xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 prometheus redis +server 
+sound spatial test +truetype"
+REQUIRED_USE="
+   ${LUA_REQUIRED_USE}
+   || ( client server )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ${LUA_DEPS}
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   dev-games/irrlicht
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   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
+   acct-user/minetest
+   dev-games/irrlicht-headers
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+src_prepare() {
+   cmake_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled libraries
+   rm -rf lib || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DBUILD_UNITTESTS=$(usex test)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=1
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_PROMETHEUS=$(usex prometheus)
+   -DENABLE_REDIS=$(usex redi

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2021-02-24 Thread James Le Cuirot
commit: 339d021183644940647f4867fe949def0873da63
Author: James Le Cuirot  gentoo  org>
AuthorDate: Wed Feb 24 20:41:03 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Feb 24 20:47:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=339d0211

games-action/minetest: Drop old 5.3.0

Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest   |   1 -
 games-action/minetest/minetest-5.3.0-r100.ebuild | 146 ---
 games-action/minetest/minetest-5.3.0.ebuild  | 142 --
 3 files changed, 289 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 46330273b6c..3dd06573d25 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-5.3.0.tar.gz 10828893 BLAKE2B 
0847c040d2874962be79af6fce89b19354f6763cb37dd61d7e5e91bcacb9a76a115e295976056ae761db257612277ceef0d7e8bfc55790b1bc59a9c4961af41b
 SHA512 
7bb34a80107861539a9ac2417812625ef11d145bf9401afdb8e0a1b9f619adcce24e2becf5bf361b805f4610097cf9d44c76d497ab08d489a43655852ce44777
 DIST minetest-5.4.0.tar.gz 11205196 BLAKE2B 
4fd03cf75c6ace4a8e3b1fc81826a43df4a6ea68c7dbdc33cda948e5c81fb49440341f148943c7300036d4063fafb0104fc42a8a29a0495df65d4c66f0d4eb46
 SHA512 
4cb43678c56ee2ccf9d5dd9c1fc0007119d598a4a56df43fc2a1b827efe08feba0008a30bdb1a1fcd4efe0ada88484b7be0c9e46f108d5424451adb0999b0bcb

diff --git a/games-action/minetest/minetest-5.3.0-r100.ebuild 
b/games-action/minetest/minetest-5.3.0-r100.ebuild
deleted file mode 100644
index de4641d9e6a..000
--- a/games-action/minetest/minetest-5.3.0-r100.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( luajit )
-
-inherit cmake lua-single xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-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 prometheus redis +server 
+sound spatial test +truetype"
-REQUIRED_USE="
-   ${LUA_REQUIRED_USE}
-   || ( client server )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ${LUA_DEPS}
-   dev-db/sqlite:3
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   app-arch/bzip2
-   dev-games/irrlicht
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   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
-   acct-user/minetest
-   dev-games/irrlicht-headers
-   )
-   spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-src_prepare() {
-   cmake_src_prepare
-   # set paths
-   sed \
-   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-
-   # remove bundled libraries
-   rm -rf lib || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex client)
-   -DBUILD_SERVER=$(usex server)
-   -DBUILD_UNITTESTS=$(usex test)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DENABLE_CURL=$(usex curl)
-   -DENABLE_CURSES=$(usex ncurses)
-   -DENABLE_FREETYPE=$(usex truetype)
-   -DENABLE_GETTEXT=$(usex nls)
-   -DENABLE_GLES=0
-   -DENABLE_LEVELDB=$(usex leveldb)
-   -DENABLE_LUAJIT=1
-   -DENABLE_POSTGRESQL=$(usex postgres)
-   -DENABLE_PROMETHEUS=$(usex prometheus)
-   -DENABLE_REDIS=$(usex redis)
- 

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2020-11-12 Thread Joonas Niilola
commit: bc034222ddf6980683f7f179f3cb81f531f108fb
Author: William Breathitt Gray  gmail  com>
AuthorDate: Thu Nov 12 08:17:12 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Nov 12 08:18:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc034222

games-action/minetest: port to lua-single eclass

Closes: https://bugs.gentoo.org/752678
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18154
Signed-off-by: Joonas Niilola  gentoo.org>

 games-action/minetest/minetest-5.3.0-r100.ebuild | 146 +++
 1 file changed, 146 insertions(+)

diff --git a/games-action/minetest/minetest-5.3.0-r100.ebuild 
b/games-action/minetest/minetest-5.3.0-r100.ebuild
new file mode 100644
index 000..de4641d9e6a
--- /dev/null
+++ b/games-action/minetest/minetest-5.3.0-r100.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( luajit )
+
+inherit cmake lua-single xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 prometheus redis +server 
+sound spatial test +truetype"
+REQUIRED_USE="
+   ${LUA_REQUIRED_USE}
+   || ( client server )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ${LUA_DEPS}
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   dev-games/irrlicht
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   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
+   acct-user/minetest
+   dev-games/irrlicht-headers
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+src_prepare() {
+   cmake_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled libraries
+   rm -rf lib || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DBUILD_UNITTESTS=$(usex test)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -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)
+   -DENABLE_SYSTEM_GMP=1
+   -DENABLE_SYSTEM_JSONCPP=1
+   -DRUN_IN_PLACE=0
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc ; then
+   cmake_src_compile doc
+   HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
+   fi
+}
+
+src_install() {
+   cmake_src_install
+
+   if use server ; then
+   keepdir /var/log/minetest
+   fowners minetest:minetest /var/log/minetest
+
+   newconfd "${T}"/minetestserver.confd minetest-server
+   newinitd "${FILESDIR}"/minetestserver.initd minetest-server
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/minetestserver.logrotate min

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2020-09-05 Thread Joonas Niilola
commit: 4ab99fc2150d104bfec7b288ef4aa43212c3eb65
Author: William Breathitt Gray  gmail  com>
AuthorDate: Sun Jul 26 18:45:51 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Sep  6 05:55:18 2020 +
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  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16840
Signed-off-by: Joonas Niilola  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 @@

Build Minetest client
Enable LevelDB backend
+   Enable prometheus client support
Enable redis backend via 
dev-libs/hiredis
Build Minetest server
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)



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/

2020-08-16 Thread Joonas Niilola
commit: 733524ecd691013760473238b6e571010636196b
Author: William Breathitt Gray  gmail  com>
AuthorDate: Sat Aug  8 15:33:07 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Aug 16 08:00:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=733524ec

games-action/minetest: Add missingok parameter to logrotate config

Closes: https://bugs.gentoo.org/736346
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17053
Signed-off-by: Joonas Niilola  gentoo.org>

 games-action/minetest/files/minetestserver.logrotate | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-action/minetest/files/minetestserver.logrotate 
b/games-action/minetest/files/minetestserver.logrotate
index 87917034945..0ec4823663a 100644
--- a/games-action/minetest/files/minetestserver.logrotate
+++ b/games-action/minetest/files/minetestserver.logrotate
@@ -1,5 +1,6 @@
 /var/log/minetest/minetest-server.log {
rotate 5
weekly
+   missingok
copytruncate
 }



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2020-07-11 Thread James Le Cuirot
commit: 1a92339fcb7372b6a038e478cf841c247e784002
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Jul 11 13:44:28 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Jul 11 13:44:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a92339f

games-action/minetest: Drop old 5.2.0

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest  |   1 -
 games-action/minetest/minetest-5.2.0.ebuild | 138 
 2 files changed, 139 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 8d2b900d5b7..05d0a191d37 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-5.2.0.tar.gz 10361815 BLAKE2B 
244cacc92f08f571f45bedef9a8f2154a8105fc83c1396d626e78dcb0d4050c3ba9610ccf2ec2864a5d4b73d9d31aac0dc162fdcc277ef35cc1ead53158cc51f
 SHA512 
47e3cdf488d50ea61659ac3b72960c9971270d1a793e0d79dcb649c89f7a6e65a16c21e1b903d08c916a2ebcbd3fd2164ec67173a3d4f2a2e9bb3a6351b48851
 DIST minetest-5.3.0.tar.gz 10828893 BLAKE2B 
0847c040d2874962be79af6fce89b19354f6763cb37dd61d7e5e91bcacb9a76a115e295976056ae761db257612277ceef0d7e8bfc55790b1bc59a9c4961af41b
 SHA512 
7bb34a80107861539a9ac2417812625ef11d145bf9401afdb8e0a1b9f619adcce24e2becf5bf361b805f4610097cf9d44c76d497ab08d489a43655852ce44777

diff --git a/games-action/minetest/minetest-5.2.0.ebuild 
b/games-action/minetest/minetest-5.2.0.ebuild
deleted file mode 100644
index 9f99e55d2d4..000
--- a/games-action/minetest/minetest-5.2.0.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-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 +truetype"
-REQUIRED_USE="|| ( client server )"
-
-RDEPEND="
-   dev-db/sqlite:3
-   dev-lang/luajit:2
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   app-arch/bzip2
-   dev-games/irrlicht
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   ncurses? ( sys-libs/ncurses:0= )
-   nls? ( virtual/libintl )
-   postgres? ( >=dev-db/postgresql-9.5:= )
-   redis? ( dev-libs/hiredis:= )
-   server? (
-   acct-group/minetest
-   acct-user/minetest
-   dev-games/irrlicht-headers
-   )
-   spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-src_prepare() {
-   cmake_src_prepare
-   # set paths
-   sed \
-   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-
-   # remove bundled libraries
-   rm -rf lib || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex client)
-   -DBUILD_SERVER=$(usex server)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DENABLE_CURL=$(usex curl)
-   -DENABLE_CURSES=$(usex ncurses)
-   -DENABLE_FREETYPE=$(usex truetype)
-   -DENABLE_GETTEXT=$(usex nls)
-   -DENABLE_GLES=0
-   -DENABLE_LEVELDB=$(usex leveldb)
-   -DENABLE_LUAJIT=1
-   -DENABLE_POSTGRESQL=$(usex postgres)
-   -DENABLE_REDIS=$(usex redis)
-   -DENABLE_SPATIAL=$(usex spatial)
-   -DENABLE_SOUND=$(usex sound)
-   -DENABLE_SYSTEM_GMP=1
-   -DENABLE_SYSTEM_JSONCPP=1
-   -DRUN_IN_PLACE=0
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-
-   if use doc ; then
-   cmake_src_compile do

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2020-07-11 Thread James Le Cuirot
commit: 4d0a22f37f71a6ffa1bbc19306641f5b1e9e444a
Author: William Breathitt Gray  gmail  com>
AuthorDate: Thu Jul  9 20:49:50 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Jul 11 13:42:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0a22f3

games-action/minetest: Version bump to 5.3.0

Closes: https://bugs.gentoo.org/731984
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16653
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.3.0.ebuild | 140 
 2 files changed, 141 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index ea2ab27923e..8d2b900d5b7 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.2.0.tar.gz 10361815 BLAKE2B 
244cacc92f08f571f45bedef9a8f2154a8105fc83c1396d626e78dcb0d4050c3ba9610ccf2ec2864a5d4b73d9d31aac0dc162fdcc277ef35cc1ead53158cc51f
 SHA512 
47e3cdf488d50ea61659ac3b72960c9971270d1a793e0d79dcb649c89f7a6e65a16c21e1b903d08c916a2ebcbd3fd2164ec67173a3d4f2a2e9bb3a6351b48851
+DIST minetest-5.3.0.tar.gz 10828893 BLAKE2B 
0847c040d2874962be79af6fce89b19354f6763cb37dd61d7e5e91bcacb9a76a115e295976056ae761db257612277ceef0d7e8bfc55790b1bc59a9c4961af41b
 SHA512 
7bb34a80107861539a9ac2417812625ef11d145bf9401afdb8e0a1b9f619adcce24e2becf5bf361b805f4610097cf9d44c76d497ab08d489a43655852ce44777

diff --git a/games-action/minetest/minetest-5.3.0.ebuild 
b/games-action/minetest/minetest-5.3.0.ebuild
new file mode 100644
index 000..94e307d7644
--- /dev/null
+++ b/games-action/minetest/minetest-5.3.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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"
+REQUIRED_USE="|| ( client server )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-lang/luajit:2
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   dev-games/irrlicht
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis:= )
+   server? (
+   acct-group/minetest
+   acct-user/minetest
+   dev-games/irrlicht-headers
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+src_prepare() {
+   cmake_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled libraries
+   rm -rf lib || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DBUILD_UNITTESTS=$(usex test)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=1
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+   -DENABLE_SOUND=$(usex sound)
+   -DENABLE_SYSTEM_GMP=1
+   -DENABLE_SYSTEM_JSONCPP=1
+  

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/, games-action/minetest/

2020-06-24 Thread Joonas Niilola
commit: 1ffce436ef2bfa2d7eba140f72b4d9e0c70a8e75
Author: William Breathitt Gray  gmail  com>
AuthorDate: Mon May 25 19:26:05 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jun 24 14:29:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ffce436

games-action/minetest: Add logrotate configuration file

Closes: https://bugs.gentoo.org/725122
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15969
Signed-off-by: Joonas Niilola  gentoo.org>

 games-action/minetest/files/minetestserver.logrotate | 5 +
 games-action/minetest/minetest-5.2.0.ebuild  | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/games-action/minetest/files/minetestserver.logrotate 
b/games-action/minetest/files/minetestserver.logrotate
new file mode 100644
index 000..87917034945
--- /dev/null
+++ b/games-action/minetest/files/minetestserver.logrotate
@@ -0,0 +1,5 @@
+/var/log/minetest/minetest-server.log {
+   rotate 5
+   weekly
+   copytruncate
+}

diff --git a/games-action/minetest/minetest-5.2.0.ebuild 
b/games-action/minetest/minetest-5.2.0.ebuild
index 73950475263..9f99e55d2d4 100644
--- a/games-action/minetest/minetest-5.2.0.ebuild
+++ b/games-action/minetest/minetest-5.2.0.ebuild
@@ -114,6 +114,9 @@ src_install() {
 
newconfd "${T}"/minetestserver.confd minetest-server
newinitd "${FILESDIR}"/minetestserver.initd minetest-server
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/minetestserver.logrotate minetest-server
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2020-04-07 Thread James Le Cuirot
commit: 1f6c5053bd2d0768ac4a4e8929f12e8065fb61a6
Author: William Breathitt Gray  gmail  com>
AuthorDate: Sun Apr  5 20:07:54 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Apr  7 22:49:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6c5053

games-action/minetest: Version bump to 5.2.0

Closes: https://bugs.gentoo.org/716366
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15240
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.2.0.ebuild | 135 
 2 files changed, 136 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index c808144d7b0..15e396dfe92 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.1.1.tar.gz 9002025 BLAKE2B 
8258850a0f45125a09e0a4cf5eda7a8860be4f0a5e564767952e27fc8509593bf0615c1457a0ee168f6eeedcf1065e288b787d74e1d0a2180870bc1bae818bfc
 SHA512 
4a36a86a3e5f8f5246ff3410e9ab182631f38292bea077e7dbc25fdc1520e5a479ffbd5ec447000fb4999ab252a59bf976299e6fecda1f8cd47f40549885766b
+DIST minetest-5.2.0.tar.gz 10361815 BLAKE2B 
244cacc92f08f571f45bedef9a8f2154a8105fc83c1396d626e78dcb0d4050c3ba9610ccf2ec2864a5d4b73d9d31aac0dc162fdcc277ef35cc1ead53158cc51f
 SHA512 
47e3cdf488d50ea61659ac3b72960c9971270d1a793e0d79dcb649c89f7a6e65a16c21e1b903d08c916a2ebcbd3fd2164ec67173a3d4f2a2e9bb3a6351b48851

diff --git a/games-action/minetest/minetest-5.2.0.ebuild 
b/games-action/minetest/minetest-5.2.0.ebuild
new file mode 100644
index 000..73950475263
--- /dev/null
+++ b/games-action/minetest/minetest-5.2.0.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 +truetype"
+REQUIRED_USE="|| ( client server )"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-lang/luajit:2
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   dev-games/irrlicht
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis:= )
+   server? (
+   acct-group/minetest
+   acct-user/minetest
+   dev-games/irrlicht-headers
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+src_prepare() {
+   cmake_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled libraries
+   rm -rf lib || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=1
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+   -DENABLE_SOUND=$(usex sound)
+   -DENABLE_SYSTEM_GMP=1
+   -DENABLE_SYSTEM_JSONCPP=1
+   -DRUN_IN_PLACE=0
+   )
+
+   cmake_src_configure
+}
+
+src_c

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2020-04-07 Thread James Le Cuirot
commit: c18e58a368dff2f761db9ec4be9f11425411fdbc
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Apr  7 22:50:53 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Apr  7 22:50:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18e58a3

games-action/minetest: Drop old 5.1.1

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest  |   1 -
 games-action/minetest/minetest-5.1.1.ebuild | 139 
 2 files changed, 140 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 15e396dfe92..ea2ab27923e 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-5.1.1.tar.gz 9002025 BLAKE2B 
8258850a0f45125a09e0a4cf5eda7a8860be4f0a5e564767952e27fc8509593bf0615c1457a0ee168f6eeedcf1065e288b787d74e1d0a2180870bc1bae818bfc
 SHA512 
4a36a86a3e5f8f5246ff3410e9ab182631f38292bea077e7dbc25fdc1520e5a479ffbd5ec447000fb4999ab252a59bf976299e6fecda1f8cd47f40549885766b
 DIST minetest-5.2.0.tar.gz 10361815 BLAKE2B 
244cacc92f08f571f45bedef9a8f2154a8105fc83c1396d626e78dcb0d4050c3ba9610ccf2ec2864a5d4b73d9d31aac0dc162fdcc277ef35cc1ead53158cc51f
 SHA512 
47e3cdf488d50ea61659ac3b72960c9971270d1a793e0d79dcb649c89f7a6e65a16c21e1b903d08c916a2ebcbd3fd2164ec67173a3d4f2a2e9bb3a6351b48851

diff --git a/games-action/minetest/minetest-5.1.1.ebuild 
b/games-action/minetest/minetest-5.1.1.ebuild
deleted file mode 100644
index 66f7329bb98..000
--- a/games-action/minetest/minetest-5.1.1.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-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 +truetype"
-REQUIRED_USE="|| ( client server )"
-
-RDEPEND="
-   dev-db/sqlite:3
-   dev-lang/luajit:2
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   app-arch/bzip2
-   dev-games/irrlicht
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   ncurses? ( sys-libs/ncurses:0= )
-   nls? ( virtual/libintl )
-   postgres? ( >=dev-db/postgresql-9.5:= )
-   redis? ( dev-libs/hiredis:= )
-   server? (
-   acct-group/minetest
-   acct-user/minetest
-   dev-games/irrlicht-headers
-   )
-   spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-src_prepare() {
-   cmake_src_prepare
-   # set paths
-   sed \
-   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-
-   # remove bundled libraries
-   rm -rf lib || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex client)
-   -DBUILD_SERVER=$(usex server)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DENABLE_CURL=$(usex curl)
-   -DENABLE_CURSES=$(usex ncurses)
-   -DENABLE_FREETYPE=$(usex truetype)
-   -DENABLE_GETTEXT=$(usex nls)
-   -DENABLE_GLES=0
-   -DENABLE_LEVELDB=$(usex leveldb)
-   -DENABLE_LUAJIT=1
-   -DENABLE_POSTGRESQL=$(usex postgres)
-   -DENABLE_REDIS=$(usex redis)
-   -DENABLE_SPATIAL=$(usex spatial)
-   -DENABLE_SOUND=$(usex sound)
-   -DENABLE_SYSTEM_GMP=1
-   -DENABLE_SYSTEM_JSONCPP=1
-   -DRUN_IN_PLACE=0
-   )
-
-   use server && mycmakeargs+=(
-   -DIRRLICHT_INCLUDE_DIR="${EPREFIX}/usr/include/irrlicht"
-   )
-
-   cmake_src_co

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2020-02-22 Thread James Le Cuirot
commit: 67e48324452090097bc8217613960376de657945
Author: William Breathitt Gray  gmail  com>
AuthorDate: Fri Jan 17 21:56:38 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Feb 22 22:09:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e48324

games-action/minetest: Version bump to 5.1.1

Closes: https://bugs.gentoo.org/706372
Closes: https://bugs.gentoo.org/705696
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14370
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.1.1.ebuild | 139 
 2 files changed, 140 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 11699c9e760..32bddbc98b7 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.1.0.tar.gz 8939376 BLAKE2B 
5c56bd74a573632636937c5e5a45eb864ec627962b73573a763be7326c2a3fa95ad87683d655725b29d29d91270812beef33c21b3eb100627f21befeb2dbfac5
 SHA512 
f2cad4720c1003536cc3c619c18234a95cae1dee8fb54b46a2ef5fd24108a4c945efcb0a461926ef3ede7b8bec41ed6620806212fe11f4142bbf31fe4f0f659e
+DIST minetest-5.1.1.tar.gz 9002025 BLAKE2B 
8258850a0f45125a09e0a4cf5eda7a8860be4f0a5e564767952e27fc8509593bf0615c1457a0ee168f6eeedcf1065e288b787d74e1d0a2180870bc1bae818bfc
 SHA512 
4a36a86a3e5f8f5246ff3410e9ab182631f38292bea077e7dbc25fdc1520e5a479ffbd5ec447000fb4999ab252a59bf976299e6fecda1f8cd47f40549885766b

diff --git a/games-action/minetest/minetest-5.1.1.ebuild 
b/games-action/minetest/minetest-5.1.1.ebuild
new file mode 100644
index 000..66f7329bb98
--- /dev/null
+++ b/games-action/minetest/minetest-5.1.1.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 +truetype"
+REQUIRED_USE="|| ( client server )"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-lang/luajit:2
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   dev-games/irrlicht
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis:= )
+   server? (
+   acct-group/minetest
+   acct-user/minetest
+   dev-games/irrlicht-headers
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+src_prepare() {
+   cmake_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled libraries
+   rm -rf lib || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=1
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+   -DENABLE_SOUND=$(usex sound)
+   -DENABLE_SYSTEM_GMP=1
+   -DENABLE_SYSTEM_JSONCPP=

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/, games-action/minetest/

2020-02-22 Thread James Le Cuirot
commit: 6051083a35f39976b4200bdb69f0c6c0d38ea1b3
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Feb 22 22:09:03 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Feb 22 22:09:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6051083a

games-action/minetest: Drop old 5.1.0-r1

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest   |   1 -
 games-action/minetest/files/5.1.0-FindJson.patch |  31 -
 games-action/minetest/minetest-5.1.0-r1.ebuild   | 140 ---
 3 files changed, 172 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 32bddbc98b7..c808144d7b0 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-5.1.0.tar.gz 8939376 BLAKE2B 
5c56bd74a573632636937c5e5a45eb864ec627962b73573a763be7326c2a3fa95ad87683d655725b29d29d91270812beef33c21b3eb100627f21befeb2dbfac5
 SHA512 
f2cad4720c1003536cc3c619c18234a95cae1dee8fb54b46a2ef5fd24108a4c945efcb0a461926ef3ede7b8bec41ed6620806212fe11f4142bbf31fe4f0f659e
 DIST minetest-5.1.1.tar.gz 9002025 BLAKE2B 
8258850a0f45125a09e0a4cf5eda7a8860be4f0a5e564767952e27fc8509593bf0615c1457a0ee168f6eeedcf1065e288b787d74e1d0a2180870bc1bae818bfc
 SHA512 
4a36a86a3e5f8f5246ff3410e9ab182631f38292bea077e7dbc25fdc1520e5a479ffbd5ec447000fb4999ab252a59bf976299e6fecda1f8cd47f40549885766b

diff --git a/games-action/minetest/files/5.1.0-FindJson.patch 
b/games-action/minetest/files/5.1.0-FindJson.patch
deleted file mode 100644
index 3d48b0a0924..000
--- a/games-action/minetest/files/5.1.0-FindJson.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 706b6aad06a112f55105f08b6acd130b276a06ca Mon Sep 17 00:00:00 2001
-From: William Breathitt Gray 
-Date: Sat, 16 Nov 2019 13:14:24 -0500
-Subject: [PATCH] Fix find_path for newer jsoncpp installations
-
-The upstream JsonCpp project has renamed the `json/features.h` file to
-`json/json_features.h`. This patch fixes the JsonCpp installation search
-by looking for `json/allocator.h` which has not been renamed on newer
-versions of JsonCpp.
-
-Fixes: https://github.com/minetest/minetest/issues/9119

- cmake/Modules/FindJson.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cmake/Modules/FindJson.cmake b/cmake/Modules/FindJson.cmake
-index 26339a29..53ddf459 100644
 a/cmake/Modules/FindJson.cmake
-+++ b/cmake/Modules/FindJson.cmake
-@@ -8,7 +8,7 @@ option(ENABLE_SYSTEM_JSONCPP "Enable using a system-wide 
JSONCPP.  May cause seg
- 
- if(ENABLE_SYSTEM_JSONCPP)
-   find_library(JSON_LIBRARY NAMES jsoncpp)
--  find_path(JSON_INCLUDE_DIR json/features.h PATH_SUFFIXES jsoncpp)
-+  find_path(JSON_INCLUDE_DIR json/allocator.h PATH_SUFFIXES jsoncpp)
- 
-   include(FindPackageHandleStandardArgs)
-   find_package_handle_standard_args(JSONCPP DEFAULT_MSG JSON_LIBRARY 
JSON_INCLUDE_DIR)
--- 
-2.24.0
-

diff --git a/games-action/minetest/minetest-5.1.0-r1.ebuild 
b/games-action/minetest/minetest-5.1.0-r1.ebuild
deleted file mode 100644
index 018526a2e71..000
--- a/games-action/minetest/minetest-5.1.0-r1.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-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 +truetype"
-REQUIRED_USE="|| ( client server )"
-
-RDEPEND="
-   dev-db/sqlite:3
-   dev-games/irrlicht
-   dev-lang/luajit:2
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   app-arch/bzip2
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   ncurses? ( sys-libs/ncurses:0= )
-   nls? ( virtual/libintl )
-   postgres? ( >=dev-db/postgresql-9.5:= )
-   redis? ( dev-libs/hiredis:= )
-   server? (
-   acct-group/minetest
-   acct-user/minetest
-   )
-   spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-PATCHES

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/, games-action/minetest/files/

2019-11-17 Thread James Le Cuirot
commit: 8e24281824b722f587e1785e0138bdae955cc853
Author: William Breathitt Gray  gmail  com>
AuthorDate: Sun Nov 17 15:50:03 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Nov 17 21:35:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e242818

games-action/minetest: Add patch to find newer JsonCpp

The luajit flag is also removed since we should always build using the
system-provided LuaJIT rather than the bundled Lua library.

Closes: https://bugs.gentoo.org/700220
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13690
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/files/5.1.0-FindJson.patch |  31 +
 games-action/minetest/files/minetestserver.initd |   2 +-
 games-action/minetest/minetest-5.1.0-r1.ebuild   | 140 +++
 3 files changed, 172 insertions(+), 1 deletion(-)

diff --git a/games-action/minetest/files/5.1.0-FindJson.patch 
b/games-action/minetest/files/5.1.0-FindJson.patch
new file mode 100644
index 000..3d48b0a0924
--- /dev/null
+++ b/games-action/minetest/files/5.1.0-FindJson.patch
@@ -0,0 +1,31 @@
+From 706b6aad06a112f55105f08b6acd130b276a06ca Mon Sep 17 00:00:00 2001
+From: William Breathitt Gray 
+Date: Sat, 16 Nov 2019 13:14:24 -0500
+Subject: [PATCH] Fix find_path for newer jsoncpp installations
+
+The upstream JsonCpp project has renamed the `json/features.h` file to
+`json/json_features.h`. This patch fixes the JsonCpp installation search
+by looking for `json/allocator.h` which has not been renamed on newer
+versions of JsonCpp.
+
+Fixes: https://github.com/minetest/minetest/issues/9119
+---
+ cmake/Modules/FindJson.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/Modules/FindJson.cmake b/cmake/Modules/FindJson.cmake
+index 26339a29..53ddf459 100644
+--- a/cmake/Modules/FindJson.cmake
 b/cmake/Modules/FindJson.cmake
+@@ -8,7 +8,7 @@ option(ENABLE_SYSTEM_JSONCPP "Enable using a system-wide 
JSONCPP.  May cause seg
+ 
+ if(ENABLE_SYSTEM_JSONCPP)
+   find_library(JSON_LIBRARY NAMES jsoncpp)
+-  find_path(JSON_INCLUDE_DIR json/features.h PATH_SUFFIXES jsoncpp)
++  find_path(JSON_INCLUDE_DIR json/allocator.h PATH_SUFFIXES jsoncpp)
+ 
+   include(FindPackageHandleStandardArgs)
+   find_package_handle_standard_args(JSONCPP DEFAULT_MSG JSON_LIBRARY 
JSON_INCLUDE_DIR)
+-- 
+2.24.0
+

diff --git a/games-action/minetest/files/minetestserver.initd 
b/games-action/minetest/files/minetestserver.initd
index 1e56ff64651..ffca2e55995 100644
--- a/games-action/minetest/files/minetestserver.initd
+++ b/games-action/minetest/files/minetestserver.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 description="Minetest dedicated server"

diff --git a/games-action/minetest/minetest-5.1.0-r1.ebuild 
b/games-action/minetest/minetest-5.1.0-r1.ebuild
new file mode 100644
index 000..30beb3bfeb1
--- /dev/null
+++ b/games-action/minetest/minetest-5.1.0-r1.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 +truetype"
+REQUIRED_USE="|| ( client server )"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-games/irrlicht
+   dev-lang/luajit:2
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis:= )
+   server? (
+   acct-group/minetest
+   acct-user/minetest
+   )
+   spatial? ( sci-libs/libspatialindex:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+PATCHES="${FILESDIR}/${PV}-FindJson.pa

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-11-17 Thread James Le Cuirot
commit: 37d68737db28d8ebf61cc1af202e136d4837044d
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Nov 17 21:37:14 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Nov 17 21:37:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d68737

games-action/minetest: Drop old 5.1.0

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/minetest-5.1.0.ebuild | 137 
 1 file changed, 137 deletions(-)

diff --git a/games-action/minetest/minetest-5.1.0.ebuild 
b/games-action/minetest/minetest-5.1.0.ebuild
deleted file mode 100644
index 44881f977e6..000
--- a/games-action/minetest/minetest-5.1.0.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
-HOMEPAGE="https://www.minetest.net";
-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 luajit ncurses nls postgres redis +server 
+sound spatial +truetype"
-REQUIRED_USE="|| ( client server )"
-
-RDEPEND="
-   dev-db/sqlite:3
-   dev-games/irrlicht
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   app-arch/bzip2
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   luajit? ( dev-lang/luajit:2 )
-   ncurses? ( sys-libs/ncurses:0= )
-   nls? ( virtual/libintl )
-   postgres? ( >=dev-db/postgresql-9.5:= )
-   redis? ( dev-libs/hiredis:= )
-   server? (
-   acct-group/minetest
-   acct-user/minetest
-   )
-   spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-src_prepare() {
-   cmake-utils_src_prepare
-   # set paths
-   sed \
-   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-
-   # remove bundled gmp/jsoncpp
-   rm -rf lib/{gmp,jsoncpp} || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex client)
-   -DBUILD_SERVER=$(usex server)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DENABLE_CURL=$(usex curl)
-   -DENABLE_CURSES=$(usex ncurses)
-   -DENABLE_FREETYPE=$(usex truetype)
-   -DENABLE_GETTEXT=$(usex nls)
-   -DENABLE_GLES=0
-   -DENABLE_LEVELDB=$(usex leveldb)
-   -DENABLE_LUAJIT=$(usex luajit)
-   -DENABLE_POSTGRESQL=$(usex postgres)
-   -DENABLE_REDIS=$(usex redis)
-   -DENABLE_SPATIAL=$(usex spatial)
-   -DENABLE_SOUND=$(usex sound)
-   -DENABLE_SYSTEM_JSONCPP=1
-   -DRUN_IN_PLACE=0
-   )
-
-   use server && mycmakeargs+=(
-   -DIRRLICHT_INCLUDE_DIR="${EPREFIX}/usr/include/irrlicht"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   if use doc ; then
-   cmake-utils_src_compile doc
-   HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
-   fi
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   if use server ; then
-   keepdir /var/log/minetest
-   fowners minetest:minetest /var/log/minetest
-
-   newconfd "${T}"/minetestserver.confd minetest-server
-   newinitd "${FILESDIR}"/minetestserver.initd minetest-server
-   fi
-}
-
-pkg_postinst() {
-   xdg_pkg_postinst
-
-   if use server ; then
-   elog
-   elog "Configure your server via /etc/conf.d/minetest-server"
-   elog
-   fi
-
-   elog
-   elog "The version 5.x series is not compatible to the version 0.4 
series."
-   elog "This applies to clients and servers, o

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-11-12 Thread James Le Cuirot
commit: 977143ab6ffc6a2cec81553955c25a4ef2049b45
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Nov 12 21:34:12 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Nov 12 21:34:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=977143ab

games-action/minetest: Drop old 5.0.1

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest |   1 -
 games-action/minetest/minetest-5.0.1-r3.ebuild | 139 -
 2 files changed, 140 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 94c97da7470..11699c9e760 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-5.0.1.tar.gz 8761122 BLAKE2B 
888e29b956d66543dd506b8e7eadd2e9d37324aebd4f84989745090fe927e97355c2baa7d615f5e0f8e2a074724b89bdf5f807c297cce1bc8483e500b0248e22
 SHA512 
00f0c77c19eb9619387285e5dad690c8aa9969ff11c4de0bdae99ee6e9a4508a8c2f977837fc2e01aebc5d4c1a5191d4f56acb131182d73c8f50da1458695607
 DIST minetest-5.1.0.tar.gz 8939376 BLAKE2B 
5c56bd74a573632636937c5e5a45eb864ec627962b73573a763be7326c2a3fa95ad87683d655725b29d29d91270812beef33c21b3eb100627f21befeb2dbfac5
 SHA512 
f2cad4720c1003536cc3c619c18234a95cae1dee8fb54b46a2ef5fd24108a4c945efcb0a461926ef3ede7b8bec41ed6620806212fe11f4142bbf31fe4f0f659e

diff --git a/games-action/minetest/minetest-5.0.1-r3.ebuild 
b/games-action/minetest/minetest-5.0.1-r3.ebuild
deleted file mode 100644
index 0f424e11d7d..000
--- a/games-action/minetest/minetest-5.0.1-r3.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils user xdg
-
-DESCRIPTION="An InfiniMiner/Minecraft inspired game"
-HOMEPAGE="https://www.minetest.net";
-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 luajit ncurses nls postgres redis +server 
+sound spatial +truetype"
-REQUIRED_USE="|| ( client server )"
-
-RDEPEND="
-   dev-db/sqlite:3
-   dev-games/irrlicht
-   dev-libs/gmp:0=
-   dev-libs/jsoncpp:=
-   sys-libs/zlib
-   client? (
-   app-arch/bzip2
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg:=
-   media-libs/libvorbis:=
-   media-libs/openal:=
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   curl? ( net-misc/curl )
-   leveldb? ( dev-libs/leveldb:= )
-   luajit? ( dev-lang/luajit:2 )
-   ncurses? ( sys-libs/ncurses:0= )
-   nls? ( virtual/libintl )
-   postgres? ( >=dev-db/postgresql-9.5:= )
-   redis? ( dev-libs/hiredis )
-   spatial? ( sci-libs/libspatialindex )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-pkg_setup() {
-   if use server ; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_prepare() {
-   cmake-utils_src_prepare
-   # set paths
-   sed \
-   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-
-   # remove bundled gmp/jsoncpp
-   rm -rf lib/{gmp,jsoncpp} || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex client)
-   -DBUILD_SERVER=$(usex server)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DENABLE_CURL=$(usex curl)
-   -DENABLE_CURSES=$(usex ncurses)
-   -DENABLE_FREETYPE=$(usex truetype)
-   -DENABLE_GETTEXT=$(usex nls)
-   -DENABLE_GLES=0
-   -DENABLE_LEVELDB=$(usex leveldb)
-   -DENABLE_LUAJIT=$(usex luajit)
-   -DENABLE_POSTGRESQL=$(usex postgres)
-   -DENABLE_REDIS=$(usex redis)
-   -DENABLE_SPATIAL=$(usex spatial)
-   -DENABLE_SOUND=$(usex sound)
-   -DENABLE_SYSTEM_JSONCPP=1
-   -DRUN_IN_PLACE=0
-   )
-
-   use server && mycmakeargs+=(
-   -DIRRLICHT_INCLUDE_DIR="${EPREFIX}/usr/include/irrlicht"
-   )
-
-   cmake-u

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/, games-action/minetest/files/

2019-11-12 Thread James Le Cuirot
commit: 9b5012596d0a8ce42e77bb688aad6ae109c035da
Author: William Breathitt Gray  gmail  com>
AuthorDate: Sat Oct 12 18:20:19 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Nov 12 21:34:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b501259

games-action/minetest: version bump to 5.1.0

Closes: https://bugs.gentoo.org/697576
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: William Breathitt Gray  gmail.com>
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest   |   1 +
 games-action/minetest/files/minetestserver.confd |   2 +-
 games-action/minetest/minetest-5.1.0.ebuild  | 137 +++
 3 files changed, 139 insertions(+), 1 deletion(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 2228aa4c77c..94c97da7470 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-5.0.1.tar.gz 8761122 BLAKE2B 
888e29b956d66543dd506b8e7eadd2e9d37324aebd4f84989745090fe927e97355c2baa7d615f5e0f8e2a074724b89bdf5f807c297cce1bc8483e500b0248e22
 SHA512 
00f0c77c19eb9619387285e5dad690c8aa9969ff11c4de0bdae99ee6e9a4508a8c2f977837fc2e01aebc5d4c1a5191d4f56acb131182d73c8f50da1458695607
+DIST minetest-5.1.0.tar.gz 8939376 BLAKE2B 
5c56bd74a573632636937c5e5a45eb864ec627962b73573a763be7326c2a3fa95ad87683d655725b29d29d91270812beef33c21b3eb100627f21befeb2dbfac5
 SHA512 
f2cad4720c1003536cc3c619c18234a95cae1dee8fb54b46a2ef5fd24108a4c945efcb0a461926ef3ede7b8bec41ed6620806212fe11f4142bbf31fe4f0f659e

diff --git a/games-action/minetest/files/minetestserver.confd 
b/games-action/minetest/files/minetestserver.confd
index ec3d0138cb7..7a6f9b12ff0 100644
--- a/games-action/minetest/files/minetestserver.confd
+++ b/games-action/minetest/files/minetestserver.confd
@@ -13,4 +13,4 @@ PIDFILE="/var/run/minetest.pid"
 MINETESTBIN="@BINDIR@/minetestserver"
 
 # additional arguments for the server
-ARGS="--logfile /var/lib/minetest/minetest-server.log"
+ARGS="--logfile /var/log/minetest/minetest-server.log"

diff --git a/games-action/minetest/minetest-5.1.0.ebuild 
b/games-action/minetest/minetest-5.1.0.ebuild
new file mode 100644
index 000..510f4c5648e
--- /dev/null
+++ b/games-action/minetest/minetest-5.1.0.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils xdg
+
+DESCRIPTION="A free open-source voxel game engine with easy modding and game 
creation"
+HOMEPAGE="https://www.minetest.net";
+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 luajit ncurses nls postgres redis +server 
+sound spatial +truetype"
+REQUIRED_USE="|| ( client server )"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-games/irrlicht
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg:=
+   media-libs/libvorbis:=
+   media-libs/openal:=
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   luajit? ( dev-lang/luajit:2 )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis )
+   server? (
+   acct-group/minetest
+   acct-user/minetest
+   )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+src_prepare() {
+   cmake-utils_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled gmp/jsoncpp
+   rm -rf lib/{gmp,jsoncpp} || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-11-12 Thread James Le Cuirot
commit: a3ee346e5752d83b474abc7c07d372359eb6d45d
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Nov 12 21:33:03 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Nov 12 21:34:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ee346e

games-action/minetest: Correct some SLOT operators

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/minetest-5.1.0.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/games-action/minetest/minetest-5.1.0.ebuild 
b/games-action/minetest/minetest-5.1.0.ebuild
index 510f4c5648e..44881f977e6 100644
--- a/games-action/minetest/minetest-5.1.0.ebuild
+++ b/games-action/minetest/minetest-5.1.0.ebuild
@@ -29,9 +29,9 @@ RDEPEND="
x11-libs/libX11
x11-libs/libXxf86vm
sound? (
-   media-libs/libogg:=
-   media-libs/libvorbis:=
-   media-libs/openal:=
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
)
truetype? ( media-libs/freetype:2 )
)
@@ -41,12 +41,12 @@ RDEPEND="
ncurses? ( sys-libs/ncurses:0= )
nls? ( virtual/libintl )
postgres? ( >=dev-db/postgresql-9.5:= )
-   redis? ( dev-libs/hiredis )
+   redis? ( dev-libs/hiredis:= )
server? (
acct-group/minetest
acct-user/minetest
)
-   spatial? ( sci-libs/libspatialindex )"
+   spatial? ( sci-libs/libspatialindex:= )"
 DEPEND="${RDEPEND}"
 BDEPEND="
doc? (



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-09-19 Thread James Le Cuirot
commit: 787c8e612656d1f799df22a9ef74dde43a70cca1
Author: James Le Cuirot  gentoo  org>
AuthorDate: Thu Sep 19 21:52:51 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Sep 19 21:52:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=787c8e61

games-action/minetest: Minetest Game is now installed through the engine

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/minetest-5.0.1-r3.ebuild | 7 ---
 1 file changed, 7 deletions(-)

diff --git a/games-action/minetest/minetest-5.0.1-r3.ebuild 
b/games-action/minetest/minetest-5.0.1-r3.ebuild
index 044a72c0e99..0f424e11d7d 100644
--- a/games-action/minetest/minetest-5.0.1-r3.ebuild
+++ b/games-action/minetest/minetest-5.0.1-r3.ebuild
@@ -122,13 +122,6 @@ src_install() {
 pkg_postinst() {
xdg_pkg_postinst
 
-   if use client ; then
-   elog
-   elog "optional dependencies:"
-   elog "  games-action/minetest_game (official mod)"
-   elog
-   fi
-
if use server ; then
elog
elog "Configure your server via /etc/conf.d/minetest-server"



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-09-19 Thread James Le Cuirot
commit: 5fc357c548d78ec5b4535645a70257f29f1456d8
Author: William Breathitt Gray  gmail  com>
AuthorDate: Thu Sep 12 13:33:43 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Sep 19 21:49:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc357c5

games-action/minetest: Drop old

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12909
Signed-off-by: James Le Cuirot  gentoo.org>

 games-action/minetest/Manifest |   1 -
 games-action/minetest/metadata.xml |   1 -
 games-action/minetest/minetest-0.4.17.1.ebuild | 136 --
 games-action/minetest/minetest-5.0.1-r2.ebuild | 150 -
 4 files changed, 288 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 7249d821afb..2228aa4c77c 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-0.4.17.1.tar.gz 7758675 BLAKE2B 
93f5f1ce32b98bb78a6ae5bc2ab9110902e118480b37b8c9cf87f1c6aa986f379e1191e82d4a764fb2aa0a0747c113e80cd014e6a06e0a485a59e516c4644fc6
 SHA512 
9f84ae45ebe181cb1cd2dff6b71b558eb276472efdfcd73bd02a111b2761793d49681bdfbbeaccc28f4a2f49e15b80d04b78db2f2f728c852c188b0c96aae618
 DIST minetest-5.0.1.tar.gz 8761122 BLAKE2B 
888e29b956d66543dd506b8e7eadd2e9d37324aebd4f84989745090fe927e97355c2baa7d615f5e0f8e2a074724b89bdf5f807c297cce1bc8483e500b0248e22
 SHA512 
00f0c77c19eb9619387285e5dad690c8aa9969ff11c4de0bdae99ee6e9a4508a8c2f977837fc2e01aebc5d4c1a5191d4f56acb131182d73c8f50da1458695607

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index be715192bea..8ca84936bcb 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -43,7 +43,6 @@


Build Minetest client
-   Enable using a system-wide JSONCPP
Enable LevelDB backend
Enable redis backend via 
dev-libs/hiredis
Build Minetest server

diff --git a/games-action/minetest/minetest-0.4.17.1.ebuild 
b/games-action/minetest/minetest-0.4.17.1.ebuild
deleted file mode 100644
index b71ccc4d197..000
--- a/games-action/minetest/minetest-0.4.17.1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit cmake-utils gnome2-utils user
-
-DESCRIPTION="An InfiniMiner/Minecraft inspired game"
-HOMEPAGE="https://www.minetest.net";
-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="+curl dedicated doc jsoncpp +leveldb luajit ncurses nls postgres redis 
+server +sound spatial +truetype"
-
-RDEPEND="dev-db/sqlite:3
-   sys-libs/zlib
-   curl? ( net-misc/curl )
-   !dedicated? (
-   app-arch/bzip2
-   >=dev-games/irrlicht-1.8-r2
-   dev-libs/gmp:0=
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg:=
-   media-libs/libvorbis:=
-   media-libs/openal:=
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   jsoncpp? ( dev-libs/jsoncpp )
-   leveldb? ( dev-libs/leveldb:= )
-   luajit? ( dev-lang/luajit:2 )
-   ncurses? ( sys-libs/ncurses:0= )
-   nls? ( virtual/libintl )
-   postgres? ( >=dev-db/postgresql-9.5:= )
-   redis? ( dev-libs/hiredis )
-   spatial? ( sci-libs/libspatialindex )"
-DEPEND="${RDEPEND}
-   >=dev-games/irrlicht-1.8-r2
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-pkg_setup() {
-   if use server || use dedicated ; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_prepare() {
-   cmake-utils_src_prepare
-   # set paths
-   sed \
-   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex !dedicated)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DENABLE_CURL=$(usex curl)
-   -DENABLE_CURSES=$(usex ncurses)

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-06-27 Thread Michał Górny
commit: f8c5e6f2ffd709c96e25d8bb744c1c43a2bbd370
Author: William Breathitt Gray  gmail  com>
AuthorDate: Thu Jun 27 09:08:18 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 27 15:03:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8c5e6f2

games-action/minetest: Fix missing Irrlicht headers error

Irrlicht headers are required even for a server-only build.

Closes: https://bugs.gentoo.org/688598
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12337
Signed-off-by: Michał Górny  gentoo.org>

 games-action/minetest/minetest-5.0.1-r3.ebuild | 146 +
 1 file changed, 146 insertions(+)

diff --git a/games-action/minetest/minetest-5.0.1-r3.ebuild 
b/games-action/minetest/minetest-5.0.1-r3.ebuild
new file mode 100644
index 000..044a72c0e99
--- /dev/null
+++ b/games-action/minetest/minetest-5.0.1-r3.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils user xdg
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="https://www.minetest.net";
+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 luajit ncurses nls postgres redis +server 
+sound spatial +truetype"
+REQUIRED_USE="|| ( client server )"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-games/irrlicht
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg:=
+   media-libs/libvorbis:=
+   media-libs/openal:=
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   luajit? ( dev-lang/luajit:2 )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use server ; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_prepare() {
+   cmake-utils_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled gmp/jsoncpp
+   rm -rf lib/{gmp,jsoncpp} || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=$(usex luajit)
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+   -DENABLE_SOUND=$(usex sound)
+   -DENABLE_SYSTEM_JSONCPP=1
+   -DRUN_IN_PLACE=0
+   )
+
+   use server && mycmakeargs+=(
+   -DIRRLICHT_INCLUDE_DIR="${EPREFIX}/usr/include/irrlicht"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   if use doc ; then
+   cmake-utils_src_compile doc
+   HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use server ; then
+   newinitd "${FILESDIR}"/minetestserver.initd minetest-server
+   newconfd "${T}"/minetestserver.confd minetest-server
+   fi
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+
+   if use client ; then
+   elog
+   elog "optional dependencies:"
+   elog "  games-action/minetest_game (official mod)"

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-06-27 Thread Michał Górny
commit: 76d2e351fd8e1f3fa5ceed6e24c808007852a366
Author: William Breathitt Gray  gmail  com>
AuthorDate: Thu Jun 27 08:56:20 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 27 15:03:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d2e351

games-action/minetest: Drop old

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: William Breathitt Gray  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 games-action/minetest/Manifest  |   2 -
 games-action/minetest/minetest-0.4.16-r1.ebuild | 134 -
 games-action/minetest/minetest-0.4.17-r1.ebuild | 136 --
 games-action/minetest/minetest-5.0.1-r1.ebuild  | 148 
 4 files changed, 420 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 5c9157dbe70..7249d821afb 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,4 +1,2 @@
-DIST minetest-0.4.16.tar.gz 7753044 BLAKE2B 
a35a0bcab00393fc72e5d932a86ebacdd1b3aa5a850e36f7b788599086c65f549341fa05fcbc0c6a09540df79d840611ec352d79e673ba63575a9f51fd5e22af
 SHA512 
c124a997d9eb242885551e5c68948158cbd172ccd44fb1feb4d7aea487f876a2421bc990528dbfb6baf2033bfd4759d17138ed95b077e0ba80785a6e7ff521a2
 DIST minetest-0.4.17.1.tar.gz 7758675 BLAKE2B 
93f5f1ce32b98bb78a6ae5bc2ab9110902e118480b37b8c9cf87f1c6aa986f379e1191e82d4a764fb2aa0a0747c113e80cd014e6a06e0a485a59e516c4644fc6
 SHA512 
9f84ae45ebe181cb1cd2dff6b71b558eb276472efdfcd73bd02a111b2761793d49681bdfbbeaccc28f4a2f49e15b80d04b78db2f2f728c852c188b0c96aae618
-DIST minetest-0.4.17.tar.gz 7757149 BLAKE2B 
9ee908990224da800e7f0f4fc5e28d5bde03f4486d43ad58225d8ec056f8209fde94597798c977e1d3f3f8cbeadeb0bcdae6eb2aac2b8572fcbcfa28bbd62eba
 SHA512 
3015f5a03be37c5395b55b6dc9f883f9270b19f709a47250f36bc7b1ce6d04a0e89e4366d86da33bbebbfb64f04ff008aec66c96930d7314991a21160265bafe
 DIST minetest-5.0.1.tar.gz 8761122 BLAKE2B 
888e29b956d66543dd506b8e7eadd2e9d37324aebd4f84989745090fe927e97355c2baa7d615f5e0f8e2a074724b89bdf5f807c297cce1bc8483e500b0248e22
 SHA512 
00f0c77c19eb9619387285e5dad690c8aa9969ff11c4de0bdae99ee6e9a4508a8c2f977837fc2e01aebc5d4c1a5191d4f56acb131182d73c8f50da1458695607

diff --git a/games-action/minetest/minetest-0.4.16-r1.ebuild 
b/games-action/minetest/minetest-0.4.16-r1.ebuild
deleted file mode 100644
index 8291b16dba1..000
--- a/games-action/minetest/minetest-0.4.16-r1.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit cmake-utils eutils gnome2-utils user vcs-snapshot
-
-DESCRIPTION="An InfiniMiner/Minecraft inspired game"
-HOMEPAGE="https://www.minetest.net";
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+curl dedicated doc +leveldb luajit ncurses nls postgres redis +server 
+sound spatial +truetype"
-
-RDEPEND="dev-db/sqlite:3
-   sys-libs/zlib
-   curl? ( net-misc/curl )
-   !dedicated? (
-   app-arch/bzip2
-   >=dev-games/irrlicht-1.8-r2
-   dev-libs/gmp:0=
-   media-libs/libpng:0=
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg:=
-   media-libs/libvorbis:=
-   media-libs/openal:=
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   leveldb? ( dev-libs/leveldb )
-   luajit? ( dev-lang/luajit:2 )
-   ncurses? ( sys-libs/ncurses:0= )
-   nls? ( virtual/libintl )
-   postgres? ( >=dev-db/postgresql-9.5:= )
-   redis? ( dev-libs/hiredis )
-   spatial? ( sci-libs/libspatialindex )"
-DEPEND="${RDEPEND}
-   >=dev-games/irrlicht-1.8-r2
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-   nls? ( sys-devel/gettext )"
-
-pkg_setup() {
-   if use server || use dedicated ; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_prepare() {
-   cmake-utils_src_prepare
-   # set paths
-   sed \
-   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_CLIENT=$(usex !dedicated)
-   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
-   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
-   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-06-27 Thread Michał Górny
commit: c50e7c86608fdfbd58573497ca7d07194767fb00
Author: William Breathitt Gray  gmail  com>
AuthorDate: Thu Jun 27 08:55:00 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 27 15:03:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50e7c86

games-action/minetest: Add Gentoo Games Project to metadata

Drop use flag 'postgres' from the metadata since the global use flag
description is available and fitting enough.

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: William Breathitt Gray  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 games-action/minetest/metadata.xml | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index f23df1a68b7..be715192bea 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -37,14 +37,15 @@
proxy-ma...@gentoo.org
Proxy Maintainers

+   
+   ga...@gentoo.org
+   Gentoo Games Project
+   

Build Minetest client
Enable using a system-wide JSONCPP
Enable LevelDB backend
-   Optionally use PostgreSQL as map 
backend
-   Enable redis backend via
-   dev-libs/hiredis
-   
+   Enable redis backend via 
dev-libs/hiredis
Build Minetest server
Enable SpatialIndex AreaStore backend




[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-06-09 Thread Michał Górny
commit: 183aba3cb1d1fc36f52703391732eedde0d52477
Author: William Breathitt Gray  gmail  com>
AuthorDate: Fri May 31 12:36:09 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun  9 20:17:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183aba3c

games-action/minetest: Fix ignored server flag

The 'dedicated' flag is removed and the 'client' flag is introduced.

Closes: https://bugs.gentoo.org/687048
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12140
Signed-off-by: Michał Górny  gentoo.org>

 games-action/minetest/metadata.xml |   3 +-
 games-action/minetest/minetest-5.0.1-r2.ebuild | 150 +
 2 files changed, 152 insertions(+), 1 deletion(-)

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index c302c3ff8ee..f23df1a68b7 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -38,15 +38,16 @@
Proxy Maintainers


+   Build Minetest client
Enable using a system-wide JSONCPP
Enable LevelDB backend
Optionally use PostgreSQL as map 
backend
Enable redis backend via
dev-libs/hiredis

+   Build Minetest server
Enable SpatialIndex AreaStore backend

-   Build minetest server


https://github.com/minetest/minetest/issues

diff --git a/games-action/minetest/minetest-5.0.1-r2.ebuild 
b/games-action/minetest/minetest-5.0.1-r2.ebuild
new file mode 100644
index 000..072c5eda672
--- /dev/null
+++ b/games-action/minetest/minetest-5.0.1-r2.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils user xdg
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="https://www.minetest.net";
+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 luajit ncurses nls postgres redis +server 
+sound spatial +truetype"
+REQUIRED_USE="|| ( client server )"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
+   sys-libs/zlib
+   client? (
+   app-arch/bzip2
+   dev-games/irrlicht
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg:=
+   media-libs/libvorbis:=
+   media-libs/openal:=
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   curl? ( net-misc/curl )
+   leveldb? ( dev-libs/leveldb:= )
+   luajit? ( dev-lang/luajit:2 )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use server ; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_prepare() {
+   cmake-utils_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled gmp/jsoncpp
+   rm -rf lib/{gmp,jsoncpp} || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex client)
+   -DBUILD_SERVER=$(usex server)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=$(usex luajit)
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+   -DENABLE_SOUND=$(usex sound)
+   -DENAB

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-04-10 Thread David Seifert
commit: d26b3a32bc218398894096c050375d9fb457f23a
Author: David Seifert  gentoo  org>
AuthorDate: Wed Apr 10 22:18:53 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Apr 10 22:19:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d26b3a32

games-action/minetest: Remove misleading USE=jsoncpp flag

* dev-libs/jsoncpp is required unconditionally,
  USE=jsoncpp would just toggle between the bundled
  and system one, which is obviously wrong.

Closes: https://bugs.gentoo.org/682996
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert  gentoo.org>

 .../minetest/{minetest-5.0.1.ebuild => minetest-5.0.1-r1.ebuild} | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/games-action/minetest/minetest-5.0.1.ebuild 
b/games-action/minetest/minetest-5.0.1-r1.ebuild
similarity index 93%
rename from games-action/minetest/minetest-5.0.1.ebuild
rename to games-action/minetest/minetest-5.0.1-r1.ebuild
index 32f400f2692..8147fcf53ad 100644
--- a/games-action/minetest/minetest-5.0.1.ebuild
+++ b/games-action/minetest/minetest-5.0.1-r1.ebuild
@@ -12,11 +12,12 @@ 
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="+curl dedicated doc jsoncpp +leveldb luajit ncurses nls postgres redis 
+server +sound spatial +truetype"
+IUSE="+curl dedicated doc +leveldb luajit ncurses nls postgres redis +server 
+sound spatial +truetype"
 
 RDEPEND="
dev-db/sqlite:3
dev-libs/gmp:0=
+   dev-libs/jsoncpp:=
sys-libs/zlib
curl? ( net-misc/curl )
!dedicated? (
@@ -34,7 +35,6 @@ RDEPEND="
)
truetype? ( media-libs/freetype:2 )
)
-   jsoncpp? ( dev-libs/jsoncpp )
leveldb? ( dev-libs/leveldb:= )
luajit? ( dev-lang/luajit:2 )
ncurses? ( sys-libs/ncurses:0= )
@@ -64,6 +64,9 @@ src_prepare() {
-e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-e "s#@GROUP@#${PN}#g" \
"${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+
+   # remove bundled gmp/jsoncpp
+   rm -rf lib/{gmp,jsoncpp} || die
 }
 
 src_configure() {
@@ -85,7 +88,7 @@ src_configure() {
-DENABLE_REDIS=$(usex redis)
-DENABLE_SPATIAL=$(usex spatial)
-DENABLE_SOUND=$(usex sound)
-   -DENABLE_SYSTEM_JSONCPP=$(usex jsoncpp)
+   -DENABLE_SYSTEM_JSONCPP=1
-DRUN_IN_PLACE=0
)
 



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-04-09 Thread David Seifert
commit: b2ca4dfa12d11ab271c1db88f7739bec77ff1f57
Author: David Seifert  gentoo  org>
AuthorDate: Tue Apr  9 23:56:34 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Apr  9 23:57:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ca4dfa

games-action/minetest: Fix USE="doc"

Closes: https://bugs.gentoo.org/682988
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert  gentoo.org>

 games-action/minetest/minetest-5.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-action/minetest/minetest-5.0.1.ebuild 
b/games-action/minetest/minetest-5.0.1.ebuild
index 61809625372..32f400f2692 100644
--- a/games-action/minetest/minetest-5.0.1.ebuild
+++ b/games-action/minetest/minetest-5.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -101,7 +101,7 @@ src_compile() {
 
if use doc ; then
cmake-utils_src_compile doc
-   HTML_DOCS=( "${CMAKE_BUILD_DIR}"/doc/html/. )
+   HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2019-04-09 Thread Patrice Clement
commit: 8f65ceefc10565c1613551b9f1f9b55a65109896
Author: William Breathitt Gray  gmail  com>
AuthorDate: Fri Mar  8 10:26:45 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Apr  9 07:33:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f65ceef

games-action/minetest: version bump to 5.0.1.

A pkg_postinst message is added to notify users the 5.x series is not
compatible to the 0.4 series. The ebuild is updated to EAPI 7 and the
gnome2_utils eclass is replaced with the xdg eclass.

Closes: https://bugs.gentoo.org/679730
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11568
Signed-off-by: Patrice Clement  gentoo.org>

 games-action/minetest/Manifest  |   1 +
 games-action/minetest/minetest-5.0.1.ebuild | 145 
 2 files changed, 146 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 0f90bfd0f67..5c9157dbe70 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,3 +1,4 @@
 DIST minetest-0.4.16.tar.gz 7753044 BLAKE2B 
a35a0bcab00393fc72e5d932a86ebacdd1b3aa5a850e36f7b788599086c65f549341fa05fcbc0c6a09540df79d840611ec352d79e673ba63575a9f51fd5e22af
 SHA512 
c124a997d9eb242885551e5c68948158cbd172ccd44fb1feb4d7aea487f876a2421bc990528dbfb6baf2033bfd4759d17138ed95b077e0ba80785a6e7ff521a2
 DIST minetest-0.4.17.1.tar.gz 7758675 BLAKE2B 
93f5f1ce32b98bb78a6ae5bc2ab9110902e118480b37b8c9cf87f1c6aa986f379e1191e82d4a764fb2aa0a0747c113e80cd014e6a06e0a485a59e516c4644fc6
 SHA512 
9f84ae45ebe181cb1cd2dff6b71b558eb276472efdfcd73bd02a111b2761793d49681bdfbbeaccc28f4a2f49e15b80d04b78db2f2f728c852c188b0c96aae618
 DIST minetest-0.4.17.tar.gz 7757149 BLAKE2B 
9ee908990224da800e7f0f4fc5e28d5bde03f4486d43ad58225d8ec056f8209fde94597798c977e1d3f3f8cbeadeb0bcdae6eb2aac2b8572fcbcfa28bbd62eba
 SHA512 
3015f5a03be37c5395b55b6dc9f883f9270b19f709a47250f36bc7b1ce6d04a0e89e4366d86da33bbebbfb64f04ff008aec66c96930d7314991a21160265bafe
+DIST minetest-5.0.1.tar.gz 8761122 BLAKE2B 
888e29b956d66543dd506b8e7eadd2e9d37324aebd4f84989745090fe927e97355c2baa7d615f5e0f8e2a074724b89bdf5f807c297cce1bc8483e500b0248e22
 SHA512 
00f0c77c19eb9619387285e5dad690c8aa9969ff11c4de0bdae99ee6e9a4508a8c2f977837fc2e01aebc5d4c1a5191d4f56acb131182d73c8f50da1458695607

diff --git a/games-action/minetest/minetest-5.0.1.ebuild 
b/games-action/minetest/minetest-5.0.1.ebuild
new file mode 100644
index 000..61809625372
--- /dev/null
+++ b/games-action/minetest/minetest-5.0.1.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils user xdg
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="https://www.minetest.net";
+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="+curl dedicated doc jsoncpp +leveldb luajit ncurses nls postgres redis 
+server +sound spatial +truetype"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-libs/gmp:0=
+   sys-libs/zlib
+   curl? ( net-misc/curl )
+   !dedicated? (
+   app-arch/bzip2
+   dev-games/irrlicht
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg:=
+   media-libs/libvorbis:=
+   media-libs/openal:=
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   jsoncpp? ( dev-libs/jsoncpp )
+   leveldb? ( dev-libs/leveldb:= )
+   luajit? ( dev-lang/luajit:2 )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use server || use dedicated ; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_prepare() {
+   cmake-utils_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex !dedicated)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/sh

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2018-06-20 Thread Georgy Yakovlev
commit: 65bd0d70318c0423a5d32a6e7bb812e746de905c
Author: William Breathitt Gray  gmail  com>
AuthorDate: Wed Jun 20 18:02:32 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Jun 21 06:37:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65bd0d70

games-action/minetest: version bump to 0.4.17.1

Closes: https://bugs.gentoo.org/658570
Closes: https://github.com/gentoo/gentoo/pull/8921

 games-action/minetest/Manifest |   1 +
 games-action/minetest/minetest-0.4.17.1.ebuild | 136 +
 2 files changed, 137 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index bff2d6fc0a4..7117649449e 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1,3 @@
 DIST minetest-0.4.16.tar.gz 7753044 BLAKE2B 
a35a0bcab00393fc72e5d932a86ebacdd1b3aa5a850e36f7b788599086c65f549341fa05fcbc0c6a09540df79d840611ec352d79e673ba63575a9f51fd5e22af
 SHA512 
c124a997d9eb242885551e5c68948158cbd172ccd44fb1feb4d7aea487f876a2421bc990528dbfb6baf2033bfd4759d17138ed95b077e0ba80785a6e7ff521a2
 DIST minetest-0.4.17.tar.gz 7757149 BLAKE2B 
9ee908990224da800e7f0f4fc5e28d5bde03f4486d43ad58225d8ec056f8209fde94597798c977e1d3f3f8cbeadeb0bcdae6eb2aac2b8572fcbcfa28bbd62eba
 SHA512 
3015f5a03be37c5395b55b6dc9f883f9270b19f709a47250f36bc7b1ce6d04a0e89e4366d86da33bbebbfb64f04ff008aec66c96930d7314991a21160265bafe
+DIST minetest-0.4.17.1.tar.gz 7758675 BLAKE2B 
93f5f1ce32b98bb78a6ae5bc2ab9110902e118480b37b8c9cf87f1c6aa986f379e1191e82d4a764fb2aa0a0747c113e80cd014e6a06e0a485a59e516c4644fc6
 SHA512 
9f84ae45ebe181cb1cd2dff6b71b558eb276472efdfcd73bd02a111b2761793d49681bdfbbeaccc28f4a2f49e15b80d04b78db2f2f728c852c188b0c96aae618

diff --git a/games-action/minetest/minetest-0.4.17.1.ebuild 
b/games-action/minetest/minetest-0.4.17.1.ebuild
new file mode 100644
index 000..b71ccc4d197
--- /dev/null
+++ b/games-action/minetest/minetest-0.4.17.1.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils gnome2-utils user
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="https://www.minetest.net";
+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="+curl dedicated doc jsoncpp +leveldb luajit ncurses nls postgres redis 
+server +sound spatial +truetype"
+
+RDEPEND="dev-db/sqlite:3
+   sys-libs/zlib
+   curl? ( net-misc/curl )
+   !dedicated? (
+   app-arch/bzip2
+   >=dev-games/irrlicht-1.8-r2
+   dev-libs/gmp:0=
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg:=
+   media-libs/libvorbis:=
+   media-libs/openal:=
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   jsoncpp? ( dev-libs/jsoncpp )
+   leveldb? ( dev-libs/leveldb:= )
+   luajit? ( dev-lang/luajit:2 )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}
+   >=dev-games/irrlicht-1.8-r2
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use server || use dedicated ; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_prepare() {
+   cmake-utils_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex !dedicated)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_LUAJIT=$(usex luajit)
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2018-06-17 Thread David Seifert
commit: ec4dda903b927b75bb6dc0de495ddf46683bd642
Author: Louis Sautier  gmail  com>
AuthorDate: Fri Jun 15 23:42:53 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 17 20:33:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4dda90

games-action/minetest: add slot operator to dev-libs/leveldb

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../minetest/{minetest-0.4.17.ebuild => minetest-0.4.17-r1.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-action/minetest/minetest-0.4.17.ebuild 
b/games-action/minetest/minetest-0.4.17-r1.ebuild
similarity index 98%
rename from games-action/minetest/minetest-0.4.17.ebuild
rename to games-action/minetest/minetest-0.4.17-r1.ebuild
index 4bc4a915ac5..b71ccc4d197 100644
--- a/games-action/minetest/minetest-0.4.17.ebuild
+++ b/games-action/minetest/minetest-0.4.17-r1.ebuild
@@ -33,7 +33,7 @@ RDEPEND="dev-db/sqlite:3
truetype? ( media-libs/freetype:2 )
)
jsoncpp? ( dev-libs/jsoncpp )
-   leveldb? ( dev-libs/leveldb )
+   leveldb? ( dev-libs/leveldb:= )
luajit? ( dev-lang/luajit:2 )
ncurses? ( sys-libs/ncurses:0= )
nls? ( virtual/libintl )



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2018-06-09 Thread Aaron Bauman
commit: 0e79d0b065981e86bc7b4255834bfbe73682d75b
Author: William Breathitt Gray  gmail  com>
AuthorDate: Sat Jun  9 15:52:32 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  9 18:19:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e79d0b0

games-action/minetest: update maintainership info

Closes: https://bugs.gentoo.org/657658
Closes: https://github.com/gentoo/gentoo/pull/8767

 games-action/minetest/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index 09d955a72f5..c302c3ff8ee 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -1,7 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   

Minetest is an infinite-world block sandbox game and a game
engine, inspired by InfiniMiner, Minecraft and the like. It has
@@ -30,6 +29,14 @@
* Runs natively on Windows, Linux, OS X and FreeBSD.
* Supports multiple languages, translated by the community.

+   
+   vilhelm.g...@gmail.com
+   William Breathitt Gray
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

Enable using a system-wide JSONCPP
Enable LevelDB backend



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2018-06-09 Thread Aaron Bauman
commit: 6a04ab9c3b375fe7c9852ba7db6022f353ceb5ec
Author: William Breathitt Gray  gmail  com>
AuthorDate: Thu Jun  7 20:39:32 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  9 14:15:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a04ab9c

games-action/minetest: version bump to 0.4.17

This version adds support for the jsoncpp USE flag.

Closes: https://bugs.gentoo.org/657532
Closes: https://github.com/gentoo/gentoo/pull/8749

 games-action/minetest/Manifest   |   1 +
 games-action/minetest/metadata.xml   |   1 +
 games-action/minetest/minetest-0.4.17.ebuild | 136 +++
 3 files changed, 138 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index c8945716baf..bff2d6fc0a4 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-0.4.16.tar.gz 7753044 BLAKE2B 
a35a0bcab00393fc72e5d932a86ebacdd1b3aa5a850e36f7b788599086c65f549341fa05fcbc0c6a09540df79d840611ec352d79e673ba63575a9f51fd5e22af
 SHA512 
c124a997d9eb242885551e5c68948158cbd172ccd44fb1feb4d7aea487f876a2421bc990528dbfb6baf2033bfd4759d17138ed95b077e0ba80785a6e7ff521a2
+DIST minetest-0.4.17.tar.gz 7757149 BLAKE2B 
9ee908990224da800e7f0f4fc5e28d5bde03f4486d43ad58225d8ec056f8209fde94597798c977e1d3f3f8cbeadeb0bcdae6eb2aac2b8572fcbcfa28bbd62eba
 SHA512 
3015f5a03be37c5395b55b6dc9f883f9270b19f709a47250f36bc7b1ce6d04a0e89e4366d86da33bbebbfb64f04ff008aec66c96930d7314991a21160265bafe

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index a392aaeb34c..09d955a72f5 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -31,6 +31,7 @@
* Supports multiple languages, translated by the community.


+   Enable using a system-wide JSONCPP
Enable LevelDB backend
Optionally use PostgreSQL as map 
backend
Enable redis backend via

diff --git a/games-action/minetest/minetest-0.4.17.ebuild 
b/games-action/minetest/minetest-0.4.17.ebuild
new file mode 100644
index 000..4bc4a915ac5
--- /dev/null
+++ b/games-action/minetest/minetest-0.4.17.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils gnome2-utils user
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="https://www.minetest.net";
+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="+curl dedicated doc jsoncpp +leveldb luajit ncurses nls postgres redis 
+server +sound spatial +truetype"
+
+RDEPEND="dev-db/sqlite:3
+   sys-libs/zlib
+   curl? ( net-misc/curl )
+   !dedicated? (
+   app-arch/bzip2
+   >=dev-games/irrlicht-1.8-r2
+   dev-libs/gmp:0=
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg:=
+   media-libs/libvorbis:=
+   media-libs/openal:=
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   jsoncpp? ( dev-libs/jsoncpp )
+   leveldb? ( dev-libs/leveldb )
+   luajit? ( dev-lang/luajit:2 )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}
+   >=dev-games/irrlicht-1.8-r2
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use server || use dedicated ; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_prepare() {
+   cmake-utils_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex !dedicated)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nl

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2018-05-20 Thread Aaron Bauman
commit: 503417c7c8dcc6a69aaa235052965aba2c4fde04
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun May 20 11:56:43 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun May 20 23:24:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=503417c7

games-action/minetest: use HTTPS

 games-action/minetest/minetest-0.4.16-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-action/minetest/minetest-0.4.16-r1.ebuild 
b/games-action/minetest/minetest-0.4.16-r1.ebuild
index 9e0ab06fdaa..8291b16dba1 100644
--- a/games-action/minetest/minetest-0.4.16-r1.ebuild
+++ b/games-action/minetest/minetest-0.4.16-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 inherit cmake-utils eutils gnome2-utils user vcs-snapshot
 
 DESCRIPTION="An InfiniMiner/Minecraft inspired game"
-HOMEPAGE="http://minetest.net/";
+HOMEPAGE="https://www.minetest.net";
 SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
 
 LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2017-11-12 Thread Aaron Swenson
commit: 9a14533e0a70318885b30dd89e877af4b87a3335
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Nov 12 17:23:57 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun Nov 12 17:26:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a14533e

games-action/minetest: Add PgSQL dependency

Add USE flag to control dependency on PostgreSQL.

Bug: https://bugs.gentoo.org/637134

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 games-action/minetest/metadata.xml  |   1 +
 games-action/minetest/minetest-0.4.16-r1.ebuild | 134 
 2 files changed, 135 insertions(+)

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index 4eeaf53fc44..8f6cd18b445 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -36,6 +36,7 @@
Use dev-lang/luajit
instead of dev-lang/lua

+   Optionally use PostgreSQL as map 
backend
Enable redis backend via
dev-libs/hiredis


diff --git a/games-action/minetest/minetest-0.4.16-r1.ebuild 
b/games-action/minetest/minetest-0.4.16-r1.ebuild
new file mode 100644
index 000..9e0ab06fdaa
--- /dev/null
+++ b/games-action/minetest/minetest-0.4.16-r1.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils eutils gnome2-utils user vcs-snapshot
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="http://minetest.net/";
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+curl dedicated doc +leveldb luajit ncurses nls postgres redis +server 
+sound spatial +truetype"
+
+RDEPEND="dev-db/sqlite:3
+   sys-libs/zlib
+   curl? ( net-misc/curl )
+   !dedicated? (
+   app-arch/bzip2
+   >=dev-games/irrlicht-1.8-r2
+   dev-libs/gmp:0=
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg:=
+   media-libs/libvorbis:=
+   media-libs/openal:=
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   leveldb? ( dev-libs/leveldb )
+   luajit? ( dev-lang/luajit:2 )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   postgres? ( >=dev-db/postgresql-9.5:= )
+   redis? ( dev-libs/hiredis )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}
+   >=dev-games/irrlicht-1.8-r2
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use server || use dedicated ; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_prepare() {
+   cmake-utils_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex !dedicated)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_POSTGRESQL=$(usex postgres)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+   -DENABLE_SOUND=$(usex sound)
+   -DENABLE_LUAJIT=$(usex luajit)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DRUN_IN_PLACE=0
+   )
+
+   use dedicated && mycmakeargs+=(
+   -DIRRLICHT_INCLUDE_DIR="${EPREFIX}/usr/include/irrlicht"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   if use doc ; then
+   cmake-utils_src_compile doc
+   HTML_DOCS=( "${CMAKE_BUILD_DIR}"/doc/html/. )
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use server || use dedicated ; then
+   newinitd "${FILESDIR}"/minetestserver.initd minetest-server
+   newconfd "${T}"/minet

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2017-09-02 Thread Michał Górny
commit: fa9d18d37b431e573aebfcbab28c649047de84b3
Author: Anth0rx  keemail  me>
AuthorDate: Mon Aug 21 16:54:13 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep  2 08:16:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa9d18d3

games-action/minetest: version bump to 0.4.16

 games-action/minetest/Manifest   |   1 +
 games-action/minetest/minetest-0.4.16.ebuild | 132 +++
 2 files changed, 133 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 0e9775c9386..478e87b5c17 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-0.4.14.tar.gz 8638852 SHA256 
a2a60db3f22d101f78c582f185242e1d913b86a98a7b583cb2261ab715676910 SHA512 
a04c03118ac82c78aca6c79cd618efc3ceea7c3f7c7fbcb3fcb1f87a41368a3a41ccdcb350687e745aeedd83af36ff000c30b3d468a5a8e58b68815527df0307
 WHIRLPOOL 
88b67d2d15c23dbd30650907260f3ac95b69a062a915811d52383da31ec5b7fd80d94b443c287344cd6f1ab71ab09a7127d570023a70afaa1c7217f3aa030c12
+DIST minetest-0.4.16.tar.gz 7753044 SHA256 
e3550ed945d380fa72a951af008d49df538d5c6baa7726eca5109a79374156bb SHA512 
c124a997d9eb242885551e5c68948158cbd172ccd44fb1feb4d7aea487f876a2421bc990528dbfb6baf2033bfd4759d17138ed95b077e0ba80785a6e7ff521a2
 WHIRLPOOL 
9fbf2d0b569f912207eedebca5951ceb1d279c44c9b7eda9cfc682f2c80be9968b3c14f53fffe76df4e2450a48fd55b4572a2e847d165d6960fd368d6e03e553

diff --git a/games-action/minetest/minetest-0.4.16.ebuild 
b/games-action/minetest/minetest-0.4.16.ebuild
new file mode 100644
index 000..10b64cdc745
--- /dev/null
+++ b/games-action/minetest/minetest-0.4.16.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils eutils gnome2-utils user vcs-snapshot
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="http://minetest.net/";
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+curl dedicated doc +leveldb luajit ncurses nls redis +server +sound 
spatial +truetype"
+
+RDEPEND="dev-db/sqlite:3
+   sys-libs/zlib
+   curl? ( net-misc/curl )
+   !dedicated? (
+   app-arch/bzip2
+   >=dev-games/irrlicht-1.8-r2
+   dev-libs/gmp:0=
+   media-libs/libpng:0=
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg:=
+   media-libs/libvorbis:=
+   media-libs/openal:=
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   leveldb? ( dev-libs/leveldb )
+   luajit? ( dev-lang/luajit:2 )
+   ncurses? ( sys-libs/ncurses:0= )
+   nls? ( virtual/libintl )
+   redis? ( dev-libs/hiredis )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}
+   >=dev-games/irrlicht-1.8-r2
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use server || use dedicated ; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_prepare() {
+   cmake-utils_src_prepare
+   # set paths
+   sed \
+   -e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex !dedicated)
+   -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
+   -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+   -DENABLE_SOUND=$(usex sound)
+   -DENABLE_LUAJIT=$(usex luajit)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DRUN_IN_PLACE=0
+   )
+
+   use dedicated && mycmakeargs+=(
+   -DIRRLICHT_INCLUDE_DIR="${EPREFIX}/usr/include/irrlicht"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   if use doc ; then
+   cmake-utils_src_compile doc
+   HTML_DOCS=( "${CMAKE_BUILD_DIR}"/doc/html/. )
+ 

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2017-08-26 Thread Michael Palimaka
commit: 14e1a0e93912997dff599eba4b4ae2259b8f257b
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Aug 26 11:23:51 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Aug 26 11:24:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14e1a0e9

games-action/minetest: remove 0.4.13

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 games-action/minetest/Manifest   |   1 -
 games-action/minetest/minetest-0.4.13.ebuild | 135 ---
 2 files changed, 136 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 5a9bc6d2437..0e9775c9386 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1 @@
-DIST minetest-0.4.13.tar.gz 8366306 SHA256 
40bafab13e20e7a550ceaa25ef82dd7b4b8188ee8e8080e1ae9295b82603d5e1 SHA512 
e2228f540d3b982515de85635a84e5f157894b5eb1c654da76e1f69e398c69ff0d4d569a5035146b5c80130e9353e020c86c6acc20813075cfd7c9e5c2df2652
 WHIRLPOOL 
4048db2da06cfb161b794359e4a24573c51553ec98a022295d8de4623c64ac9d235d4cf8ec7a842bdafc91aa147d244ed4aed3991064b5dcb42932fafa42da7b
 DIST minetest-0.4.14.tar.gz 8638852 SHA256 
a2a60db3f22d101f78c582f185242e1d913b86a98a7b583cb2261ab715676910 SHA512 
a04c03118ac82c78aca6c79cd618efc3ceea7c3f7c7fbcb3fcb1f87a41368a3a41ccdcb350687e745aeedd83af36ff000c30b3d468a5a8e58b68815527df0307
 WHIRLPOOL 
88b67d2d15c23dbd30650907260f3ac95b69a062a915811d52383da31ec5b7fd80d94b443c287344cd6f1ab71ab09a7127d570023a70afaa1c7217f3aa030c12

diff --git a/games-action/minetest/minetest-0.4.13.ebuild 
b/games-action/minetest/minetest-0.4.13.ebuild
deleted file mode 100644
index c81e8c33d6f..000
--- a/games-action/minetest/minetest-0.4.13.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils eutils gnome2-utils user vcs-snapshot
-
-DESCRIPTION="An InfiniMiner/Minecraft inspired game"
-HOMEPAGE="http://minetest.net/";
-SRC_URI="https://github.com/minetest/minetest/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+curl dedicated doc leveldb luajit nls redis +server +sound spatial 
+truetype"
-
-RDEPEND="dev-db/sqlite:3
-   sys-libs/zlib
-   curl? ( net-misc/curl )
-   !dedicated? (
-   app-arch/bzip2
-   >=dev-games/irrlicht-1.8-r2
-   dev-libs/gmp:0
-   media-libs/libpng:0
-   virtual/jpeg:0
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXxf86vm
-   sound? (
-   media-libs/libogg
-   media-libs/libvorbis
-   media-libs/openal
-   )
-   truetype? ( media-libs/freetype:2 )
-   )
-   leveldb? ( dev-libs/leveldb )
-   luajit? ( dev-lang/luajit:2 )
-   nls? ( virtual/libintl )
-   redis? ( dev-libs/hiredis )
-   spatial? ( sci-libs/libspatialindex )"
-DEPEND="${RDEPEND}
-   >=dev-games/irrlicht-1.8-r2
-   doc? ( app-doc/doxygen media-gfx/graphviz )
-   nls? ( sys-devel/gettext )"
-
-pkg_setup() {
-   if use server || use dedicated ; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_prepare() {
-   # set paths
-   sed \
-   -e "s#@BINDIR@#/usr/bin#g" \
-   -e "s#@GROUP@#${PN}#g" \
-   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   $(usex dedicated "-DBUILD_SERVER=ON -DBUILD_CLIENT=OFF" 
"$(cmake-utils_use_build server SERVER) -DBUILD_CLIENT=ON")
-   -DCUSTOM_BINDIR="/usr/bin"
-   -DCUSTOM_DOCDIR="/usr/share/doc/${PF}"
-   -DCUSTOM_LOCALEDIR="/usr/share/${PN}/locale"
-   -DCUSTOM_SHAREDIR="/usr/share/${PN}"
-   -DCUSTOM_EXAMPLE_CONF_DIR="/usr/share/doc/${PF}"
-   -DENABLE_CURL=$(usex curl)
-   $(cmake-utils_use_enable truetype FREETYPE)
-   $(cmake-utils_use_enable nls GETTEXT)
-   -DENABLE_GLES=0
-   $(cmake-utils_use_enable leveldb LEVELDB)
-   $(cmake-utils_use_enable redis REDIS)
-   -DENABLE_SPATIAL=$(usex spatial)
-   $(cmake-utils_use_enable sound SOUND)
-   $(cmake-utils_use luajit ENABLE_LUAJIT)
-   -DRUN_IN_PLACE=0
-   )
-
-   use dedicated && mycmakeargs+=(
-   -DIRRLICHT_SOURCE_DIR=/the/irrlicht/source
-   -DIRRLICHT_INCLUDE_DIR=/usr/include/irrlicht
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   if use doc ; then
-   cmake-utils_src_compile doc
-   fi
-}
-
-src_install() {
-   cmake-utils_src_i

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2016-10-22 Thread Patrice Clement
commit: 217273dd302d8ab04b98391de595f7050a525a8d
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Oct 22 20:56:49 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Oct 22 21:33:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=217273dd

games-action/minetest: remove current maintainer.

Gentoo-Bug: https://bugs.gentoo.org/597796

Package-Manager: portage-2.3.0

 games-action/minetest/metadata.xml | 10 +-
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index 68f3b1d..4eeaf53 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -1,15 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
-   
-   maddin081...@gmail.com
-   Martin-Kevin Neumann
-   Proxy maintainer, CC him on bugs
-   
+   

Minetest is an infinite-world block sandbox game and a game
engine, inspired by InfiniMiner, Minecraft and the like. It has



[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2016-05-18 Thread Ian Delaney
commit: 7160e3884c7dc81402e0a373707c89965681cb7d
Author: Martin-Kevin Neumann  gmail  com>
AuthorDate: Tue May 17 15:17:35 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Wed May 18 12:11:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7160e388

games-action/minetest: Bump to version 0.4.14

Closes: https://github.com/gentoo/gentoo/pull/1469

Signed-off-by: Ian Delaney  gentoo.org>

 games-action/minetest/Manifest   |   1 +
 games-action/minetest/minetest-0.4.14.ebuild | 139 +++
 2 files changed, 140 insertions(+)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 0b610c5..eb4977e 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,2 +1,3 @@
 DIST minetest-0.4.10.tar.gz 5291236 SHA256 
05d15c8e2c8e53ee9d3006e79c2b59200311a7b879220d8b6f6a6fd2acf806b6 SHA512 
0d2f2590df530df9bed11a08a3e67dfa39dae1987b8c1f6a4f4f2ace2c40dea3b5afce445e3b2e17b2bd8a426bdd53d717989018f5da531b1eb10965d953c3bf
 WHIRLPOOL 
016c2bc6f9aed44943f238491c445f48013f76a74f9c09e56c1e70e03fa3ded72b042b9dffa0bed81a9dcdc84358a9be88bbf32119dd45a1e2a9873031be1009
 DIST minetest-0.4.13.tar.gz 8366306 SHA256 
40bafab13e20e7a550ceaa25ef82dd7b4b8188ee8e8080e1ae9295b82603d5e1 SHA512 
e2228f540d3b982515de85635a84e5f157894b5eb1c654da76e1f69e398c69ff0d4d569a5035146b5c80130e9353e020c86c6acc20813075cfd7c9e5c2df2652
 WHIRLPOOL 
4048db2da06cfb161b794359e4a24573c51553ec98a022295d8de4623c64ac9d235d4cf8ec7a842bdafc91aa147d244ed4aed3991064b5dcb42932fafa42da7b
+DIST minetest-0.4.14.tar.gz 8638852 SHA256 
a2a60db3f22d101f78c582f185242e1d913b86a98a7b583cb2261ab715676910 SHA512 
a04c03118ac82c78aca6c79cd618efc3ceea7c3f7c7fbcb3fcb1f87a41368a3a41ccdcb350687e745aeedd83af36ff000c30b3d468a5a8e58b68815527df0307
 WHIRLPOOL 
88b67d2d15c23dbd30650907260f3ac95b69a062a915811d52383da31ec5b7fd80d94b443c287344cd6f1ab71ab09a7127d570023a70afaa1c7217f3aa030c12

diff --git a/games-action/minetest/minetest-0.4.14.ebuild 
b/games-action/minetest/minetest-0.4.14.ebuild
new file mode 100644
index 000..d5ecd6e
--- /dev/null
+++ b/games-action/minetest/minetest-0.4.14.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit cmake-utils eutils gnome2-utils user vcs-snapshot
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="http://minetest.net/";
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+curl dedicated doc +leveldb luajit ncurses nls redis +server +sound 
spatial +truetype"
+
+RDEPEND="dev-db/sqlite:3
+   sys-libs/zlib
+   curl? ( net-misc/curl )
+   !dedicated? (
+   app-arch/bzip2
+   >=dev-games/irrlicht-1.8-r2
+   dev-libs/gmp:0
+   media-libs/libpng:0
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   leveldb? ( dev-libs/leveldb )
+   luajit? ( dev-lang/luajit:2 )
+   ncurses? ( sys-libs/ncurses:0 )
+   nls? ( virtual/libintl )
+   redis? ( dev-libs/hiredis )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}
+   >=dev-games/irrlicht-1.8-r2
+   doc? ( app-doc/doxygen media-gfx/graphviz )
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use server || use dedicated ; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_prepare() {
+   eapply_user
+   # set paths
+   sed \
+   -e "s#@BINDIR@#/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_CLIENT=$(usex !dedicated)
+   -DCUSTOM_BINDIR="/usr/bin"
+   -DCUSTOM_DOCDIR="/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="/usr/share/${PN}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="/usr/share/doc/${PF}"
+   -DENABLE_CURL=$(usex curl)
+   -DENABLE_FREETYPE=$(usex truetype)
+   -DENABLE_GETTEXT=$(usex nls)
+   -DENABLE_GLES=0
+   -DENABLE_LEVELDB=$(usex leveldb)
+   -DENABLE_REDIS=$(usex redis)
+   -DENABLE_SPATIAL=$(usex spatial)
+   -DENABLE_SOUND=$(usex sound)
+   -DENABLE_LUAJIT=$(usex luajit)
+   -DENABLE_CURSES=$(usex ncurses)
+   -DRUN_IN_PLAC

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/, games-action/minetest/files/

2016-05-18 Thread Ian Delaney
commit: de8027e60d545e101694b41bbabd68f08c7c4661
Author: Martin-Kevin Neumann  gmail  com>
AuthorDate: Tue May 17 14:40:36 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Wed May 18 12:11:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de8027e6

games-action/minetest: Removal of version 0.4.10

Removes 0.4.10-r1, 0.4.10-r2 and the corresponding patches.
Closes: https://github.com/gentoo/gentoo/pull/1471

Signed-off-by: Ian Delaney  gentoo.org>

 games-action/minetest/Manifest |   1 -
 .../minetest/files/minetest-0.4.10-as-needed.patch |  35 -
 .../files/minetest-0.4.10-shared-irrlicht.patch|  23 
 .../files/minetest-0.4.10-system-lua.patch |  37 -
 games-action/minetest/minetest-0.4.10-r1.ebuild| 150 -
 games-action/minetest/minetest-0.4.10-r2.ebuild| 147 
 6 files changed, 393 deletions(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index eb4977e..5a9bc6d 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,3 +1,2 @@
-DIST minetest-0.4.10.tar.gz 5291236 SHA256 
05d15c8e2c8e53ee9d3006e79c2b59200311a7b879220d8b6f6a6fd2acf806b6 SHA512 
0d2f2590df530df9bed11a08a3e67dfa39dae1987b8c1f6a4f4f2ace2c40dea3b5afce445e3b2e17b2bd8a426bdd53d717989018f5da531b1eb10965d953c3bf
 WHIRLPOOL 
016c2bc6f9aed44943f238491c445f48013f76a74f9c09e56c1e70e03fa3ded72b042b9dffa0bed81a9dcdc84358a9be88bbf32119dd45a1e2a9873031be1009
 DIST minetest-0.4.13.tar.gz 8366306 SHA256 
40bafab13e20e7a550ceaa25ef82dd7b4b8188ee8e8080e1ae9295b82603d5e1 SHA512 
e2228f540d3b982515de85635a84e5f157894b5eb1c654da76e1f69e398c69ff0d4d569a5035146b5c80130e9353e020c86c6acc20813075cfd7c9e5c2df2652
 WHIRLPOOL 
4048db2da06cfb161b794359e4a24573c51553ec98a022295d8de4623c64ac9d235d4cf8ec7a842bdafc91aa147d244ed4aed3991064b5dcb42932fafa42da7b
 DIST minetest-0.4.14.tar.gz 8638852 SHA256 
a2a60db3f22d101f78c582f185242e1d913b86a98a7b583cb2261ab715676910 SHA512 
a04c03118ac82c78aca6c79cd618efc3ceea7c3f7c7fbcb3fcb1f87a41368a3a41ccdcb350687e745aeedd83af36ff000c30b3d468a5a8e58b68815527df0307
 WHIRLPOOL 
88b67d2d15c23dbd30650907260f3ac95b69a062a915811d52383da31ec5b7fd80d94b443c287344cd6f1ab71ab09a7127d570023a70afaa1c7217f3aa030c12

diff --git a/games-action/minetest/files/minetest-0.4.10-as-needed.patch 
b/games-action/minetest/files/minetest-0.4.10-as-needed.patch
deleted file mode 100644
index 83d1ca7..000
--- a/games-action/minetest/files/minetest-0.4.10-as-needed.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-commit a88bfd5b77fa0b5c60e438c0011dbdcee5e14dfd
-Author: hasufell 
-Date:   Mon Nov 25 00:28:55 2013 +0100
-
-CMAKE: fix linking order
-
-this also fixes linking with as-needed wrt
-https://github.com/minetest/minetest/issues/617
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index a1fee7a..a72bd4a 100644
 a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -427,18 +427,18 @@ if(BUILD_CLIENT)
-   set(minetest_LIBS
-   ${PROJECT_NAME}
-   ${ZLIB_LIBRARIES}
--  ${IRRLICHT_LIBRARY}
-+  ${X11_LIBRARIES}
-   ${OPENGL_LIBRARIES}
-+  ${OPENGLES2_LIBRARIES}
-   ${JPEG_LIBRARIES}
-   ${BZIP2_LIBRARIES}
-   ${PNG_LIBRARIES}
--  ${X11_LIBRARIES}
-+  ${IRRLICHT_LIBRARY}
-   ${GETTEXT_LIBRARY}
-   ${SOUND_LIBRARIES}
-   ${SQLITE3_LIBRARY}
-   ${LUA_LIBRARY}
-   ${JSON_LIBRARY}
--  ${OPENGLES2_LIBRARIES}
-   ${PLATFORM_LIBS}
-   ${CLIENT_PLATFORM_LIBS}
-   )

diff --git a/games-action/minetest/files/minetest-0.4.10-shared-irrlicht.patch 
b/games-action/minetest/files/minetest-0.4.10-shared-irrlicht.patch
deleted file mode 100644
index b552c09..000
--- a/games-action/minetest/files/minetest-0.4.10-shared-irrlicht.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-commit 11d35e62fe13b47c5b34139559e650dfe6ebbd84
-Author: hasufell 
-Date:   Sat Jun 8 13:40:30 2013 +0200
-
-CMAKE: use shared lib from Irrlicht
-
-diff --git a/cmake/Modules/FindIrrlicht.cmake 
b/cmake/Modules/FindIrrlicht.cmake
-index bd00422..4632993 100644
 a/cmake/Modules/FindIrrlicht.cmake
-+++ b/cmake/Modules/FindIrrlicht.cmake
-@@ -50,10 +50,11 @@ else()
-   /usr/include/irrlicht
-   )
- 
--  FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.a Irrlicht
-+  FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.so Irrlicht
-   PATHS
-   /usr/local/lib
-   /usr/lib
-+  /usr/lib64
-   )
- endif()
- 

diff --git a/games-action/minetest/files/minetest-0.4.10-system-lua.patch 
b/games-action/minetest/files/minetest-0.4.10-system-lua.patch
deleted file mode 100644
index c31c851..000
--- a/games-action/minetest/files/minetest-0.4.10-system-lua.patch
+++ /dev/null
@@ -1,37 +0,0 @@
 a/src/CM

[gentoo-commits] repo/gentoo:master commit in: games-action/minetest/

2015-09-09 Thread Michał Górny
commit: efc6de2c30bca5986395b14203e52e0c4aaf3bf0
Author: Martin-Kevin Neumann  gmail  com>
AuthorDate: Sat Aug 22 11:01:37 2015 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep  9 16:17:46 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc6de2c

game-action/minetest: Version bump to 0.4.13

 games-action/minetest/Manifest   |   1 +
 games-action/minetest/metadata.xml   |   3 +-
 games-action/minetest/minetest-0.4.13.ebuild | 136 +++
 3 files changed, 139 insertions(+), 1 deletion(-)

diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index e05f300..0b610c5 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1 +1,2 @@
 DIST minetest-0.4.10.tar.gz 5291236 SHA256 
05d15c8e2c8e53ee9d3006e79c2b59200311a7b879220d8b6f6a6fd2acf806b6 SHA512 
0d2f2590df530df9bed11a08a3e67dfa39dae1987b8c1f6a4f4f2ace2c40dea3b5afce445e3b2e17b2bd8a426bdd53d717989018f5da531b1eb10965d953c3bf
 WHIRLPOOL 
016c2bc6f9aed44943f238491c445f48013f76a74f9c09e56c1e70e03fa3ded72b042b9dffa0bed81a9dcdc84358a9be88bbf32119dd45a1e2a9873031be1009
+DIST minetest-0.4.13.tar.gz 8366306 SHA256 
40bafab13e20e7a550ceaa25ef82dd7b4b8188ee8e8080e1ae9295b82603d5e1 SHA512 
e2228f540d3b982515de85635a84e5f157894b5eb1c654da76e1f69e398c69ff0d4d569a5035146b5c80130e9353e020c86c6acc20813075cfd7c9e5c2df2652
 WHIRLPOOL 
4048db2da06cfb161b794359e4a24573c51553ec98a022295d8de4623c64ac9d235d4cf8ec7a842bdafc91aa147d244ed4aed3991064b5dcb42932fafa42da7b

diff --git a/games-action/minetest/metadata.xml 
b/games-action/minetest/metadata.xml
index e8a8611..2d7fb9c 100644
--- a/games-action/minetest/metadata.xml
+++ b/games-action/minetest/metadata.xml
@@ -1,7 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   games
proxy-maintainers

maddin081...@gmail.com
@@ -45,6 +44,8 @@
Enable redis backend via
dev-libs/hiredis

+   Enable SpatialIndex AreaStore backend
+   
Build minetest server



diff --git a/games-action/minetest/minetest-0.4.13.ebuild 
b/games-action/minetest/minetest-0.4.13.ebuild
new file mode 100644
index 000..469a61a
--- /dev/null
+++ b/games-action/minetest/minetest-0.4.13.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils gnome2-utils user vcs-snapshot
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="http://minetest.net/";
+SRC_URI="http://github.com/minetest/minetest/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+curl dedicated doc leveldb luajit nls redis +server +sound spatial 
+truetype"
+
+RDEPEND="dev-db/sqlite:3
+   sys-libs/zlib
+   curl? ( net-misc/curl )
+   !dedicated? (
+   app-arch/bzip2
+   >=dev-games/irrlicht-1.8-r2
+   dev-libs/gmp:0
+   media-libs/libpng:0
+   virtual/jpeg:0
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXxf86vm
+   sound? (
+   media-libs/libogg
+   media-libs/libvorbis
+   media-libs/openal
+   )
+   truetype? ( media-libs/freetype:2 )
+   )
+   leveldb? ( dev-libs/leveldb )
+   luajit? ( dev-lang/luajit:2 )
+   nls? ( virtual/libintl )
+   redis? ( dev-libs/hiredis )
+   spatial? ( sci-libs/libspatialindex )"
+DEPEND="${RDEPEND}
+   >=dev-games/irrlicht-1.8-r2
+   doc? ( app-doc/doxygen media-gfx/graphviz )
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use server || use dedicated ; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_prepare() {
+   # set paths
+   sed \
+   -e "s#@BINDIR@#/usr/bin#g" \
+   -e "s#@GROUP@#${PN}#g" \
+   "${FILESDIR}"/minetestserver.confd > 
"${T}"/minetestserver.confd || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   $(usex dedicated "-DBUILD_SERVER=ON -DBUILD_CLIENT=OFF" 
"$(cmake-utils_use_build server SERVER) -DBUILD_CLIENT=ON")
+   -DCUSTOM_BINDIR="/usr/bin"
+   -DCUSTOM_DOCDIR="/usr/share/doc/${PF}"
+   -DCUSTOM_LOCALEDIR="/usr/share/${PN}/locale"
+   -DCUSTOM_SHAREDIR="/usr/share/${PN}"
+   -DCUSTOM_EXAMPLE_CONF_DIR="/usr/share/doc/${PF}"
+   -DENABLE_CURL=$(usex curl)
+   $(cmake-utils_use_enable truetype FREETYPE)
+   $(cmake-utils_use_enable nls GETTEXT)
+   -DENABLE_GLES=0
+   $(cmake-utils_use_enable leveldb LEVELDB)
+   $(cmake-utils_use_en