diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-12-28 00:09:52 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-12-28 00:10:21 +0000 |
commit | 35e1a7cb0a492f80e4f9b6233d4151ff29fa57fd (patch) | |
tree | e9cbafc0ddf563a4310fa06c635fda95200cf0f9 /games-fps | |
parent | dev-haskell/alex: use inplace alex for tests, bug #703920 (diff) | |
download | gentoo-35e1a7cb0a492f80e4f9b6233d4151ff29fa57fd.tar.gz gentoo-35e1a7cb0a492f80e4f9b6233d4151ff29fa57fd.tar.bz2 gentoo-35e1a7cb0a492f80e4f9b6233d4151ff29fa57fd.zip |
games-fps/yamagi-quake2: Drop old 7.40
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: James Le Cuirot <chewi@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.40.ebuild | 149 |
2 files changed, 0 insertions, 150 deletions
diff --git a/games-fps/yamagi-quake2/Manifest b/games-fps/yamagi-quake2/Manifest index dbc41660ecfd..048d8efc7a08 100644 --- a/games-fps/yamagi-quake2/Manifest +++ b/games-fps/yamagi-quake2/Manifest @@ -1,4 +1,3 @@ -DIST quake2-7.40.tar.xz 1972020 BLAKE2B be5c01dbcb226f343d18f9d318022edff56bac6f953a0b85cbe3c108451c51020339a12b63fd82803cb9cfbbc26f5dfc230b4cad870ab116cb0333baa0160173 SHA512 23ac94b3b5aa28ad7d36e585f00af4aa285db3f93044175c9f65169fb2f89f5d721a3833a386146cf278c4db47846a442ebd8acd98c97ffa6f149d5949dcd5b1 DIST quake2-7.41.tar.xz 1978952 BLAKE2B 9d3626f102b652c443caea294f7f66dc46869612b64d16c5f2e9b7f28a83800a0653450f8fc44ebaa83e01ddfaf2b2cd5dd9c6feb8001b5cabd7df32171e035b SHA512 fd2c991274415eb38cf3deb7562f7c51c7f8e935cf7215eba7e8ae088f25cddf95e86221fcbbb5fcc8bd97e264b147951bf5f4aecb8ee54973d46af7ef39d3af DIST quake2-ctf-1.06.tar.xz 135464 BLAKE2B 457ab883ba9ecfb723d890f5c9e3da710aae4ed5fa4e530c8028b0fa93186350e6ed1b483b89ddf98cbb3f3b1992a15c33af5d181073395b61e5b9a7c9987d88 SHA512 24c58f895d4056127e6f714c618d53b80bd75968758d8aa729deba750297efd5d6c40bd69afd98ebbf0d231bd59909e6438ec64b258883d8cfd33d33e928b2f9 DIST quake2-rogue-2.05.tar.xz 241120 BLAKE2B 58be655bfcba9c6ee66616dbedaf01c4329d656c205ad99910dccb095981a8f29b09d557e76f9e43df21f36eebeb5ad0c0f2788d2bee2bc1cfe68dda824df5d1 SHA512 521860cc3c46e8679f0dee2b9bc6c3a643439f560ad2437e2961e746285a95fa118201d516eefefdd8b5fe7da8ec5ea0c9fae8910751256a0d986300497631ff diff --git a/games-fps/yamagi-quake2/yamagi-quake2-7.40.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-7.40.ebuild deleted file mode 100644 index 5e8aa0b53d2d..000000000000 --- a/games-fps/yamagi-quake2/yamagi-quake2-7.40.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop eutils - -CTF_V=1.06 -ROGUE_V=2.05 -XATRIX_V=2.06 - -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 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+client ctf dedicated openal +opengl rogue softrender xatrix" -REQUIRED_USE="|| ( client dedicated ) client? ( || ( opengl softrender ) )" - -COMMON_DEPEND=" - client? ( - media-libs/libsdl2[video] - openal? ( media-libs/openal ) - !openal? ( media-libs/libsdl2[sound] ) - opengl? ( - media-libs/libsdl2[opengl] - virtual/opengl - ) - ) -" -RDEPEND="${COMMON_DEPEND} - client? ( openal? ( media-libs/openal ) ) -" - -DEPEND="${COMMON_DEPEND}" - -S="${WORKDIR}/quake2-${PV}" - -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 - eapply -l -- "${FILESDIR}"/${PN}-addon-respect-flags-r2.patch - 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 -} |