diff options
author | Sam James <sam@gentoo.org> | 2021-04-06 02:44:22 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-06 19:18:06 +0100 |
commit | 6674471002efc8c7853a8f26229dc7eba79b75f6 (patch) | |
tree | 8611af4d35dc2f3594946c06f20b0325b0c937b7 /games-fps | |
parent | games-action/extreme-tuxracer: drop 0.7.4 (EAPI 6--) (diff) | |
download | gentoo-6674471002efc8c7853a8f26229dc7eba79b75f6.tar.gz gentoo-6674471002efc8c7853a8f26229dc7eba79b75f6.tar.bz2 gentoo-6674471002efc8c7853a8f26229dc7eba79b75f6.zip |
games-fps/yamagi-quake2: drop 7.43 (eutils--)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/yamagi-quake2/Manifest | 1 | ||||
-rw-r--r-- | games-fps/yamagi-quake2/yamagi-quake2-7.43.ebuild | 152 |
2 files changed, 0 insertions, 153 deletions
diff --git a/games-fps/yamagi-quake2/Manifest b/games-fps/yamagi-quake2/Manifest index 1f6bc68feb91..8390668efd24 100644 --- a/games-fps/yamagi-quake2/Manifest +++ b/games-fps/yamagi-quake2/Manifest @@ -1,4 +1,3 @@ -DIST quake2-7.43.tar.xz 1989812 BLAKE2B dbce9e3b65a63637726dda375f0fc64193529a3c1744643290778ee8f1a0eff3067f96dd3e76fa4d138cfbb5e9237f7517f608277e4f5b21729473849b7c8ac3 SHA512 c728609e277330b39fc423d66bbd098e360e7fc8c54500fa5accbc4aaeb9145a00c8ff8be67ce8f36047dbe6d98480bdbe1f330da5b0037517607ada8a63e4b8 DIST quake2-7.45.tar.xz 1997816 BLAKE2B 1025a3e226e80b456c48fcd76100f46fa03e3ef2c61d70071136f8119f2b2af39b24fa859239217d34d14501127e4880ff7b61b79dc61c79e64dd22fcc44ce0b SHA512 1aa161ca03782eba14feecd142d65eb5a9ca5af4b384f21d3e68338cd8d88bd5e71c1678d44285eea692d5d1b2161429270745d880b4caacd6c87c7e76ed404b DIST quake2-ctf-1.07.tar.xz 135880 BLAKE2B 7501d5db676cbc7b523313bf4e5d572cc8711efd09e2390d6aa6980d45bc682e7f137581b8a9a8d4b491de8f8ed7dd1cb32a66c9ed2cc456e114f672cedf2a1c SHA512 de2ab94fc7bb43327170f6aefbaf811e7a0071da2e5c4602354854e46e4c8cfc687a6300e7162c8f1be2f0b42cf2d3edc255c2f44fb0e39adc873a521197a316 DIST quake2-rogue-2.07.tar.xz 243828 BLAKE2B f292bc7318ee8094b0dae0219fbf7882fb9a168ee2b311c254b5cabdb53f6a65350be80ea09185f66b5e3af4e670c3dd21235a06aeec2f334dc84cb474cb02da SHA512 21b0dca16240307c1e7a6c2a2c08e380fabf4f6bdbf1981a2183056ccd5f05f7003f41b38b4b131f9b16909b4c714ff2ef23638601b0c420003674bc9a9d0789 diff --git a/games-fps/yamagi-quake2/yamagi-quake2-7.43.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-7.43.ebuild deleted file mode 100644 index 335ae177e9f9..000000000000 --- a/games-fps/yamagi-quake2/yamagi-quake2-7.43.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop eutils - -CTF_V="1.07" -ROGUE_V="2.07" -XATRIX_V="2.08" - -DESCRIPTION="Quake 2 engine focused on single player" -HOMEPAGE="https://www.yamagi.org/quake2/" -SRC_URI="https://deponie.yamagi.org/quake2/quake2-${PV}.tar.xz - ctf? ( https://deponie.yamagi.org/quake2/quake2-ctf-${CTF_V}.tar.xz ) - rogue? ( https://deponie.yamagi.org/quake2/quake2-rogue-${ROGUE_V}.tar.xz ) - xatrix? ( https://deponie.yamagi.org/quake2/quake2-xatrix-${XATRIX_V}.tar.xz )" -S="${WORKDIR}/quake2-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+client ctf dedicated openal +opengl rogue softrender xatrix" -REQUIRED_USE=" - || ( client dedicated ) - client? ( || ( opengl softrender ) ) -" - -DEPEND=" - client? ( - media-libs/libsdl2[video] - !openal? ( media-libs/libsdl2[sound] ) - opengl? ( - media-libs/libsdl2[opengl] - virtual/opengl - ) - ) -" -RDEPEND="${DEPEND} - client? ( openal? ( media-libs/openal ) ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-respect-flags.patch -) -DOCS=( CHANGELOG README.md doc ) - -mymake() { - emake \ - VERBOSE=1 \ - WITH_SYSTEMWIDE=yes \ - WITH_SYSTEMDIR="${EPREFIX}"/usr/share/games/quake2 \ - WITH_OPENAL=$(usex openal) \ - "$@" -} - -src_prepare() { - local addon - for addon in ctf rogue xatrix; do - use ${addon} || continue - - pushd "${WORKDIR}"/quake2-${addon}-* >/dev/null || die - if [[ ${addon} = ctf ]]; then - eapply -l -- "${FILESDIR}"/${PN}-addon-respect-flags-r4.patch - else - eapply -l -- "${FILESDIR}"/${PN}-addon-respect-flags-r3.patch - fi - popd >/dev/null || die - done - - default -} - -src_compile() { - local targets=( game ) - if use client; then - targets+=( client ) - use opengl && targets+=( ref_gl1 ref_gl3 ) - use softrender && targets+=( ref_soft ) - fi - use dedicated && targets+=( server ) - - mymake config - mymake "${targets[@]}" - - local addon - for addon in ctf rogue xatrix; do - use ${addon} || continue - emake -C "${WORKDIR}"/quake2-${addon}-* VERBOSE=1 - done -} - -src_install() { - insinto /usr/lib/yamagi-quake2 - # Yamagi Quake II expects all binaries to be in the same directory - # See stuff/packaging.md for more info - exeinto /usr/lib/yamagi-quake2 - doins -r release/. - - if use client; then - doexe release/quake2 - dosym ../lib/yamagi-quake2/quake2 /usr/bin/yquake2 - - newicon stuff/icon/Quake2.svg "yamagi-quake2.svg" - make_desktop_entry "yquake2" "Yamagi Quake II" - fi - - if use dedicated; then - doexe release/q2ded - dosym ../lib/yamagi-quake2/q2ded /usr/bin/yq2ded - fi - - insinto /usr/lib/yamagi-quake2/baseq2 - doins stuff/yq2.cfg - - local addon - for addon in ctf rogue xatrix; do - use ${addon} || continue - - insinto /usr/lib/yamagi-quake2/${addon} - doins "${WORKDIR}"/quake2-${addon}-*/release/game.so - - if use client; then - local addon_name - case ${addon} in - ctf) addon_name="CTF" ;; - rogue) addon_name="Ground Zero" ;; - xatrix) addon_name="The Reckoning" ;; - esac - - make_wrapper "yquake2-${addon}" "yquake2 +set game ${addon}" - make_desktop_entry "yquake2-${addon}" "Yamagi Quake II: ${addon_name}" - fi - done - - einstalldocs - if use client; then - docinto examples - dodoc stuff/cdripper.sh - fi -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog - elog "In order to play, you must at least install:" - elog "games-fps/quake2-data or games-fps/quake2-demodata or copy game" - elog "data files to ~/.yq2/ or ${EPREFIX}/usr/share/games/quake2/ manually." - elog "Read ${EPREFIX}/usr/share/doc/${PF}/README.md* for more information." - elog - fi -} |