From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/minetest/
Date: Wed, 25 May 2022 22:43:53 +0000 (UTC) [thread overview]
Message-ID: <1653518628.b28a2404093be911c66d22f24fe75874da508e04.marecki@gentoo> (raw)
commit: b28a2404093be911c66d22f24fe75874da508e04
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 22:36:47 2022 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed May 25 22:43:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28a2404
games-action/minetest: add 5.5.1
Signed-off-by: Marek Szuba <marecki <AT> 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 000000000000..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_target_luajit)
+ -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 /etc/minetest
+ fowners root:minetest /etc/minetest
+ fperms 2750 /etc/minetest
+
+ keepdir /var/log/minetest
+ fowners minetest:minetest /var/log/minetest
+
+ newconfd "${FILESDIR}"/minetestserver.confd minetest-server
+ newinitd "${FILESDIR}"/minetestserver.initd minetest-server
+
+ systemd_newunit "${FILESDIR}"/minetestserver_default.service minetest-server.service
+ systemd_newunit "${FILESDIR}"/minetestserver_template.service minetest-server@.service
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/minetestserver.logrotate minetest-server
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
next reply other threads:[~2022-05-25 22:43 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-25 22:43 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-14 15:34 [gentoo-commits] repo/gentoo:master commit in: games-action/minetest/ Marek Szuba
2023-04-10 13:20 Marek Szuba
2023-04-10 10:27 Marek Szuba
2022-09-26 1:01 Marek Szuba
2022-09-21 18:33 Marek Szuba
2022-08-16 18:06 Marek Szuba
2022-08-09 11:38 Marek Szuba
2022-08-09 11:38 Marek Szuba
2022-03-10 8:53 Marek Szuba
2022-02-10 12:19 Marek Szuba
2021-08-13 15:55 Marek Szuba
2021-08-13 15:26 Marek Szuba
2021-05-25 9:38 Marek Szuba
2021-05-13 15:13 Marek Szuba
2021-05-13 15:13 Marek Szuba
2021-05-12 8:54 Marek Szuba
2021-05-12 7:36 Joonas Niilola
2021-04-14 16:12 Sam James
2021-04-10 6:31 Sam James
2021-02-24 20:47 James Le Cuirot
2021-02-24 20:47 James Le Cuirot
2020-11-12 8:18 Joonas Niilola
2020-09-06 5:55 Joonas Niilola
2020-07-11 13:44 James Le Cuirot
2020-07-11 13:44 James Le Cuirot
2020-04-07 22:51 James Le Cuirot
2020-04-07 22:51 James Le Cuirot
2020-02-22 22:10 James Le Cuirot
2019-11-17 21:38 James Le Cuirot
2019-11-12 21:35 James Le Cuirot
2019-11-12 21:35 James Le Cuirot
2019-09-19 22:06 James Le Cuirot
2019-09-19 22:06 James Le Cuirot
2019-06-27 15:05 Michał Górny
2019-06-27 15:05 Michał Górny
2019-06-27 15:05 Michał Górny
2019-06-09 20:17 Michał Górny
2019-04-10 22:20 David Seifert
2019-04-09 23:57 David Seifert
2019-04-09 8:07 Patrice Clement
2018-06-21 6:37 Georgy Yakovlev
2018-06-17 20:34 David Seifert
2018-06-09 18:19 Aaron Bauman
2018-06-09 14:15 Aaron Bauman
2018-05-20 23:26 Aaron Bauman
2017-11-12 17:26 Aaron Swenson
2017-09-02 8:16 Michał Górny
2017-08-26 11:24 Michael Palimaka
2016-10-22 21:33 Patrice Clement
2016-05-18 12:11 Ian Delaney
2015-09-09 16:26 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1653518628.b28a2404093be911c66d22f24fe75874da508e04.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox