games-fps/ut2004-bonuspack-xp: New package

These maps were previously included in games-fps/ut2004-bonuspack-ece, but they
should not have been. They were never included in any release of the game or in
any other bonus pack, and they are not installed by OldUnreal's installer.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2026-07-28 23:41:16 +01:00
parent 1010ccfb8a
commit 5100ffd8b6
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST UT2004-ONSBonusMapPack.zip 11018471 BLAKE2B bc915d6942c321df4031b02eaa25f83793b3fa1f2bb916c5d413c5569a3f887b6517fc4dceb8cb914e22be62f58512e727a41d5efbc6066113be12a9da9621d0 SHA512 8193375b89cd6fbc8b00de195797099c128fcf5cb73757bbc57d3c5350c497a878eaf0200f2e0711bf062e25c5d170e05b055c63f85b908b18dcc89572d71fd2

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
DESCRIPTION="UT2004 XP Bonus Maps"
HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004"
SRC_URI="http://unrealmassdestruction.com/downloads/ut2k4/essentials/UT2004-ONSBonusMapPack.zip"
S="${WORKDIR}"
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="strip"
BDEPEND="
app-arch/unzip
>=games-fps/ut2004-3374_pre23
"
RDEPEND="
games-fps/ut2004-data
!games-fps/ut2004-bonuspack-ece
"
src_unpack() {
mkdir Maps || die
cd Maps || die
default
}
src_compile() {
ut2004-ucc exportcache -mod=Gentoo Maps/*.ut2 || die
# The base game already knows about these maps, so it writes the cache to a
# single file rather than separate ones. We must rename to avoid a conflict.
mv -v System/{CacheRecords,${PN}}.ucl || die
}
src_install() {
insinto /opt/ut2004
doins -r *
}