[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-06 Thread Sam James
commit: 0a6141fe0bb2d4d4dfa3cedd20408018335dbc27
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 01:00:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 01:57:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6141fe

games-fps/ut2004-demo: port to EAPI 7, games.eclass--

Signed-off-by: Sam James  gentoo.org>

 ...o-3334-r1.ebuild => ut2004-demo-3334-r2.ebuild} | 39 +-
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
similarity index 78%
rename from games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 51bc3e089f0..7615513c46a 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -1,33 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker games
+EAPI=7
+
+inherit desktop unpacker wrapper
 
 MY_P="ut2004-lnx-demo${PV}.run"
 DESCRIPTION="Demo for the critically-acclaimed first-person shooter"
 HOMEPAGE="http://www.unrealtournament.com/";
 SRC_URI="mirror://gentoo/${MY_P}"
+S="${WORKDIR}"
 
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip"
-IUSE=""
 
-DEPEND=""
 RDEPEND="
sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-QA_PREBUILT="${dir:1}/System/*"
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
+QA_PREBUILT="${dir}/System/*"
 
 src_unpack() {
unpack_makeself
@@ -35,37 +32,31 @@ src_unpack() {
 }
 
 src_install() {
-   dodir "${dir}"
+   dodir ${dir}
 
tar xjf ut2004demo.tar.bz2 -C "${Ddir}" || die
 
-   if use x86
-   then
+   if use x86 ; then
tar xjf linux-x86.tar.bz2 || die
-   fi
-   if use amd64
-   then
+   elif use amd64 ; then
tar xjf linux-amd64.tar.bz2 || die
fi
 
-   insinto "${dir}"
+   insinto ${dir}
doins README.linux ut2004.xpm
newicon ut2004.xpm ut2004-demo.xpm
 
-   exeinto "${dir}"
+   exeinto ${dir}
doexe bin/ut2004-demo
 
-   exeinto "${dir}"/System
+   exeinto ${dir}/System
doexe System/{libSDL-1.2.so.0,openal.so,ucc-bin,ut2004-bin}
 
-   games_make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
+   make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
make_desktop_entry ut2004-demo "Unreal Tournament 2004 (Demo)" 
ut2004-demo
-
-   prepgamesdirs
 }
 
 pkg_postinst() {
-   games_pkg_postinst
echo
elog "For Text To Speech:"
elog "   1) emerge festival speechd"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-17 Thread Sam James
commit: fe13d08329fdb62238d7131d2742697254f0bf88
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:27:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:31:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe13d083

games-fps/ut2004-demo: fix MissingLicenseRestricts

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 7615513c46a..51362724f16 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
sys-libs/libstdc++-v3:5
@@ -22,6 +22,7 @@ RDEPEND="
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
+
 dir=opt/${PN}
 Ddir="${ED}"/${dir}
 QA_PREBUILT="${dir}/System/*"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2020-06-21 Thread Sergei Trofimovich
commit: 41dc7a5c35d49593438aaba6929d57544365a008
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 10:10:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 10:25:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dc7a5c

games-fps/ut2004-demo: move away from virtual/libstdc++

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../{ut2004-demo-3334.ebuild => ut2004-demo-3334-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
similarity index 96%
rename from games-fps/ut2004-demo/ut2004-demo-3334.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
index 53cca08e3d8..51bc3e089f0 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="
-   virtual/libstdc++:3.3
+   sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-06 Thread Sam James
commit: 0a6141fe0bb2d4d4dfa3cedd20408018335dbc27
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 01:00:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 01:57:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6141fe

games-fps/ut2004-demo: port to EAPI 7, games.eclass--

Signed-off-by: Sam James  gentoo.org>

 ...o-3334-r1.ebuild => ut2004-demo-3334-r2.ebuild} | 39 +-
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
similarity index 78%
rename from games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 51bc3e089f0..7615513c46a 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -1,33 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker games
+EAPI=7
+
+inherit desktop unpacker wrapper
 
 MY_P="ut2004-lnx-demo${PV}.run"
 DESCRIPTION="Demo for the critically-acclaimed first-person shooter"
 HOMEPAGE="http://www.unrealtournament.com/";
 SRC_URI="mirror://gentoo/${MY_P}"
+S="${WORKDIR}"
 
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip"
-IUSE=""
 
-DEPEND=""
 RDEPEND="
sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-QA_PREBUILT="${dir:1}/System/*"
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
+QA_PREBUILT="${dir}/System/*"
 
 src_unpack() {
unpack_makeself
@@ -35,37 +32,31 @@ src_unpack() {
 }
 
 src_install() {
-   dodir "${dir}"
+   dodir ${dir}
 
tar xjf ut2004demo.tar.bz2 -C "${Ddir}" || die
 
-   if use x86
-   then
+   if use x86 ; then
tar xjf linux-x86.tar.bz2 || die
-   fi
-   if use amd64
-   then
+   elif use amd64 ; then
tar xjf linux-amd64.tar.bz2 || die
fi
 
-   insinto "${dir}"
+   insinto ${dir}
doins README.linux ut2004.xpm
newicon ut2004.xpm ut2004-demo.xpm
 
-   exeinto "${dir}"
+   exeinto ${dir}
doexe bin/ut2004-demo
 
-   exeinto "${dir}"/System
+   exeinto ${dir}/System
doexe System/{libSDL-1.2.so.0,openal.so,ucc-bin,ut2004-bin}
 
-   games_make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
+   make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
make_desktop_entry ut2004-demo "Unreal Tournament 2004 (Demo)" 
ut2004-demo
-
-   prepgamesdirs
 }
 
 pkg_postinst() {
-   games_pkg_postinst
echo
elog "For Text To Speech:"
elog "   1) emerge festival speechd"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-17 Thread Sam James
commit: fe13d08329fdb62238d7131d2742697254f0bf88
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:27:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:31:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe13d083

games-fps/ut2004-demo: fix MissingLicenseRestricts

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 7615513c46a..51362724f16 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
sys-libs/libstdc++-v3:5
@@ -22,6 +22,7 @@ RDEPEND="
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
+
 dir=opt/${PN}
 Ddir="${ED}"/${dir}
 QA_PREBUILT="${dir}/System/*"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-06 Thread Sam James
commit: 0a6141fe0bb2d4d4dfa3cedd20408018335dbc27
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 01:00:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 01:57:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6141fe

games-fps/ut2004-demo: port to EAPI 7, games.eclass--

Signed-off-by: Sam James  gentoo.org>

 ...o-3334-r1.ebuild => ut2004-demo-3334-r2.ebuild} | 39 +-
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
similarity index 78%
rename from games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 51bc3e089f0..7615513c46a 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -1,33 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker games
+EAPI=7
+
+inherit desktop unpacker wrapper
 
 MY_P="ut2004-lnx-demo${PV}.run"
 DESCRIPTION="Demo for the critically-acclaimed first-person shooter"
 HOMEPAGE="http://www.unrealtournament.com/";
 SRC_URI="mirror://gentoo/${MY_P}"
+S="${WORKDIR}"
 
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip"
-IUSE=""
 
-DEPEND=""
 RDEPEND="
sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-QA_PREBUILT="${dir:1}/System/*"
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
+QA_PREBUILT="${dir}/System/*"
 
 src_unpack() {
unpack_makeself
@@ -35,37 +32,31 @@ src_unpack() {
 }
 
 src_install() {
-   dodir "${dir}"
+   dodir ${dir}
 
tar xjf ut2004demo.tar.bz2 -C "${Ddir}" || die
 
-   if use x86
-   then
+   if use x86 ; then
tar xjf linux-x86.tar.bz2 || die
-   fi
-   if use amd64
-   then
+   elif use amd64 ; then
tar xjf linux-amd64.tar.bz2 || die
fi
 
-   insinto "${dir}"
+   insinto ${dir}
doins README.linux ut2004.xpm
newicon ut2004.xpm ut2004-demo.xpm
 
-   exeinto "${dir}"
+   exeinto ${dir}
doexe bin/ut2004-demo
 
-   exeinto "${dir}"/System
+   exeinto ${dir}/System
doexe System/{libSDL-1.2.so.0,openal.so,ucc-bin,ut2004-bin}
 
-   games_make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
+   make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
make_desktop_entry ut2004-demo "Unreal Tournament 2004 (Demo)" 
ut2004-demo
-
-   prepgamesdirs
 }
 
 pkg_postinst() {
-   games_pkg_postinst
echo
elog "For Text To Speech:"
elog "   1) emerge festival speechd"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-17 Thread Sam James
commit: fe13d08329fdb62238d7131d2742697254f0bf88
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:27:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:31:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe13d083

games-fps/ut2004-demo: fix MissingLicenseRestricts

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 7615513c46a..51362724f16 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
sys-libs/libstdc++-v3:5
@@ -22,6 +22,7 @@ RDEPEND="
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
+
 dir=opt/${PN}
 Ddir="${ED}"/${dir}
 QA_PREBUILT="${dir}/System/*"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2020-06-21 Thread Sergei Trofimovich
commit: 41dc7a5c35d49593438aaba6929d57544365a008
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 10:10:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 10:25:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dc7a5c

games-fps/ut2004-demo: move away from virtual/libstdc++

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../{ut2004-demo-3334.ebuild => ut2004-demo-3334-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
similarity index 96%
rename from games-fps/ut2004-demo/ut2004-demo-3334.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
index 53cca08e3d8..51bc3e089f0 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="
-   virtual/libstdc++:3.3
+   sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2020-06-21 Thread Sergei Trofimovich
commit: 41dc7a5c35d49593438aaba6929d57544365a008
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 10:10:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 10:25:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dc7a5c

games-fps/ut2004-demo: move away from virtual/libstdc++

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../{ut2004-demo-3334.ebuild => ut2004-demo-3334-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
similarity index 96%
rename from games-fps/ut2004-demo/ut2004-demo-3334.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
index 53cca08e3d8..51bc3e089f0 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="
-   virtual/libstdc++:3.3
+   sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-06 Thread Sam James
commit: 0a6141fe0bb2d4d4dfa3cedd20408018335dbc27
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 01:00:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 01:57:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6141fe

games-fps/ut2004-demo: port to EAPI 7, games.eclass--

Signed-off-by: Sam James  gentoo.org>

 ...o-3334-r1.ebuild => ut2004-demo-3334-r2.ebuild} | 39 +-
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
similarity index 78%
rename from games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 51bc3e089f0..7615513c46a 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -1,33 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker games
+EAPI=7
+
+inherit desktop unpacker wrapper
 
 MY_P="ut2004-lnx-demo${PV}.run"
 DESCRIPTION="Demo for the critically-acclaimed first-person shooter"
 HOMEPAGE="http://www.unrealtournament.com/";
 SRC_URI="mirror://gentoo/${MY_P}"
+S="${WORKDIR}"
 
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip"
-IUSE=""
 
-DEPEND=""
 RDEPEND="
sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-QA_PREBUILT="${dir:1}/System/*"
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
+QA_PREBUILT="${dir}/System/*"
 
 src_unpack() {
unpack_makeself
@@ -35,37 +32,31 @@ src_unpack() {
 }
 
 src_install() {
-   dodir "${dir}"
+   dodir ${dir}
 
tar xjf ut2004demo.tar.bz2 -C "${Ddir}" || die
 
-   if use x86
-   then
+   if use x86 ; then
tar xjf linux-x86.tar.bz2 || die
-   fi
-   if use amd64
-   then
+   elif use amd64 ; then
tar xjf linux-amd64.tar.bz2 || die
fi
 
-   insinto "${dir}"
+   insinto ${dir}
doins README.linux ut2004.xpm
newicon ut2004.xpm ut2004-demo.xpm
 
-   exeinto "${dir}"
+   exeinto ${dir}
doexe bin/ut2004-demo
 
-   exeinto "${dir}"/System
+   exeinto ${dir}/System
doexe System/{libSDL-1.2.so.0,openal.so,ucc-bin,ut2004-bin}
 
-   games_make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
+   make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
make_desktop_entry ut2004-demo "Unreal Tournament 2004 (Demo)" 
ut2004-demo
-
-   prepgamesdirs
 }
 
 pkg_postinst() {
-   games_pkg_postinst
echo
elog "For Text To Speech:"
elog "   1) emerge festival speechd"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-17 Thread Sam James
commit: fe13d08329fdb62238d7131d2742697254f0bf88
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:27:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:31:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe13d083

games-fps/ut2004-demo: fix MissingLicenseRestricts

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 7615513c46a..51362724f16 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
sys-libs/libstdc++-v3:5
@@ -22,6 +22,7 @@ RDEPEND="
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
+
 dir=opt/${PN}
 Ddir="${ED}"/${dir}
 QA_PREBUILT="${dir}/System/*"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2020-06-21 Thread Sergei Trofimovich
commit: 41dc7a5c35d49593438aaba6929d57544365a008
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 10:10:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 10:25:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dc7a5c

games-fps/ut2004-demo: move away from virtual/libstdc++

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../{ut2004-demo-3334.ebuild => ut2004-demo-3334-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
similarity index 96%
rename from games-fps/ut2004-demo/ut2004-demo-3334.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
index 53cca08e3d8..51bc3e089f0 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="
-   virtual/libstdc++:3.3
+   sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-06 Thread Sam James
commit: 0a6141fe0bb2d4d4dfa3cedd20408018335dbc27
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 01:00:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 01:57:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6141fe

games-fps/ut2004-demo: port to EAPI 7, games.eclass--

Signed-off-by: Sam James  gentoo.org>

 ...o-3334-r1.ebuild => ut2004-demo-3334-r2.ebuild} | 39 +-
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
similarity index 78%
rename from games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 51bc3e089f0..7615513c46a 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -1,33 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker games
+EAPI=7
+
+inherit desktop unpacker wrapper
 
 MY_P="ut2004-lnx-demo${PV}.run"
 DESCRIPTION="Demo for the critically-acclaimed first-person shooter"
 HOMEPAGE="http://www.unrealtournament.com/";
 SRC_URI="mirror://gentoo/${MY_P}"
+S="${WORKDIR}"
 
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip"
-IUSE=""
 
-DEPEND=""
 RDEPEND="
sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-QA_PREBUILT="${dir:1}/System/*"
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
+QA_PREBUILT="${dir}/System/*"
 
 src_unpack() {
unpack_makeself
@@ -35,37 +32,31 @@ src_unpack() {
 }
 
 src_install() {
-   dodir "${dir}"
+   dodir ${dir}
 
tar xjf ut2004demo.tar.bz2 -C "${Ddir}" || die
 
-   if use x86
-   then
+   if use x86 ; then
tar xjf linux-x86.tar.bz2 || die
-   fi
-   if use amd64
-   then
+   elif use amd64 ; then
tar xjf linux-amd64.tar.bz2 || die
fi
 
-   insinto "${dir}"
+   insinto ${dir}
doins README.linux ut2004.xpm
newicon ut2004.xpm ut2004-demo.xpm
 
-   exeinto "${dir}"
+   exeinto ${dir}
doexe bin/ut2004-demo
 
-   exeinto "${dir}"/System
+   exeinto ${dir}/System
doexe System/{libSDL-1.2.so.0,openal.so,ucc-bin,ut2004-bin}
 
-   games_make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
+   make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
make_desktop_entry ut2004-demo "Unreal Tournament 2004 (Demo)" 
ut2004-demo
-
-   prepgamesdirs
 }
 
 pkg_postinst() {
-   games_pkg_postinst
echo
elog "For Text To Speech:"
elog "   1) emerge festival speechd"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-17 Thread Sam James
commit: fe13d08329fdb62238d7131d2742697254f0bf88
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:27:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:31:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe13d083

games-fps/ut2004-demo: fix MissingLicenseRestricts

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 7615513c46a..51362724f16 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
sys-libs/libstdc++-v3:5
@@ -22,6 +22,7 @@ RDEPEND="
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
+
 dir=opt/${PN}
 Ddir="${ED}"/${dir}
 QA_PREBUILT="${dir}/System/*"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2020-06-21 Thread Sergei Trofimovich
commit: 41dc7a5c35d49593438aaba6929d57544365a008
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 10:10:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 10:25:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dc7a5c

games-fps/ut2004-demo: move away from virtual/libstdc++

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../{ut2004-demo-3334.ebuild => ut2004-demo-3334-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
similarity index 96%
rename from games-fps/ut2004-demo/ut2004-demo-3334.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
index 53cca08e3d8..51bc3e089f0 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="
-   virtual/libstdc++:3.3
+   sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-06 Thread Sam James
commit: 0a6141fe0bb2d4d4dfa3cedd20408018335dbc27
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 01:00:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 01:57:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6141fe

games-fps/ut2004-demo: port to EAPI 7, games.eclass--

Signed-off-by: Sam James  gentoo.org>

 ...o-3334-r1.ebuild => ut2004-demo-3334-r2.ebuild} | 39 +-
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
similarity index 78%
rename from games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 51bc3e089f0..7615513c46a 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -1,33 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker games
+EAPI=7
+
+inherit desktop unpacker wrapper
 
 MY_P="ut2004-lnx-demo${PV}.run"
 DESCRIPTION="Demo for the critically-acclaimed first-person shooter"
 HOMEPAGE="http://www.unrealtournament.com/";
 SRC_URI="mirror://gentoo/${MY_P}"
+S="${WORKDIR}"
 
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip"
-IUSE=""
 
-DEPEND=""
 RDEPEND="
sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-QA_PREBUILT="${dir:1}/System/*"
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
+QA_PREBUILT="${dir}/System/*"
 
 src_unpack() {
unpack_makeself
@@ -35,37 +32,31 @@ src_unpack() {
 }
 
 src_install() {
-   dodir "${dir}"
+   dodir ${dir}
 
tar xjf ut2004demo.tar.bz2 -C "${Ddir}" || die
 
-   if use x86
-   then
+   if use x86 ; then
tar xjf linux-x86.tar.bz2 || die
-   fi
-   if use amd64
-   then
+   elif use amd64 ; then
tar xjf linux-amd64.tar.bz2 || die
fi
 
-   insinto "${dir}"
+   insinto ${dir}
doins README.linux ut2004.xpm
newicon ut2004.xpm ut2004-demo.xpm
 
-   exeinto "${dir}"
+   exeinto ${dir}
doexe bin/ut2004-demo
 
-   exeinto "${dir}"/System
+   exeinto ${dir}/System
doexe System/{libSDL-1.2.so.0,openal.so,ucc-bin,ut2004-bin}
 
-   games_make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
+   make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
make_desktop_entry ut2004-demo "Unreal Tournament 2004 (Demo)" 
ut2004-demo
-
-   prepgamesdirs
 }
 
 pkg_postinst() {
-   games_pkg_postinst
echo
elog "For Text To Speech:"
elog "   1) emerge festival speechd"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-17 Thread Sam James
commit: fe13d08329fdb62238d7131d2742697254f0bf88
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:27:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:31:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe13d083

games-fps/ut2004-demo: fix MissingLicenseRestricts

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 7615513c46a..51362724f16 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
sys-libs/libstdc++-v3:5
@@ -22,6 +22,7 @@ RDEPEND="
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
+
 dir=opt/${PN}
 Ddir="${ED}"/${dir}
 QA_PREBUILT="${dir}/System/*"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2020-06-21 Thread Sergei Trofimovich
commit: 41dc7a5c35d49593438aaba6929d57544365a008
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 10:10:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 10:25:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dc7a5c

games-fps/ut2004-demo: move away from virtual/libstdc++

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../{ut2004-demo-3334.ebuild => ut2004-demo-3334-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
similarity index 96%
rename from games-fps/ut2004-demo/ut2004-demo-3334.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
index 53cca08e3d8..51bc3e089f0 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="
-   virtual/libstdc++:3.3
+   sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-06 Thread Sam James
commit: 0a6141fe0bb2d4d4dfa3cedd20408018335dbc27
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 01:00:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 01:57:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6141fe

games-fps/ut2004-demo: port to EAPI 7, games.eclass--

Signed-off-by: Sam James  gentoo.org>

 ...o-3334-r1.ebuild => ut2004-demo-3334-r2.ebuild} | 39 +-
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
similarity index 78%
rename from games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 51bc3e089f0..7615513c46a 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -1,33 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker games
+EAPI=7
+
+inherit desktop unpacker wrapper
 
 MY_P="ut2004-lnx-demo${PV}.run"
 DESCRIPTION="Demo for the critically-acclaimed first-person shooter"
 HOMEPAGE="http://www.unrealtournament.com/";
 SRC_URI="mirror://gentoo/${MY_P}"
+S="${WORKDIR}"
 
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip"
-IUSE=""
 
-DEPEND=""
 RDEPEND="
sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-QA_PREBUILT="${dir:1}/System/*"
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
+QA_PREBUILT="${dir}/System/*"
 
 src_unpack() {
unpack_makeself
@@ -35,37 +32,31 @@ src_unpack() {
 }
 
 src_install() {
-   dodir "${dir}"
+   dodir ${dir}
 
tar xjf ut2004demo.tar.bz2 -C "${Ddir}" || die
 
-   if use x86
-   then
+   if use x86 ; then
tar xjf linux-x86.tar.bz2 || die
-   fi
-   if use amd64
-   then
+   elif use amd64 ; then
tar xjf linux-amd64.tar.bz2 || die
fi
 
-   insinto "${dir}"
+   insinto ${dir}
doins README.linux ut2004.xpm
newicon ut2004.xpm ut2004-demo.xpm
 
-   exeinto "${dir}"
+   exeinto ${dir}
doexe bin/ut2004-demo
 
-   exeinto "${dir}"/System
+   exeinto ${dir}/System
doexe System/{libSDL-1.2.so.0,openal.so,ucc-bin,ut2004-bin}
 
-   games_make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
+   make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
make_desktop_entry ut2004-demo "Unreal Tournament 2004 (Demo)" 
ut2004-demo
-
-   prepgamesdirs
 }
 
 pkg_postinst() {
-   games_pkg_postinst
echo
elog "For Text To Speech:"
elog "   1) emerge festival speechd"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-17 Thread Sam James
commit: fe13d08329fdb62238d7131d2742697254f0bf88
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:27:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:31:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe13d083

games-fps/ut2004-demo: fix MissingLicenseRestricts

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 7615513c46a..51362724f16 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
sys-libs/libstdc++-v3:5
@@ -22,6 +22,7 @@ RDEPEND="
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
+
 dir=opt/${PN}
 Ddir="${ED}"/${dir}
 QA_PREBUILT="${dir}/System/*"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2020-06-21 Thread Sergei Trofimovich
commit: 41dc7a5c35d49593438aaba6929d57544365a008
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 10:10:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 10:25:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dc7a5c

games-fps/ut2004-demo: move away from virtual/libstdc++

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../{ut2004-demo-3334.ebuild => ut2004-demo-3334-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
similarity index 96%
rename from games-fps/ut2004-demo/ut2004-demo-3334.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
index 53cca08e3d8..51bc3e089f0 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="
-   virtual/libstdc++:3.3
+   sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-17 Thread Sam James
commit: fe13d08329fdb62238d7131d2742697254f0bf88
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 06:27:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:31:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe13d083

games-fps/ut2004-demo: fix MissingLicenseRestricts

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 7615513c46a..51362724f16 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 RDEPEND="
sys-libs/libstdc++-v3:5
@@ -22,6 +22,7 @@ RDEPEND="
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
+
 dir=opt/${PN}
 Ddir="${ED}"/${dir}
 QA_PREBUILT="${dir}/System/*"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2020-06-21 Thread Sergei Trofimovich
commit: 41dc7a5c35d49593438aaba6929d57544365a008
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 10:10:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 10:25:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dc7a5c

games-fps/ut2004-demo: move away from virtual/libstdc++

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../{ut2004-demo-3334.ebuild => ut2004-demo-3334-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
similarity index 96%
rename from games-fps/ut2004-demo/ut2004-demo-3334.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
index 53cca08e3d8..51bc3e089f0 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="
-   virtual/libstdc++:3.3
+   sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2021-04-06 Thread Sam James
commit: 0a6141fe0bb2d4d4dfa3cedd20408018335dbc27
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 01:00:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 01:57:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6141fe

games-fps/ut2004-demo: port to EAPI 7, games.eclass--

Signed-off-by: Sam James  gentoo.org>

 ...o-3334-r1.ebuild => ut2004-demo-3334-r2.ebuild} | 39 +-
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
similarity index 78%
rename from games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
rename to games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
index 51bc3e089f0..7615513c46a 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r2.ebuild
@@ -1,33 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils unpacker games
+EAPI=7
+
+inherit desktop unpacker wrapper
 
 MY_P="ut2004-lnx-demo${PV}.run"
 DESCRIPTION="Demo for the critically-acclaimed first-person shooter"
 HOMEPAGE="http://www.unrealtournament.com/";
 SRC_URI="mirror://gentoo/${MY_P}"
+S="${WORKDIR}"
 
 LICENSE="ut2003-demo"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip"
-IUSE=""
 
-DEPEND=""
 RDEPEND="
sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]
 "
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-QA_PREBUILT="${dir:1}/System/*"
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
+QA_PREBUILT="${dir}/System/*"
 
 src_unpack() {
unpack_makeself
@@ -35,37 +32,31 @@ src_unpack() {
 }
 
 src_install() {
-   dodir "${dir}"
+   dodir ${dir}
 
tar xjf ut2004demo.tar.bz2 -C "${Ddir}" || die
 
-   if use x86
-   then
+   if use x86 ; then
tar xjf linux-x86.tar.bz2 || die
-   fi
-   if use amd64
-   then
+   elif use amd64 ; then
tar xjf linux-amd64.tar.bz2 || die
fi
 
-   insinto "${dir}"
+   insinto ${dir}
doins README.linux ut2004.xpm
newicon ut2004.xpm ut2004-demo.xpm
 
-   exeinto "${dir}"
+   exeinto ${dir}
doexe bin/ut2004-demo
 
-   exeinto "${dir}"/System
+   exeinto ${dir}/System
doexe System/{libSDL-1.2.so.0,openal.so,ucc-bin,ut2004-bin}
 
-   games_make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
+   make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}"
make_desktop_entry ut2004-demo "Unreal Tournament 2004 (Demo)" 
ut2004-demo
-
-   prepgamesdirs
 }
 
 pkg_postinst() {
-   games_pkg_postinst
echo
elog "For Text To Speech:"
elog "   1) emerge festival speechd"



[gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-demo/

2022-10-08 Thread Sam James
commit: 858faf4867a264f1b63433dddf4f007b07586ecc
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 16:49:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 17:59:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=858faf48

games-fps/ut2004-demo: depend on glibc (binpkg)

Signed-off-by: Sam James  gentoo.org>

 games-fps/ut2004-demo/ut2004-demo-3334-r3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-fps/ut2004-demo/ut2004-demo-3334-r3.ebuild 
b/games-fps/ut2004-demo/ut2004-demo-3334-r3.ebuild
index f3e7fe14b61e..c63c698427b0 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3334-r3.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3334-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,6 +17,7 @@ KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="bindist mirror strip"
 
 RDEPEND="
+   sys-libs/glibc
sys-libs/libstdc++-v3:5
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]