diff options
author | Aaron Bauman <bman@gentoo.org> | 2019-12-08 16:13:32 -0500 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-12-08 16:13:32 -0500 |
commit | 010852d13e7f1c59bc11ab2e3efe806dfacebaf4 (patch) | |
tree | 199c1c0799f0fe9d8d8df7c0cd506c8114c256de /games-strategy | |
parent | games-fps/*: remove last-rited pkgs (diff) | |
download | gentoo-010852d13e7f1c59bc11ab2e3efe806dfacebaf4.tar.gz gentoo-010852d13e7f1c59bc11ab2e3efe806dfacebaf4.tar.bz2 gentoo-010852d13e7f1c59bc11ab2e3efe806dfacebaf4.zip |
games-*/*: drop last-rited pkgs
Bug: https://bugs.gentoo.org/515926
Bug: https://bugs.gentoo.org/510960
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/heroes3/Manifest | 2 | ||||
-rw-r--r-- | games-strategy/heroes3/files/heroes3-wrapper.sh | 13 | ||||
-rw-r--r-- | games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild | 208 | ||||
-rw-r--r-- | games-strategy/heroes3/metadata.xml | 13 | ||||
-rw-r--r-- | games-strategy/smac/Manifest | 2 | ||||
-rw-r--r-- | games-strategy/smac/metadata.xml | 8 | ||||
-rw-r--r-- | games-strategy/smac/smac-6.0a.ebuild | 102 |
7 files changed, 0 insertions, 348 deletions
diff --git a/games-strategy/heroes3/Manifest b/games-strategy/heroes3/Manifest deleted file mode 100644 index 7067f74abfde..000000000000 --- a/games-strategy/heroes3/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST heroes3-1.3.1a-cdrom-x86.run 3012188 BLAKE2B 9a76fef81737fd4d0bd6d6c75a5c845a8fef00e739463737996b2065cc9be0c773c198d76310ceafb25cd60b01ded7862cc3ef906eebbe91d50d5f34d454a23a SHA512 d0cb902386361b17009aece0d0508a0c19683c71acf3abe11a7f50ec2d4710a89cda3f5f9da326b58e9b945da5f62533dea54457e141ce71ebc3e9945dca814d -DIST heroes3-1.3.1a-ppc.run 2643068 BLAKE2B bb975aca97d5b753badb6f0511f2bc88f3ace3488f82a1d70ddd5cadf78f8ab57c4472f6d3d3e9f69728d1008d51ab31a816660611e421873f7b773bf76fb23e SHA512 3578dbed0ed9fd47f67e6abaec4b4d66628160509e68dc3bea7b5288230e344b5b8f9d380c6a35ffc9d084d0e2a54ce84df72b13bfb609fa4d7edd1456264276 diff --git a/games-strategy/heroes3/files/heroes3-wrapper.sh b/games-strategy/heroes3/files/heroes3-wrapper.sh deleted file mode 100644 index 3847c539ed76..000000000000 --- a/games-strategy/heroes3/files/heroes3-wrapper.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -DIR="${HOME}/.loki/heroes3" - -if [ ! -d "${DIR}" ]; then - echo "* Creating '${DIR}'" - mkdir -p ${DIR} -fi - -# fixes bug #93604 -cd ${DIR} - -exec GAMES_PREFIX_OPT/heroes3/heroes3 ${@} diff --git a/games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild b/games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild deleted file mode 100644 index 46b85c58595f..000000000000 --- a/games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild +++ /dev/null @@ -1,208 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# [x] Base Install Required (+4 MB) -# [x] Scenarios (+7 MB) -# [x] Sounds and Graphics (+118 MB) -# [x] Music (+65 MB) -# [x] Videos (+147 MB) -# -------------------- -# Total 341 MB - -EAPI=5 -LANGS="de es pl" -LANGPACKPREFIX="${PN}-lang" -LANGPACKBASE="http://babelize.org/download/" -LANGPACKPATHPREFIX="${LANGPACKBASE}/${LANGPACKPREFIX}" -LANGPACKVERSION=1.0.4 - -inherit eutils unpacker cdrom games - -DESCRIPTION="Heroes of Might and Magic III: The Restoration of Erathia" -HOMEPAGE="http://www.lokigames.com/products/heroes3/" - -# Since I do not have a PPC machine to test with, I will leave the PPC stuff in -# here so someone else can stabilize loki_setupdb and loki_patch for PPC and -# then KEYWORD this appropriately. -SRC_URI="x86? ( mirror://lokigames/${PN}/${P}-cdrom-x86.run ) - amd64? ( mirror://lokigames/${PN}/${P}-cdrom-x86.run ) - ppc? ( mirror://lokigames/${PN}/${P}-ppc.run )" -# This is commented because the server is unreachable. -# linguas_es? ( ${LANGPACKPATHPREFIX}-es.tar.gz ) -# linguas_de? ( ${LANGPACKPATHPREFIX}-de.tar.gz ) -# linguas_pl? ( ${LANGPACKPATHPREFIX}-pl.tar.gz )" - -# ${LANGPACKBASE}/${PN}-localize-${LANGPACKVERSION}.run - -LICENSE="LOKI-EULA" -SLOT="0" -IUSE="nocd maps music sounds videos" -#linguas_en linguas_es linguas_pl linguas_de" -KEYWORDS="~amd64 ~x86" -RESTRICT="strip mirror bindist" - -DEPEND="=dev-util/xdelta-1* - games-util/loki_patch" -RDEPEND="!ppc? ( sys-libs/lib-compat-loki )" - -S=${WORKDIR} - -dir=${GAMES_PREFIX_OPT}/${PN} -Ddir=${D}/${dir} - -pkg_setup() { - games_pkg_setup -# strip-linguas en ${LANGS} - - use nocd && fullinstall=1 - use sounds && use videos && use maps && fullinstall=1 - - [[ ${fullinstall} -eq 1 ]] \ - && ewarn "The full installation takes about 341 MB of space!" - -# if [[ -n "${fullinstall}" ]] -# then -# langcount=0 -# for i in ${LINGUAS} -# do -# i="${i/_/-}" -# if [[ ${i} != "en" ]] -# then -# let $((++langcount)) -# if [[ $langcount = 2 ]] -# then -# eerror "Heroes3 only supports one localization at once!" -# die "Localization is only supported when Heroes3 is in a single language!" -# fi -# fi -# done -# else -# for i in ${LINGUAS} -# do -# i="${i/_/-}" -# if [[ ${i} != "en" ]] -# then -# eerror "Full installation (nocd flag or data + video + maps flags) is needed for ${i} language!" -# die "Localization is only supported when Heroes3 is fully locally installed!" -# fi -# done -# fi -} - -src_unpack() { - cdrom_get_cds hiscore.tar.gz - (use x86 || use amd64) && unpack_makeself ${P}-cdrom-x86.run - use ppc && unpack_makeself ${P}-ppc.run - -# for i in ${LINGUAS} -# do -# i="${i/_/-}" -# if [[ ${i} != "en" ]] -# then -# mkdir localize -# cd localize -## unpack_makeself ${PN}-localize-${LANGPACKVERSION}.run -# unpack ${LANGPACKPREFIX}-${i}.tar.gz -# break -# fi -# done -} - -src_install() { - exeinto "${dir}" - insinto "${dir}" - einfo "Copying files... this may take a while..." - doexe "${CDROM_ROOT}"/bin/x86/${PN} - doins "${CDROM_ROOT}"/{Heroes_III_Tutorial.pdf,README,icon.{bmp,xpm}} - - if use nocd - then - doins -r "${CDROM_ROOT}"/{data,maps,mp3} - else - if use maps - then - doins -r "${CDROM_ROOT}"/maps - fi - if use music - then - doins -r "${CDROM_ROOT}"/mp3 - fi - if use sounds - then - insinto "${dir}"/data - doins "${CDROM_ROOT}"/data/{*.lod,*.snd} - fi - if use videos - then - doins -r "${CDROM_ROOT}"/data/video - fi - fi - -# if [[ -n "${fullinstall}" ]] -# then -# for i in ${LINGUAS} -# do -# i="${i/_/-}" -# if [[ ${i} != "en" ]] -# then -# find "${S}/localize/${i}" -type f | while read xfile -# do -# local file=$(echo "${xfile}" | \ -# sed "s#^${S}/localize/${i}/##;s#\.xdelta\$##") -# ebegin "Localizing ${file}" -# xdelta patch "${xfile}" "${Ddir}/${file}" "${Ddir}/${file}.xdp" -# local retval=$? -# if [[ $retval = 0 ]] -# then -# mv -f "${Ddir}/${file}.xdp" "${Ddir}/${file}" -# else -# rm -f "${Ddir}/${file}.xdp" -# fi -# eend $retval "File $file could not be localized/patched! Original english version untouched..." -# done -# break -# fi -# done -# fi - - tar zxf "${CDROM_ROOT}"/hiscore.tar.gz -C "${Ddir}" || die - - cd "${S}" - loki_patch --verify patch.dat - loki_patch patch.dat "${Ddir}" >& /dev/null || die - - # now, since these files are coming off a cd, the times/sizes/md5sums wont - # be different ... that means portage will try to unmerge some files (!) - # we run touch on ${D} so as to make sure portage doesnt do any such thing - find "${Ddir}" -exec touch '{}' \; - - newicon "${CDROM_ROOT}"/icon.xpm heroes3.xpm - - prepgamesdirs - make_desktop_entry heroes3 "Heroes of Might and Magic III" "heroes3" - - if ! use ppc - then - einfo "Linking libs provided by 'sys-libs/lib-compat-loki' to '${dir}'." - dosym /lib/loki_ld-linux.so.2 "${dir}"/ld-linux.so.2 - dosym /usr/lib/loki_libc.so.6 "${dir}"/libc.so.6 - dosym /usr/lib/loki_libnss_files.so.2 "${dir}"/libnss_files.so.2 - fi - - elog "Changing 'hiscore.dat' to be writeable for group 'games'." - fperms g+w "${dir}/data/hiscore.dat" - - # in order to play campaign games, put this wrapper in place. - # it changes CWD to a user-writeable directory before executing heroes3. - # (fixes bug #93604) - einfo "Preparing wrapper." - cp "${FILESDIR}"/heroes3-wrapper.sh "${T}"/heroes3 || die - sed -i -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" "${T}"/heroes3 || die - dogamesbin "${T}"/heroes3 -} - -pkg_postinst() { - games_pkg_postinst - elog "To play the game run:" - elog " heroes3" -} diff --git a/games-strategy/heroes3/metadata.xml b/games-strategy/heroes3/metadata.xml deleted file mode 100644 index 5ae90d93661b..000000000000 --- a/games-strategy/heroes3/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <use> - <flag name="maps">Installs optional map data</flag> - <flag name="music">Installs optional music data</flag> - <flag name="sounds">Installs optional sound data</flag> - </use> -</pkgmetadata> diff --git a/games-strategy/smac/Manifest b/games-strategy/smac/Manifest deleted file mode 100644 index 8cece19c9fe9..000000000000 --- a/games-strategy/smac/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST smac-6.0a-x86.run 6801730 BLAKE2B 95d50c79cde06c4abb5473d7a67f4a66205f7147b7796c9f5e62273776083ce592ec748fd4db559b57568075fb53b4d44db05b2cf14e450ed5757898da6c26d7 SHA512 b71dd1ee46d37d66131cf6fc15c6a406719989021c8dbb6e74cded18c5520ee9ba4bbdfc5bdfc0ddfa67fa2e846365636be41d87a6440473e8ae5ebf542b7744 -DIST smac-install-ppc.run 18528928 BLAKE2B f5c9689c192ebd8ae03d5bb5d4db6deb2b19c5924ce87426cb9140163c9b53a1c4b0ba8592d8b823b2b73847cbf4ffa6d400000a3cf458dd5473ab6bd0aef965 SHA512 99fc6edca2c9e64bfc0cab644cbd061c3842359c16e5e6537a2aa2df4cd2a1a6a39169a2b9540199b08f7aee28f4e2cfad814499fdd55b5edf7ab9b19c12d793 diff --git a/games-strategy/smac/metadata.xml b/games-strategy/smac/metadata.xml deleted file mode 100644 index 78274e0fa550..000000000000 --- a/games-strategy/smac/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -</pkgmetadata> diff --git a/games-strategy/smac/smac-6.0a.ebuild b/games-strategy/smac/smac-6.0a.ebuild deleted file mode 100644 index 098890ca9b4c..000000000000 --- a/games-strategy/smac/smac-6.0a.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils unpacker cdrom games - -DESCRIPTION="Linux port of the popular strategy game from Firaxis" -HOMEPAGE="http://www.lokigames.com/products/smac/" -SRC_URI="x86? ( mirror://lokigames/${PN}/${P}-x86.run ) - amd64? ( mirror://lokigames/${PN}/${P}-x86.run ) - ppc? ( http://mirrors.dotsrc.org/lokigames/installers/${PN}/${PN}-install-ppc.run )" - -LICENSE="LOKI-EULA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+videos" -RESTRICT="strip mirror bindist" - -DEPEND="games-util/loki_patch" -RDEPEND="sys-libs/glibc - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXau - x11-libs/libXdmcp - !ppc? ( sys-libs/lib-compat-loki ) - media-libs/libsdl[sound,video] - media-libs/sdl-ttf - media-libs/sdl-mixer - media-libs/smpeg - media-libs/freetype - sys-libs/zlib" - -dir=${GAMES_PREFIX_OPT}/${PN} -Ddir=${D}/${dir} - -src_unpack() { - cdrom_get_cds Alien_Crossfire_Manual.pdf - mkdir -p "${S}"/a - cd "${S}"/a - use x86 || use amd64 && unpack_makeself ${P}-x86.run - use ppc && unpack_makeself ${PN}-install-ppc.run -} - -src_install() { - einfo "Copying files... this may take a while..." - exeinto "${dir}" - doexe "${CDROM_ROOT}"/bin/x86/{smac,smacx,smacpack} - - insinto "${dir}" - doins ${CDROM_ROOT}/{{Alien_Crossfire,Alpha_Centauri}_Manual.pdf,QuickStart.txt,README,icon.{bmp,xpm}} - - cd "${Ddir}" - tar xzf "${CDROM_ROOT}"/data.tar.gz || die - insinto "${dir}"/data - doins "${CDROM_ROOT}"/data/*.{pcx,cvr,flc,gif} - doins -r "${CDROM_ROOT}"/data/{facs,fx,projs,techs,voices} - - if use videos ; then - doins -r "${CDROM_ROOT}"/data/movies - fi - - cd "${S}"/a - if use ppc ; then - cd ${P}-ppc - fi - loki_patch --verify patch.dat - loki_patch patch.dat "${Ddir}" >& /dev/null || die - - # now, since these files are coming off a cd, the times/sizes/md5sums wont - # be different ... that means portage will try to unmerge some files (!) - # we run touch on ${D} so as to make sure portage doesnt do any such thing - find "${Ddir}" -exec touch '{}' + - - newicon "${CDROM_ROOT}"/icon.xpm smac.xpm - - games_make_wrapper ${PN}pack ./${PN}pack "${dir}" "${dir}" - games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}" - games_make_wrapper ${PN}x ./${PN}x "${dir}" "${dir}" - make_desktop_entry smacpack "Sid Meier's SMAC Planetary Pack" smacpack - make_desktop_entry smac "Sid Meier's Alpha Centauri" smac - make_desktop_entry smacx "Sid Meier's Alpha Centauri - Alien Crossfire" smac - prepgamesdirs - - if use x86 || use amd64 ; then - einfo "Linking libs provided by 'sys-libs/lib-compat-loki' to '${dir}'." - dosym /lib/loki_ld-linux.so.2 "${dir}"/ld-linux.so.2 && \ - dosym /usr/lib/loki_libc.so.6 "${dir}"/libc.so.6 && \ - dosym /usr/lib/loki_libnss_files.so.2 "${dir}"/libnss_files.so.2 - fi -} - -pkg_postinst() { - games_pkg_postinst - elog "To start Sid Meyer's SMAC Planetary Pack run:" - elog " smac" - elog "To play Sid Meyer's Alpha Centauri run:" - elog " smac" - elog "To play Alien Crossfire run:" - elog " smacx" - elog "Be sure to enable CONFIG_UID16 in your kernel config or" - elog "the game will error." # bug 340303 -} |