commit: 5c540f253b09fd4e65a2038bc39f9f0b635ddcda
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 22:26:00 2025 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 22:33:32 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c540f25
games-engines/minetest: Use the new name for 5.10 ahead of package move
Upstream still uses the old name in many places, so we will follow suit.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-engines/minetest/minetest-5.10.0.ebuild | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/games-engines/minetest/minetest-5.10.0.ebuild
b/games-engines/minetest/minetest-5.10.0.ebuild
index 519146854824..d72d7d950074 100644
--- a/games-engines/minetest/minetest-5.10.0.ebuild
+++ b/games-engines/minetest/minetest-5.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,9 +8,14 @@ LUA_COMPAT=( lua5-1 luajit )
inherit cmake flag-o-matic lua-single systemd xdg
+MY_PN="luanti"
+MY_P="${MY_PN}-${PV}"
+MY_PF="${MY_PN}-${PVR}"
+
DESCRIPTION="A free open-source voxel game engine with easy modding and game
creation"
HOMEPAGE="https://www.luanti.org/"
-SRC_URI="https://github.com/minetest/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/luanti-org/${MY_PN}/archive/${PV}.tar.gz ->
${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
SLOT="0"
@@ -81,11 +86,11 @@ src_configure() {
-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_DOCDIR="${EPREFIX}/usr/share/doc/${MY_PF}"
+ -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${MY_PF}"
+ -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${MY_PN}/locale"
-DCUSTOM_MANDIR="${EPREFIX}/usr/share/man"
- -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
+ -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${MY_PN}"
-DENABLE_CURL=$(usex curl)
-DENABLE_CURSES=$(usex ncurses)
-DENABLE_GETTEXT=$(usex nls)