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>
This commit is contained in:
Aaron Bauman
2019-12-08 16:13:32 -05:00
parent 70055e2260
commit 010852d13e
24 changed files with 0 additions and 719 deletions

View File

@@ -1 +0,0 @@
DIST linuxphobia-1.1-i386.tar.bz2 7709686 BLAKE2B 67325f1a8dd7b9e06c1c54866f2fbea4c032c069a595582a9ed720bd8d34deb312fd79a71c1d2c4233368d8d63904e7d86fbb7aa89ddf1c0f437d3e02d5bf773 SHA512 c8a799eb1e9b25781ef37487951b4213be29a60613bb2455df44e484e3553f153e5872aa97c70286eaf64ba78c621941318f702e5dc680a5442728866d2f7a1d

View File

@@ -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>

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
MY_P="linuxphobia-${PV}"
DESCRIPTION="Just a moment ago, you were safe inside your ship, behind five inch armour"
HOMEPAGE="http://www.lynxlabs.com/games/linuxphobia/index.html"
SRC_URI="http://www.lynxlabs.com/games/linuxphobia/${MY_P}-i386.tar.bz2"
LICENSE="freedist" #505612
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
media-libs/libsdl[abi_x86_32(-)]
media-libs/sdl-mixer[abi_x86_32(-)]
sys-libs/lib-compat"
S=${WORKDIR}/${MY_P}
QA_PRESTRIPPED="opt/phobiaii/linuxphobia"
QA_FLAGS_IGNORED="opt/phobiaii/linuxphobia"
src_install() {
local dir=/opt/${PN}
make_wrapper phobiaII ./linuxphobia "${dir}"
newicon phobia2.ico ${PN}.ico
make_desktop_entry phobiaII "Phobia II" /usr/share/pixmaps/${PN}.ico
insinto "${dir}"
doins -r *
rm -rf "${D}/${dir}"/{*.desktop,*.sh,/pics/.xvpics}
fperms 775 "${dir}"/linuxphobia
}

View File

@@ -1,2 +0,0 @@
DIST wolf-linux-1.41b.x86.run 73940068 BLAKE2B 252c2fe5028e8325481508fb2b1f944302895faf96f57f933092336899f10b29d4676f299072e852a4c57d20186bd14d0fe0aa780eba063f78881c4616d7f09c SHA512 8c018bcdeca5b14fe1b8c35f46031416978b27b57a38897fa5b1b0c26fbf3ab6f44c22582223ad98a695a793ba1444a2e092beee687e835a279a12121422e93f
DIST wolf-linux-GOTY-maps.x86.run 51930759 BLAKE2B a675208035fd826b154c27cf9c77082bb0b69681725dfe9255e1a4cd2572ffc3db2b8998a7c7e04a4b423720d73d40317ff5ae07a121e979d5c707abf1cdd631 SHA512 85f334f75d538bb68c7507d36600b433b0ab0c92572c8e8c022eaeb8783fc72d56ff39ee0ee9eb3272ab09025bca56cca70b077b7e7b02a38cd556fb9f425dcc

View File

@@ -1,24 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need net
}
start() {
ebegin "Starting RTCW dedicated server..."
screen -A -m -d -S rtcw su - dedicated -c GENTOO_DIR/startwolfded
eend $?
}
stop() {
ebegin "Stopping RTCW dedicated server..."
kill `screen -list | grep rtcw | awk -F . '{ print $1 }' | sed -e s/.//`
eend $?
}
status() {
screen -list | grep rtcwded
}

View File

@@ -1,11 +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>
<longdescription>
Return to Castle Wolfenstein is a first-person 3-D shooter based loosely on the original Wolfenstein series by id software. The game takes place in Europe during World War II. In the single player game, you play as a US military special operative sent behind enemy lines to stop the Nazi studies into the supernatural and the occult. The multi-player game is a team-based, goal-oriented series of missions and allows you to play as either the Axis or the Allies. There are several classes of characters you can play, each with their own special abilities and weapon choices. The port to Linux was done by TTimo of id software and is an unsupported binary release. This game is commercial software and requires data from the retail Windows version to play.
</longdescription>
</pkgmetadata>

View File

@@ -1,93 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils unpacker games
DESCRIPTION="Return to Castle Wolfenstein - Long awaited sequel to Wolfenstein 3D"
HOMEPAGE="http://games.activision.com/games/wolfenstein/"
SRC_URI="mirror://idsoftware/wolf/linux/wolf-linux-GOTY-maps.x86.run
mirror://idsoftware/wolf/linux/wolf-linux-${PV}.x86.run"
LICENSE="RTCW GPL-2" # gpl for init script bug #425944
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="opengl dedicated"
RESTRICT="bindist strip mirror"
UIDEPEND="x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXau[abi_x86_32(-)]
x11-libs/libXdmcp[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]"
RDEPEND="sys-libs/glibc
sys-libs/lib-compat
dedicated? ( app-misc/screen )
!dedicated? ( ${UIDEPEND} )
opengl? ( ${UIDEPEND} )"
S=${WORKDIR}
dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}
QA_PREBUILT="${dir:1}/* ${dir:1}/pb/* ${dir:1}/main/*"
src_install() {
insinto "${dir}"
doins -r main Docs pb
exeinto "${dir}"
doexe bin/Linux/x86/*.x86 openurl.sh
games_make_wrapper rtcwmp ./wolf.x86 "${dir}" "${dir}"
games_make_wrapper rtcwsp ./wolfsp.x86 "${dir}" "${dir}"
# work around buggy video driver (bug #326837)
sed -i \
-e 's/^exec /__GL_ExtensionStringVersion=17700 exec /' \
"${D}/${GAMES_BINDIR}/rtcwsp" \
|| die
if use dedicated; then
games_make_wrapper wolf-ded ./wolfded.x86 "${dir}" "${dir}"
newinitd "${FILESDIR}"/wolf-ded.rc wolf-ded
sed -i \
-e "s:GENTOO_DIR:${dir}:" \
"${D}"/etc/init.d/wolf-ded \
|| die
fi
insinto ${dir}
doins WolfMP.xpm WolfSP.xpm QUICKSTART CHANGES RTCW-README-1.4.txt
doicon WolfMP.xpm WolfSP.xpm
prepgamesdirs
make_desktop_entry rtcwmp "Return to Castle Wolfenstein (MP)" WolfMP
make_desktop_entry rtcwsp "Return to Castle Wolfenstein (SP)" WolfSP
}
pkg_postinst() {
games_pkg_postinst
ewarn "There are two possible security bugs in this package, both causing a"
ewarn "denial of service. One affects the game when running a server, the"
ewarn "other when running as a client."
ewarn "For more information, see bug #82149."
echo
elog "You need to copy pak0.pk3, mp_pak0.pk3, mp_pak1.pk3, mp_pak2.pk3,"
elog "sp_pak1.pk3 and sp_pak2.pk3 from a Window installation into ${dir}/main/"
elog
elog "To play the game run:"
elog " rtcwsp (single-player)"
elog " rtcwmp (multi-player)"
elog
if use dedicated
then
elog "To start a dedicated server run:"
elog " /etc/init.d/wolf-ded start"
elog
elog "To run the dedicated server at boot, type:"
elog " rc-update add wolf-ded default"
elog
elog "The dedicated server is started under the ${GAMES_USER_DED} user account"
echo
fi
}

View File

@@ -1,3 +0,0 @@
DIST IpDrv-436-Linux-08-20-02.zip 105435 BLAKE2B 3b0c960513f3bfdaa5394148978f1258b54cedec0722890fd1d89a81b7c809a9d837f6da0e147f1566ee253ed6fd0c7692d043e50ddd383d99245f7aec3df759 SHA512 5f10152b87cf702225fe50d213f3fbd4865cb2f190e0c2c87c996420c115e5f84de7748af635705b8a2ea789bfeaaab4b927364563a4b83f973dcb5af866ccd7
DIST unreali-install.run 3800432 BLAKE2B eb359ed910b864cf2a5f73a96b888d621157a0e9dd3627cc6f0bbb02370a2362e5e417c5ca638642b883acf625b470dc3fcfbed95d640ab6598b630f9ba365e1 SHA512 3af4bc0a7f6f256899efe04b23a5c9944655130ef9868c9f0a73f71fe1bb492da71a6814a8d472c01c3fec13b9e978853a5c3f6960a8c1b4de53aa3020eda7f3
DIST ut-install-436.run 6225010 BLAKE2B 107a4991db59e1ff800bf2a1e002f0e56f5415b14a936ced149ace57c5359f10b75d0c2506e5fe40dfb2ca28b068cf225b35dda5fae0af84864df4edb560e05a SHA512 cfdeb9f345daef4b81acadfa24d711477ba208dffd50716087d034df2dc1eb0ac5bb03570f4f1701b3c4d46b8f954e6d23dde36fc20dafdc114e68730a1fc932

View File

@@ -1,21 +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>
<longdescription>
In Unreal, players take on the role of a criminal whose transfer ship
has crashed on the mysterious planet Gryphon, where a peaceful race
known as the Nali have been hunted and enslaved by bloodthirsty aliens
called Skaarj. To dominate Gryphon and mine its precious Tarydium, the
Skaarj command legions of other menacing species like the gigantic
Titans, the bio-engineered Brutes and the pack-hunting Krall. Unreal
combatants must survive in the midst of this inter-species warfare
armed with an array of deadly weapons. Players will visit ancient Nali
ruins, underground mines, cities in the sky, spacecraft wreckage and
even the mysterious Skaarj Mothership in this deadly hunt in which
every character is both predator and prey.
</longdescription>
</pkgmetadata>

View File

@@ -1,85 +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="Futuristic FPS (a hack that runs on top of Unreal Tournament)"
HOMEPAGE="https://www.oldunreal.com/ https://icculus.org/~chunky/ut/unreal/"
SRC_URI="https://www.icculus.org/%7Echunky/ut/unreal/unreali-install.run
https://www.ut-files.com/Patches/ut-install-436.run
https://www.ut-files.com/Patches/ipdrv-436-linux-08-20-02.zip -> IpDrv-436-Linux-08-20-02.zip"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="X opengl"
RESTRICT="mirror bindist"
DEPEND="sys-libs/lib-compat
app-arch/unzip
"
RDEPEND="
>=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)]
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXau[abi_x86_32(-)]
x11-libs/libXdmcp[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
opengl? ( virtual/opengl[abi_x86_32(-)] )
"
S=${WORKDIR}
src_unpack() {
export CDROM_NAME_1="Unreal CD"
export CDROM_NAME_2="Unreal Tournament CD"
cdrom_get_cds System/Unreal.ini System/UnrealTournament.ini
unpack_makeself unreali-install.run
mkdir ut
cd ut
unpack_makeself ut-install-436.run
unpack IpDrv-436-Linux-08-20-02.zip
}
src_install() {
local dir=${GAMES_PREFIX_OPT}/unreal
dodir "${dir}"
tar -zxf ut/data.tar.gz -C "${D}/${dir}"
tar -zxf ut/OpenGL.ini.tar.gz -C "${D}/${dir}"
tar -zxf System.tar.gz -C "${D}/${dir}"
insinto "${dir}"/System
doins ut/IpDrv.so
cp -rf "${CDROM_ROOT}"/{Maps,Music,Sounds} "${D}/${dir}/"
for f in "${D}/${dir}"/Maps/Dm*.unr ; do
mv "${f}" "${f/Dm/DM-}"
done
dosym Maps "${dir}"/maps
if has_version '<games-fps/unreal-tournament-451' \
|| has_version '<games-fps/unreal-tournament-goty-451' ; then
CDROM_ROOT="${GAMES_PREFIX_OPT}/unreal-tournament"
else
cdrom_load_next_cd
fi
insinto "${dir}"/Textures
doins "${CDROM_ROOT}"/Textures/*.utx
insinto "${dir}"/Sounds
doins "${CDROM_ROOT}"/Sounds/*.uax
insinto "${dir}"/System
doins "${CDROM_ROOT}"/System/*.u
insinto "${dir}"/Music
doins "${CDROM_ROOT}"/Music/*.umx
insinto "${dir}"
doins icon.* README*
exeinto "${dir}"
doexe bin/x86/unreal
games_make_wrapper unreal ./unreal "${dir}" "${dir}"
prepgamesdirs
}

View File

@@ -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

View File

@@ -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 ${@}

View File

@@ -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"
}

View File

@@ -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>

View File

@@ -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

View File

@@ -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>

View File

@@ -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
}

View File

@@ -962,20 +962,6 @@ app-admin/amazon-ec2-init
=sys-libs/db-6.2*
=sys-libs/db-18.1*
# Ulrich Müller <ulm@gentoo.org> (2014-07-15)
# Permanently mask sys-libs/lib-compat and its reverse dependencies,
# pending multiple security vulnerabilities and QA issues.
# See bugs #515926 and #510960.
# Aaron Bauman <bman@gentoo.org> (updated 2019-11-09)
# Removal in 10 days.
sys-libs/lib-compat
sys-libs/lib-compat-loki
games-action/phobiaii
games-fps/rtcw
games-fps/unreal
games-strategy/heroes3
games-strategy/smac
# Mikle Kolyada <zlogene@gentoo.org> (2014-06-27)
# Masked for proper testing. (Major updates in the code).
~dev-perl/PortageXS-0.2.12

View File

@@ -1 +0,0 @@
DIST lib-compat-loki-0.2.tar.bz2 1441552 BLAKE2B 5aad70aa780a31a54176cdb70410cd526e7c658cc9877374f03bb45731c9e48b46024e4f8bda162d7dd18dd310530427491a93c75606d3631112d0eb48919af1 SHA512 7a090d9bfb3cb3a184d64030f9c85070034365e83c9e11b315df98995d15933d13542069f15b7bd1dd1c4f1cfab3466c1b354bdc073172573846347ecc8c8527

View File

@@ -1,39 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
DESCRIPTION="Compatibility libc6 libraries for Loki games"
HOMEPAGE="https://www.gentoo.org/"
SRC_URI="http://www.blfh.de/gentoo/distfiles/${P}.tar.bz2
https://dev.gentoo.org/~wolf31o2/sources/lib-compat-loki/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="sys-libs/lib-compat
>=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]"
# I'm not quite sure if this is necessary:
RESTRICT="strip"
S=${WORKDIR}/${P}/x86
src_prepare() {
# rename the libs in order to _never_ overwrite any existing lib.
mv libc-2.2.5.so loki_libc.so.6 || die
mv ld-2.2.5.so loki_ld-linux.so.2 || die
mv libnss_files-2.2.5.so loki_libnss_files.so.2 || die
mv libsmpeg-0.4.so.0 loki_libsmpeg-0.4.so.0 || die
}
src_install() {
ABI=x86
into /
dolib.so loki_ld-linux.so.2
rm -f loki_ld-linux.so.2
into /usr
dolib.so *.so*
}

View File

@@ -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>

View File

@@ -1 +0,0 @@
DIST lib-compat-1.5.tar.bz2 110305 BLAKE2B d103cd4df22d018e03cdd940a74a50ed79a121863dced17b199a0dee4c2fb7a6fd5547d62f70e61cca3933162e2433b1fa2a3edb1cc2991ac0417b509f42419b SHA512 b23b12ab6ecf8c3840ccaebd9c7823651c687fbfaa845b071fa2c2970e616345650f2688cbfca35097686c6b914ab637d166461adb2122f5f7d37c7870a68472

View File

@@ -1,16 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Compatibility C++ library for very old programs"
HOMEPAGE="https://www.gentoo.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="libstdc++" # corresponding source code in gcc-2.95.3.tar.bz2
SLOT="0"
KEYWORDS="-* ~amd64 ~x86 ~x86-linux"
src_install() {
ABI=x86 dolib.so x86/libstdc++-libc6.2-2.so.3
}

View File

@@ -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>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
</maintainer>
</pkgmetadata>