* [gentoo-commits] repo/gentoo:master commit in: games-fps/quake2-data/
@ 2016-01-12 7:47 Michael Sterrett
0 siblings, 0 replies; 3+ messages in thread
From: Michael Sterrett @ 2016-01-12 7:47 UTC (permalink / raw
To: gentoo-commits
commit: e2e6074ae168a9700b9b9119f9672f43fc22a46a
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 07:01:44 2016 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 07:47:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e6074a
games-fps/quake2-data: EAPI=5
Package-Manager: portage-2.2.26
games-fps/quake2-data/quake2-data-3.20.ebuild | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/games-fps/quake2-data/quake2-data-3.20.ebuild b/games-fps/quake2-data/quake2-data-3.20.ebuild
index 4bac1cd..985bad2 100644
--- a/games-fps/quake2-data/quake2-data-3.20.ebuild
+++ b/games-fps/quake2-data/quake2-data-3.20.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=2
+EAPI=5
inherit unpacker eutils cdrom games
DESCRIPTION="iD Software's Quake 2 ... the data files"
@@ -56,16 +56,15 @@ src_install() {
if use videos ; then
insinto "${GAMES_DATADIR}"/quake2/baseq2/video
- doins "${baseq2_cdpath}"/video/* || die "doins videos"
+ doins "${baseq2_cdpath}"/video/*
fi
insinto "${GAMES_DATADIR}"/quake2/baseq2
- doins "${baseq2_cdpath}"/pak0.pak || die "couldnt grab pak0.pak"
- doins baseq2/*.pak || die "couldnt grab release paks"
- doins baseq2/maps.lst || die "couldnt grab maps.lst"
+ doins "${baseq2_cdpath}"/pak0.pak
+ doins baseq2/*.pak baseq2/maps.lst
dodir "${GAMES_DATADIR}"/quake2/baseq2/players
cp -R "${baseq2_cdpath}"/players/* baseq2/players/* \
- "${D}/${GAMES_DATADIR}"/quake2/baseq2/players/ || die "couldnt grab player models"
+ "${D}/${GAMES_DATADIR}"/quake2/baseq2/players/ || die
for mod in ctf rogue xatrix ; do
if [[ -d ${baseq2_cdpath}/../${mod} ]] ; then
@@ -75,13 +74,13 @@ src_install() {
fi
if [[ -n $(ls "${baseq2_cdpath}"/../${mod}/*.pak 2>/dev/null) ]] ; then
insinto "${GAMES_DATADIR}"/quake2/${mod}
- doins "${baseq2_cdpath}"/../${mod}/*.pak || die "doins ${mod} pak"
+ doins "${baseq2_cdpath}"/../${mod}/*.pak
fi
fi
done
insinto "${GAMES_DATADIR}"/quake2/ctf
- doins ctf/*.{cfg,ico,pak} || die "couldnt grab ctf"
+ doins ctf/*.{cfg,ico,pak}
prepgamesdirs
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/quake2-data/
@ 2021-04-07 1:58 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-04-07 1:58 UTC (permalink / raw
To: gentoo-commits
commit: c2015ef74c53eb06df23e74a2b6387b0df3d2300
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 7 01:32:46 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 7 01:57:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2015ef7
games-fps/quake2-data: port to EAPI 7, games.eclass--
Signed-off-by: Sam James <sam <AT> gentoo.org>
...data-3.20.ebuild => quake2-data-3.20-r1.ebuild} | 48 +++++++++-------------
1 file changed, 20 insertions(+), 28 deletions(-)
diff --git a/games-fps/quake2-data/quake2-data-3.20.ebuild b/games-fps/quake2-data/quake2-data-3.20-r1.ebuild
similarity index 61%
rename from games-fps/quake2-data/quake2-data-3.20.ebuild
rename to games-fps/quake2-data/quake2-data-3.20-r1.ebuild
index d7eda874782..f631098f495 100644
--- a/games-fps/quake2-data/quake2-data-3.20.ebuild
+++ b/games-fps/quake2-data/quake2-data-3.20-r1.ebuild
@@ -1,30 +1,22 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit unpacker eutils cdrom games
+EAPI=7
+
+inherit cdrom unpacker
DESCRIPTION="iD Software's Quake 2 ... the data files"
HOMEPAGE="https://www.idsoftware.com/"
SRC_URI="mirror://idsoftware/quake2/q2-${PV}-x86-full-ctf.exe"
+S="${WORKDIR}"
LICENSE="Q2EULA"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~x86"
IUSE="videos"
-DEPEND="app-arch/unzip"
-RDEPEND=""
-
-S=${WORKDIR}
-
-pkg_setup() {
- games_pkg_setup
- if has_version "games-fps/quake2-demodata[symlink]" ; then
- eerror "The symlink for the demo data conflicts with the cdinstall data"
- die "Unmerge games-fps/quake2-demodata to remove the conflict"
- fi
-}
+RDEPEND="!games-fps/quake2-demodata[symlink]"
+BDEPEND="app-arch/unzip"
src_unpack() {
export CDROM_NAME_SET=("Existing Install" "Ultimate Quake Edition" "Quake2 CD" "Quake4 Bonus DVD")
@@ -36,10 +28,11 @@ src_unpack() {
src_install() {
dodoc DOCS/* 3.20_Changes.txt
newdoc ctf/readme.txt ctf-readme.txt
+
case ${CDROM_SET} in
- 0) dohtml -r "${CDROM_ROOT}"/Install/DOCS/quake2_manual/* ;;
- 1) dohtml -r "${CDROM_ROOT}"/Install/Docs/quake2_manual/* ;;
- 2) dohtml -r "${CDROM_ROOT}"/Install/DOCS/quake2_manual/* ;;
+ 0) { docinto html && dodoc -r "${CDROM_ROOT}"/Install/DOCS/quake2_manual/* ; } ;;
+ 1) { docinto html && dodoc -r "${CDROM_ROOT}"/Install/Docs/quake2_manual/* ; } ;;
+ 2) { docinto html && dodoc -r "${CDROM_ROOT}"/Install/DOCS/quake2_manual/* ; } ;;
3) dodoc "${CDROM_ROOT}"/Docs/* ;;
esac
@@ -51,35 +44,34 @@ src_install() {
3) baseq2_cdpath=${CDROM_ROOT}/setup/Data/baseq2;;
esac
- dodir "${GAMES_DATADIR}"/quake2/baseq2
+ dodir /usr/share/quake2/baseq2
if use videos ; then
- insinto "${GAMES_DATADIR}"/quake2/baseq2/video
+ insinto /usr/share/quake2/baseq2/video
doins "${baseq2_cdpath}"/video/*
fi
- insinto "${GAMES_DATADIR}"/quake2/baseq2
+ insinto /usr/share/quake2/baseq2
doins "${baseq2_cdpath}"/pak0.pak
doins baseq2/*.pak baseq2/maps.lst
- dodir "${GAMES_DATADIR}"/quake2/baseq2/players
+
+ dodir /usr/share/quake2/baseq2/players
cp -R "${baseq2_cdpath}"/players/* baseq2/players/* \
- "${D}/${GAMES_DATADIR}"/quake2/baseq2/players/ || die
+ "${ED}"/usr/share/quake2/baseq2/players/ || die
for mod in ctf rogue xatrix ; do
if [[ -d ${baseq2_cdpath}/../${mod} ]] ; then
if use videos && [[ -d ${baseq2_cdpath}/../${mod}/video ]] ; then
- insinto "${GAMES_DATADIR}"/quake2/${mod}/video
+ insinto /usr/share/quake2/${mod}/video
doins "${baseq2_cdpath}"/../${mod}/video/* 2>/dev/null
fi
if [[ -n $(ls "${baseq2_cdpath}"/../${mod}/*.pak 2>/dev/null) ]] ; then
- insinto "${GAMES_DATADIR}"/quake2/${mod}
+ insinto /usr/share/quake2/${mod}
doins "${baseq2_cdpath}"/../${mod}/*.pak
fi
fi
done
- insinto "${GAMES_DATADIR}"/quake2/ctf
+ insinto /usr/share/quake2/ctf
doins ctf/*.{cfg,ico,pak}
-
- prepgamesdirs
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/quake2-data/
@ 2023-12-09 8:54 Ulrich Müller
0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2023-12-09 8:54 UTC (permalink / raw
To: gentoo-commits
commit: 38cefbbc67cc36d24c4adc1d4fb85fad3553a322
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 9 08:44:45 2023 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 9 08:44:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38cefbbc
games-fps/quake2-data: Add bindist restriction
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
games-fps/quake2-data/quake2-data-3.20-r1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/games-fps/quake2-data/quake2-data-3.20-r1.ebuild b/games-fps/quake2-data/quake2-data-3.20-r1.ebuild
index 702e3ee1c698..2aa94b7063e0 100644
--- a/games-fps/quake2-data/quake2-data-3.20-r1.ebuild
+++ b/games-fps/quake2-data/quake2-data-3.20-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Q2EULA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="videos"
+RESTRICT="bindist"
RDEPEND="!games-fps/quake2-demodata[symlink]"
BDEPEND="app-arch/unzip"
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-09 8:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-07 1:58 [gentoo-commits] repo/gentoo:master commit in: games-fps/quake2-data/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2023-12-09 8:54 Ulrich Müller
2016-01-12 7:47 Michael Sterrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox