diff options
Diffstat (limited to 'games-action/minetest')
-rw-r--r-- | games-action/minetest/Manifest | 2 | ||||
-rw-r--r-- | games-action/minetest/minetest-5.4.1-r1.ebuild | 143 | ||||
-rw-r--r-- | games-action/minetest/minetest-5.5.0.ebuild | 143 |
3 files changed, 0 insertions, 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..000000000000 --- 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/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 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 -} diff --git a/games-action/minetest/minetest-5.5.0.ebuild b/games-action/minetest/minetest-5.5.0.ebuild deleted file mode 100644 index 9491fc7de410..000000000000 --- a/games-action/minetest/minetest-5.5.0.ebuild +++ /dev/null @@ -1,143 +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= - 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 - >=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 - "${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 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 -} |