games-fps/yamagi-quake2: remove old
authorAlexander Tsoy <alexander@tsoy.me>
Sun, 7 Apr 2019 22:58:03 +0000 (01:58 +0300)
committerMichał Górny <mgorny@gentoo.org>
Sat, 20 Apr 2019 06:52:00 +0000 (08:52 +0200)
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/11634
Signed-off-by: Michał Górny <mgorny@gentoo.org>
games-fps/yamagi-quake2/Manifest
games-fps/yamagi-quake2/files/yamagi-quake2-zlib.patch [deleted file]
games-fps/yamagi-quake2/yamagi-quake2-7.21-r1.ebuild [deleted file]

index 8a129d523fafc49a12ef0e98470033e2174d7d9f..efdd4db13ee39aac222d9c0f41c6f3ef796e52f5 100644 (file)
@@ -1,4 +1,3 @@
-DIST quake2-7.21.tar.xz 1854928 BLAKE2B c8a97503b5304d6f02d562495970e49b7cb7db41ff4a5c726f69c3f6df145e9dccd4d66e217176ae9bcc31fed16c8d595bc969b4bf32e3e12aced2875c857847 SHA512 ddd0811b9c3b55dd5df9fa028951882d5aa40769ba518f42c8f37643bb7a397c125a8897d9dc10306d466d4aeb927ea685b29470cbde29e6fbd6d2d0aafa7c1a
 DIST quake2-7.30.tar.xz 1939836 BLAKE2B 3e952c65cc535f8e1cbe69953c302e681d15f4227fce8bf4a2a0fdadefc8ceb7137e5427cd969ad55b9c2aa994131a0dec71611957f71dbcc9559b9cbc9f4322 SHA512 ea352353c8d6f2c396534208c2f287a06cd6c9d9e60248a6a7f26a84c0cc8b21ab890e06591e470ceea09a1234f5c2dbc1b171f4dbca62d91b2ac33812fdf2e7
 DIST quake2-7.40.tar.xz 1972020 BLAKE2B be5c01dbcb226f343d18f9d318022edff56bac6f953a0b85cbe3c108451c51020339a12b63fd82803cb9cfbbc26f5dfc230b4cad870ab116cb0333baa0160173 SHA512 23ac94b3b5aa28ad7d36e585f00af4aa285db3f93044175c9f65169fb2f89f5d721a3833a386146cf278c4db47846a442ebd8acd98c97ffa6f149d5949dcd5b1
 DIST quake2-ctf-1.05.tar.xz 134872 BLAKE2B eb987004b1c1b1743ec532b6bea96a257957377cbdb0571d6c6e7b2dae6c1b7abc154233d4f9d3af6fb546d7810e5c041b8e9293de2e409a7cace88aa455f526 SHA512 9eb951f4a9d7abc5f9a2ca53d886f68b745c1efdf3fea14db2e071b8d1592d33579c5fa56326aa583269a4810e16a7eda8dcd8930e36782cb4fcb8578c44951b
diff --git a/games-fps/yamagi-quake2/files/yamagi-quake2-zlib.patch b/games-fps/yamagi-quake2/files/yamagi-quake2-zlib.patch
deleted file mode 100644 (file)
index 1de79c9..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-https://bugs.gentoo.org/383179
-
-Upstream removed OF macro definition:
-https://github.com/yquake2/yquake2/commit/716d72a295c9247b3c88ccd180bb7a517ed99e13
-
---- a/src/common/unzip/ioapi.h 2018-03-10 20:24:21.000000000 +0300
-+++ b/src/common/unzip/ioapi.h 2018-04-10 00:34:08.688675097 +0300
-@@ -120,6 +120,9 @@
- #define ZLIB_FILEFUNC_MODE_EXISTING (4)
- #define ZLIB_FILEFUNC_MODE_CREATE   (8)
-+#ifdef _Z_OF
-+#define OF _Z_OF
-+#endif
- #ifndef ZCALLBACK
-  #if (defined(WIN32) || defined(_WIN32) || defined (WINDOWS) || defined (_WINDOWS)) && defined(CALLBACK) && defined (USEWINDOWS_CALLBACK)
diff --git a/games-fps/yamagi-quake2/yamagi-quake2-7.21-r1.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-7.21-r1.ebuild
deleted file mode 100644 (file)
index 843343c..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop eutils
-
-CTF_V=1.05
-ROGUE_V=2.04
-XATRIX_V=2.05
-
-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 ogg openal +opengl rogue softrender xatrix"
-REQUIRED_USE="|| ( client dedicated ) client? ( || ( opengl softrender ) )"
-
-RDEPEND="sys-libs/zlib:0=
-       client? (
-               media-libs/libsdl2[video]
-               ogg? (
-                       media-libs/libogg
-                       media-libs/libvorbis
-               )
-               openal? ( media-libs/openal )
-               !openal? ( media-libs/libsdl2[sound] )
-               opengl? (
-                       media-libs/libsdl2[opengl]
-                       virtual/opengl
-               )
-       )
-"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/quake2-${PV}"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-respect-flags.patch
-       "${FILESDIR}"/${PN}-zlib.patch
-)
-DOCS=( CHANGELOG CONTRIBUTE README.md )
-
-mymake() {
-       emake \
-               VERBOSE=1 \
-               DLOPEN_OPENAL=no \
-               WITH_CDA=no \
-               WITH_SYSTEMWIDE=yes \
-               WITH_SYSTEMDIR="${EPREFIX}"/usr/share/games/quake2 \
-               WITH_ZIP=yes \
-               WITH_OGG=$(usex ogg) \
-               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.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
-}