* [gentoo-commits] repo/gentoo:master commit in: games-arcade/diameter/
@ 2016-05-25 2:46 Michael Sterrett
0 siblings, 0 replies; 3+ messages in thread
From: Michael Sterrett @ 2016-05-25 2:46 UTC (permalink / raw
To: gentoo-commits
commit: 70ba89af110593ada4ba751903ec16cde6daddbf
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 02:45:42 2016 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed May 25 02:46:08 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ba89af
games-arcade/diameter: work around the hand-rolled python detection code (bug #582888)
Package-Manager: portage-2.2.28
games-arcade/diameter/diameter-0.4.0.3-r1.ebuild | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild b/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
index fab5994..53de387 100644
--- a/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
+++ b/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -28,16 +28,26 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/gamediameter
+pkg_setup() {
+ python-any-r1_pkg_setup
+ games_pkg_setup
+}
+
src_prepare() {
sed -i \
-e "s:gamediameter:diameter:" \
configure.in || die
mv configure.in configure.ac || die
+ sed -i \
+ -e '/for i in .*\/lib/s:".*:/usr/lib/ ; do:' \
+ -e "/AC_SUBST.*LDFLAGS/s/\".*\"/\$PYTHON_LIBS/" \
+ acinclude.m4 || die
# bug #336812
sed -i \
-e '/gui nebular3.gif/s/gui//' \
data/texture/Makefile.am || die
eautoreconf
+ python_export PYTHON PYTHON_LIBS
}
src_install() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/diameter/
@ 2017-05-26 23:35 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-05-26 23:35 UTC (permalink / raw
To: gentoo-commits
commit: 08852b15962ce54d5ca50991a641582e9bc5636b
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 23:22:03 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri May 26 23:34:59 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08852b15
games-arcade/diameter: Port to EAPI 6
Package-Manager: Portage-2.3.6, Repoman-2.3.2
....4.0.3-r1.ebuild => diameter-0.4.0.3-r2.ebuild} | 29 ++++++++++++----------
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild b/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild
similarity index 79%
rename from games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
rename to games-arcade/diameter/diameter-0.4.0.3-r2.ebuild
index eac428443df..6421dfd3c48 100644
--- a/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
+++ b/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
+
PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1 eutils autotools games
+
+inherit autotools eutils python-single-r1
DESCRIPTION="Arcade game with elements of economy and adventure"
HOMEPAGE="http://gamediameter.sourceforge.net/"
@@ -13,26 +15,25 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND=">=dev-games/guichan-0.8[opengl,sdl]
+RDEPEND="
+ >=dev-games/guichan-0.8[opengl,sdl]
media-libs/libpng:0=
- virtual/opengl
- virtual/glu
media-libs/libsdl[video]
media-libs/sdl-image[gif,jpeg,png]
media-libs/sdl-mixer[mod]
+ virtual/opengl
+ virtual/glu
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
S=${WORKDIR}/gamediameter
-pkg_setup() {
- python-any-r1_pkg_setup
- games_pkg_setup
-}
-
src_prepare() {
+ default
+
sed -i \
-e "s:gamediameter:diameter:" \
configure.in || die
@@ -46,12 +47,14 @@ src_prepare() {
-e '/gui nebular3.gif/s/gui//' \
data/texture/Makefile.am || die
eautoreconf
+
+ # needed, otherwise -lpython2.7 will not be found
python_export PYTHON PYTHON_LIBS
}
src_install() {
default
+
newicon data/texture/gui/eng/main/logo.png ${PN}.png
- make_desktop_entry ${PN} Diameter
- prepgamesdirs
+ make_desktop_entry ${PN} ${PN^}
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/diameter/
@ 2019-03-17 21:58 James Le Cuirot
0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2019-03-17 21:58 UTC (permalink / raw
To: gentoo-commits
commit: c22d79500c46454ca3cc59db01d511cdce08e49b
Author: Daniel Schmidt <gen2xmach1ne <AT> tutanota <DOT> com>
AuthorDate: Sun Mar 17 20:20:11 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 21:58:12 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c22d7950
games-arcade/diameter: fix HOMEPAGE
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Daniel Schmidt <gen2xmach1ne <AT> tutanota.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-arcade/diameter/diameter-0.4.0.3-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild b/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild
index 1f7c45b1a67..a7f2160770d 100644
--- a/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild
+++ b/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
inherit autotools eutils python-single-r1
DESCRIPTION="Arcade game with elements of economy and adventure"
-HOMEPAGE="http://gamediameter.sourceforge.net/"
+HOMEPAGE="https://sourceforge.net/projects/gamediameter/"
SRC_URI="mirror://sourceforge/gamediameter/${P}.tar.bz2"
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-17 21:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25 2:46 [gentoo-commits] repo/gentoo:master commit in: games-arcade/diameter/ Michael Sterrett
-- strict thread matches above, loose matches on Subject: below --
2017-05-26 23:35 David Seifert
2019-03-17 21:58 James Le Cuirot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox