This ebuild installs the data files for the Quake 2 expansion "Ground Zero" Reproducible: Always I'm aware that the games-fps/quake2-data package in portage has a use flag to install this data, but it makes sense to me to have separate ebuilds for separate games. If this ebuild were to be put into portage, the existing games-fps/quake2-data package would have to be changed.
Created attachment 107115 [details] quake2-groundzero-data-1.0.ebuild
Created attachment 107328 [details] quake2-groundzero-data-1.0.ebuild changed LICENSE variable.
Created attachment 107329 [details] license.txt this is the license for this product.
> doins ${CDROM_ROOT}Data/all/pak0.pak || die "Error installing pak0.pak"doins just to be on the safe side - add / before Data, because if you specify CD_ROOT without a trailing slash, it will fail the way it is now. other than that - it works just fine.
(In reply to comment #4) > > doins ${CDROM_ROOT}Data/all/pak0.pak || die "Error installing pak0.pak"doins > > just to be on the safe side - add / before Data, because if you specify CD_ROOT > without a trailing slash, it will fail the way it is now. > > other than that - it works just fine. > I agree. feel free to make the modification, I don't have the motivation at the moment.
Created attachment 202904 [details] Fixed ebuild with more appropriate DEPEND and a message on needing a client Okay, this one has bugged me for a while. A missing "/" in "doins" causes the previous ebuilds to fail. This has now been fixed. Also removed the RDEPEND on games-fps/quake2-icculus, as it's a broken and unmaintained client that doesn't even work right on most systems, especially amd64. Since this expansion is useless without the original Quake 2 game, I've inserted a DEPEND for games-fps/quake2-data. Added elog at the end to inform users they need the original game, and to inform users of the need for a client to play the game, and to list the current selection of working clients that have ebuilds in either the main tree or the Roslin overlay.
Created attachment 238263 [details] fixed CDROM_ROOT issue - quoted variables Updated ebuild with quoted variable paths to allow support for spaces. By the way, I'd like to also request that this be added to portage. Expansion pack support in the main quake2-data is limited to just the Quake 4 DVD as far as I'm aware; anyone with the original expansion pack CDs either must use this ebuild or copy things over manually. It'd be much more convenient to make this available directly through portage.
Quake 2 expansions (both reckoning and ground zero) do NOT need original quake2 data to run. they are complete data sets in themselves, they only need the exe/elf to play. This ebuild does NOT depend on quake2-data in any way.
Created attachment 323838 [details] games-fps/quake2-groundzero-1.0.ebuild Couple updates: 1. cdrom eclass now explicitly included, as required 2. renamed ebuild to simply quake2-groundzero in order to stay consistent with other expansion pack ebuild names for other games. Brandon, I tried uninstalling quake2-data and planing Ground Zero, but it fails to launch. The expansion pack might not actually require the original Quake II data files as you described, but this ebuild, as currently written, does, therefore I'm leaving the dependency in place for now. I don't think this would be a big deal either way, though - I can't think there would be too many people that have the expansion packs and NOT have the original/main game as well.