From 4650985dd0e898b82e0d2ec225931297d4fadccf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 31 Jan 2018 20:30:04 +0000 Subject: gentoo resync : 31.01.2018 --- games-fps/Manifest.gz | Bin 21596 -> 21761 bytes games-fps/redeclipse/Manifest | 3 + games-fps/redeclipse/metadata.xml | 19 +++++++ games-fps/redeclipse/redeclipse-1.6.0.ebuild | 79 +++++++++++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 games-fps/redeclipse/Manifest create mode 100644 games-fps/redeclipse/metadata.xml create mode 100644 games-fps/redeclipse/redeclipse-1.6.0.ebuild (limited to 'games-fps') diff --git a/games-fps/Manifest.gz b/games-fps/Manifest.gz index a43f787cced5..98fb0ca707ef 100644 Binary files a/games-fps/Manifest.gz and b/games-fps/Manifest.gz differ diff --git a/games-fps/redeclipse/Manifest b/games-fps/redeclipse/Manifest new file mode 100644 index 000000000000..0a8d30d2c4f3 --- /dev/null +++ b/games-fps/redeclipse/Manifest @@ -0,0 +1,3 @@ +DIST redeclipse_1.6.0_nix.tar.bz2 898467399 BLAKE2B 85b4d02ea95cc44d902f6512ec5ce512583353107deb690ec24608d9b96fd4a6b7fd720250413a192cf7229b2f66294ddeb81230e5ace06abdcd4f6f3dc8d92f SHA512 e944aed8155b5e89e8df000516d4a019a63d38d7ad9c3982b2e111f8a20bc848a98e30c1b60f4fdaf006c2ff9e2cb04647c07778eb2562eaf7db733dbce11233 +EBUILD redeclipse-1.6.0.ebuild 1948 BLAKE2B f12f017c0cbfbc0427d4bb52b0a3642e6de30d6a1f190a95fcc9a69fa2c1a4acf64955b28287c7323de760c7b6bd022cc74f5fc773a0f152b54e7066f26e3d3f SHA512 7d3a497ae8250a1f80a09fd87ec4a525226849ca86c4256e7089a1e170472e109587d6db2d7428e20a1155067bacfd8c5941297bde6b6b07ef2a6424d61da781 +MISC metadata.xml 574 BLAKE2B 6a74f40eb547d6ebcc8ca987609c22ebf171cde9286351e2f459f8eb95e8545399dcce6107540c249bdfc0a431f3282a50ae8a1fbe6239cb1b372755dd638c36 SHA512 1f78ab3ec83d4c8887f2f15addf8935f0026a8494340b346ae4c694fd7bf753962830274c572036490d514b2683df8164f9943b6714cff8cebaba896d70d549d diff --git a/games-fps/redeclipse/metadata.xml b/games-fps/redeclipse/metadata.xml new file mode 100644 index 000000000000..82f11922de55 --- /dev/null +++ b/games-fps/redeclipse/metadata.xml @@ -0,0 +1,19 @@ + + + + + kitsunenokenja@protonmail.ch + Rob Levitsky + + + games@gentoo.org + Gentoo Games Project + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Install only as a dedicated game server + + diff --git a/games-fps/redeclipse/redeclipse-1.6.0.ebuild b/games-fps/redeclipse/redeclipse-1.6.0.ebuild new file mode 100644 index 000000000000..173ab9a6b751 --- /dev/null +++ b/games-fps/redeclipse/redeclipse-1.6.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop + +DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2" +HOMEPAGE="http://www.redeclipse.net/" +SRC_URI="https://github.com/red-eclipse/base/releases/download/v${PV}/${PN}_${PV}_nix.tar.bz2" + +# According to doc/license.txt file +LICENSE="HPND ZLIB CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dedicated" + +DEPEND="!dedicated? ( + media-libs/freetype:2 + media-libs/libsdl:0[opengl] + media-libs/sdl2-image:0[jpeg,png] + media-libs/sdl2-mixer:0[mp3,vorbis] + virtual/opengl + x11-libs/libX11 + ) + >=net-libs/enet-1.3.9 + sys-libs/zlib" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -e "s:@APPNAME@:${PN}:" \ + src/install/nix/redeclipse.desktop.am \ + > src/install/nix/redeclipse.desktop || die + + if ! use dedicated; then + sed -e "s:@LIBEXECDIR@:/usr/libexec:g" \ + -e "s:@DATADIR@:/usr/share:g" \ + -e "s:@DOCDIR@:/usr/share/doc/${PF}:" \ + -e "s:@CAPPNAME@:${PN^^}:g" \ + -e "s:@APPNAME@:${PN}:g" \ + doc/man/redeclipse.6.am \ + > doc/man/redeclipse.6 || die + fi + + sed -e "s:@LIBEXECDIR@:/usr/libexec:g" \ + -e "s:@DATADIR@:/usr/share:g" \ + -e "s:@DOCDIR@:/usr/share/doc/${PF}:" \ + -e "s:@CAPPNAME@:${PN^^}:g" \ + -e "s:@APPNAME@:${PN}:g" \ + doc/man/redeclipse-server.6.am \ + > doc/man/redeclipse-server.6 || die + + default +} + +src_compile() { + if ! use dedicated; then + emake CXXFLAGS="${CXXFLAGS}" STRIP= -C src client server + else + emake CXXFLAGS="${CXXFLAGS}" STRIP= -C src server + fi +} + +src_install() { + insinto /usr/share/redeclipse + doins -r config data + + dobin src/redeclipse_server_linux + + if ! use dedicated; then + dobin src/redeclipse_linux + newicon "src/install/nix/${PN}_x128.png" "${PN}.png" + make_desktop_entry "src/install/nix/${PN}.desktop" + doman doc/man/redeclipse.6 + fi + + doman doc/man/redeclipse-server.6 + dodoc readme.txt doc/examples/servinit.cfg +} -- cgit v1.2.3