[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2021-04-19 Thread Sam James
commit: 21416cadaa9a33d4fa053aa916b6162cc1466752
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 21:22:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21416cad

games-arcade/methane: respect CXX

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

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index a3f72605a59..7d0a032b4cc 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -31,7 +31,7 @@ src_prepare() {
-e "s:@GENTOO_DATADIR@:/usr/share:" \
sources/target.cpp || die
 
-   tc-export PKG_CONFIG
+   tc-export CXX PKG_CONFIG
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2015-12-18 Thread Michael Sterrett
commit: 3ee6db048aa445b8e57296bfecaf6c354a33bacf
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Dec 18 09:36:57 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 09:36:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee6db04

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-arcade/methane/methane-1.5.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index b2c5cd1..18daced 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Port from an old amiga game"
@@ -22,7 +22,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp
+   sources/target.cpp || die
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2016-04-01 Thread Michael Sterrett
commit: 2a4a7a2a759ffb1b249bdf50f902c60079bca19c
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Apr  1 08:07:23 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Apr  1 08:07:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4a7a2a

games-arcade/methane: build with gcc5 (bug #573788)

Package-Manager: portage-2.2.26

 games-arcade/methane/methane-1.5.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index 18daced..36af321 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Port from an old amiga game"
 HOMEPAGE="http://methane.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -26,6 +26,7 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
+   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 1dd17a76289757e74606da368767ab65595c1b7c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:27:27 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:27:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd17a76

games-arcade/methane: Drop comments

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index acf9163b76e..d26feb258d7 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-#inherit eutils flag-o-matic games
 inherit desktop
 
 DESCRIPTION="Port from an old amiga game"
@@ -34,7 +33,6 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
-   #append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 39d417ebe104a8bea449666a93292d10cd87351f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:56 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d417eb

games-arcade/methane: Drop old.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1.ebuild | 43 ---
 1 file changed, 43 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
deleted file mode 100644
index 5eb599ba676..000
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-DESCRIPTION="Port from an old amiga game"
-HOMEPAGE="http://methane.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
-   sed -i \
-   -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp || die
-
-   # fix weird parallel make issue wrt #450422
-   mkdir build || die
-   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
-}
-
-src_install() {
-   dogamesbin methane
-   insinto "${GAMES_DATADIR}"/${PN}
-   doins resources/*
-   dodir "${GAMES_STATEDIR}"
-   touch "${D}/${GAMES_STATEDIR}"/methanescores
-   fperms g+w "${GAMES_STATEDIR}"/methanescores
-   newicon docs/puff.gif ${PN}.gif
-   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
-   dodoc authors.txt history.txt readme.txt
-   dohtml docs/*
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2016-04-01 Thread Michael Sterrett
commit: 2a4a7a2a759ffb1b249bdf50f902c60079bca19c
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Apr  1 08:07:23 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Apr  1 08:07:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4a7a2a

games-arcade/methane: build with gcc5 (bug #573788)

Package-Manager: portage-2.2.26

 games-arcade/methane/methane-1.5.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index 18daced..36af321 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Port from an old amiga game"
 HOMEPAGE="http://methane.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -26,6 +26,7 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
+   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2015-12-18 Thread Michael Sterrett
commit: 3ee6db048aa445b8e57296bfecaf6c354a33bacf
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Dec 18 09:36:57 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 09:36:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee6db04

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-arcade/methane/methane-1.5.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index b2c5cd1..18daced 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Port from an old amiga game"
@@ -22,7 +22,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp
+   sources/target.cpp || die
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 1dd17a76289757e74606da368767ab65595c1b7c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:27:27 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:27:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd17a76

games-arcade/methane: Drop comments

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index acf9163b76e..d26feb258d7 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-#inherit eutils flag-o-matic games
 inherit desktop
 
 DESCRIPTION="Port from an old amiga game"
@@ -34,7 +33,6 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
-   #append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 39d417ebe104a8bea449666a93292d10cd87351f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:56 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d417eb

games-arcade/methane: Drop old.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1.ebuild | 43 ---
 1 file changed, 43 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
deleted file mode 100644
index 5eb599ba676..000
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-DESCRIPTION="Port from an old amiga game"
-HOMEPAGE="http://methane.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
-   sed -i \
-   -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp || die
-
-   # fix weird parallel make issue wrt #450422
-   mkdir build || die
-   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
-}
-
-src_install() {
-   dogamesbin methane
-   insinto "${GAMES_DATADIR}"/${PN}
-   doins resources/*
-   dodir "${GAMES_STATEDIR}"
-   touch "${D}/${GAMES_STATEDIR}"/methanescores
-   fperms g+w "${GAMES_STATEDIR}"/methanescores
-   newicon docs/puff.gif ${PN}.gif
-   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
-   dodoc authors.txt history.txt readme.txt
-   dohtml docs/*
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2016-04-01 Thread Michael Sterrett
commit: 2a4a7a2a759ffb1b249bdf50f902c60079bca19c
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Apr  1 08:07:23 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Apr  1 08:07:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4a7a2a

games-arcade/methane: build with gcc5 (bug #573788)

Package-Manager: portage-2.2.26

 games-arcade/methane/methane-1.5.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index 18daced..36af321 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Port from an old amiga game"
 HOMEPAGE="http://methane.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -26,6 +26,7 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
+   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2015-12-18 Thread Michael Sterrett
commit: 3ee6db048aa445b8e57296bfecaf6c354a33bacf
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Dec 18 09:36:57 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 09:36:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee6db04

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-arcade/methane/methane-1.5.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index b2c5cd1..18daced 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Port from an old amiga game"
@@ -22,7 +22,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp
+   sources/target.cpp || die
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 1dd17a76289757e74606da368767ab65595c1b7c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:27:27 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:27:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd17a76

games-arcade/methane: Drop comments

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index acf9163b76e..d26feb258d7 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-#inherit eutils flag-o-matic games
 inherit desktop
 
 DESCRIPTION="Port from an old amiga game"
@@ -34,7 +33,6 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
-   #append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 39d417ebe104a8bea449666a93292d10cd87351f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:56 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d417eb

games-arcade/methane: Drop old.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1.ebuild | 43 ---
 1 file changed, 43 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
deleted file mode 100644
index 5eb599ba676..000
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-DESCRIPTION="Port from an old amiga game"
-HOMEPAGE="http://methane.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
-   sed -i \
-   -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp || die
-
-   # fix weird parallel make issue wrt #450422
-   mkdir build || die
-   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
-}
-
-src_install() {
-   dogamesbin methane
-   insinto "${GAMES_DATADIR}"/${PN}
-   doins resources/*
-   dodir "${GAMES_STATEDIR}"
-   touch "${D}/${GAMES_STATEDIR}"/methanescores
-   fperms g+w "${GAMES_STATEDIR}"/methanescores
-   newicon docs/puff.gif ${PN}.gif
-   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
-   dodoc authors.txt history.txt readme.txt
-   dohtml docs/*
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2021-04-19 Thread Sam James
commit: 21416cadaa9a33d4fa053aa916b6162cc1466752
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 21:22:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21416cad

games-arcade/methane: respect CXX

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

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index a3f72605a59..7d0a032b4cc 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -31,7 +31,7 @@ src_prepare() {
-e "s:@GENTOO_DATADIR@:/usr/share:" \
sources/target.cpp || die
 
-   tc-export PKG_CONFIG
+   tc-export CXX PKG_CONFIG
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2021-04-19 Thread Sam James
commit: 21416cadaa9a33d4fa053aa916b6162cc1466752
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 21:22:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21416cad

games-arcade/methane: respect CXX

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

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index a3f72605a59..7d0a032b4cc 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -31,7 +31,7 @@ src_prepare() {
-e "s:@GENTOO_DATADIR@:/usr/share:" \
sources/target.cpp || die
 
-   tc-export PKG_CONFIG
+   tc-export CXX PKG_CONFIG
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2021-04-19 Thread Sam James
commit: 21416cadaa9a33d4fa053aa916b6162cc1466752
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 21:22:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21416cad

games-arcade/methane: respect CXX

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

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index a3f72605a59..7d0a032b4cc 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -31,7 +31,7 @@ src_prepare() {
-e "s:@GENTOO_DATADIR@:/usr/share:" \
sources/target.cpp || die
 
-   tc-export PKG_CONFIG
+   tc-export CXX PKG_CONFIG
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2015-12-18 Thread Michael Sterrett
commit: 3ee6db048aa445b8e57296bfecaf6c354a33bacf
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Dec 18 09:36:57 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 09:36:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee6db04

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-arcade/methane/methane-1.5.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index b2c5cd1..18daced 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Port from an old amiga game"
@@ -22,7 +22,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp
+   sources/target.cpp || die
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2016-04-01 Thread Michael Sterrett
commit: 2a4a7a2a759ffb1b249bdf50f902c60079bca19c
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Apr  1 08:07:23 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Apr  1 08:07:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4a7a2a

games-arcade/methane: build with gcc5 (bug #573788)

Package-Manager: portage-2.2.26

 games-arcade/methane/methane-1.5.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index 18daced..36af321 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Port from an old amiga game"
 HOMEPAGE="http://methane.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -26,6 +26,7 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
+   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 1dd17a76289757e74606da368767ab65595c1b7c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:27:27 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:27:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd17a76

games-arcade/methane: Drop comments

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index acf9163b76e..d26feb258d7 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-#inherit eutils flag-o-matic games
 inherit desktop
 
 DESCRIPTION="Port from an old amiga game"
@@ -34,7 +33,6 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
-   #append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 39d417ebe104a8bea449666a93292d10cd87351f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:56 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d417eb

games-arcade/methane: Drop old.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1.ebuild | 43 ---
 1 file changed, 43 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
deleted file mode 100644
index 5eb599ba676..000
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-DESCRIPTION="Port from an old amiga game"
-HOMEPAGE="http://methane.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
-   sed -i \
-   -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp || die
-
-   # fix weird parallel make issue wrt #450422
-   mkdir build || die
-   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
-}
-
-src_install() {
-   dogamesbin methane
-   insinto "${GAMES_DATADIR}"/${PN}
-   doins resources/*
-   dodir "${GAMES_STATEDIR}"
-   touch "${D}/${GAMES_STATEDIR}"/methanescores
-   fperms g+w "${GAMES_STATEDIR}"/methanescores
-   newicon docs/puff.gif ${PN}.gif
-   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
-   dodoc authors.txt history.txt readme.txt
-   dohtml docs/*
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 1dd17a76289757e74606da368767ab65595c1b7c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:27:27 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:27:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd17a76

games-arcade/methane: Drop comments

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index acf9163b76e..d26feb258d7 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-#inherit eutils flag-o-matic games
 inherit desktop
 
 DESCRIPTION="Port from an old amiga game"
@@ -34,7 +33,6 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
-   #append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 39d417ebe104a8bea449666a93292d10cd87351f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:56 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d417eb

games-arcade/methane: Drop old.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1.ebuild | 43 ---
 1 file changed, 43 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
deleted file mode 100644
index 5eb599ba676..000
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-DESCRIPTION="Port from an old amiga game"
-HOMEPAGE="http://methane.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
-   sed -i \
-   -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp || die
-
-   # fix weird parallel make issue wrt #450422
-   mkdir build || die
-   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
-}
-
-src_install() {
-   dogamesbin methane
-   insinto "${GAMES_DATADIR}"/${PN}
-   doins resources/*
-   dodir "${GAMES_STATEDIR}"
-   touch "${D}/${GAMES_STATEDIR}"/methanescores
-   fperms g+w "${GAMES_STATEDIR}"/methanescores
-   newicon docs/puff.gif ${PN}.gif
-   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
-   dodoc authors.txt history.txt readme.txt
-   dohtml docs/*
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2021-04-19 Thread Sam James
commit: 21416cadaa9a33d4fa053aa916b6162cc1466752
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 21:22:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21416cad

games-arcade/methane: respect CXX

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

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index a3f72605a59..7d0a032b4cc 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -31,7 +31,7 @@ src_prepare() {
-e "s:@GENTOO_DATADIR@:/usr/share:" \
sources/target.cpp || die
 
-   tc-export PKG_CONFIG
+   tc-export CXX PKG_CONFIG
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2015-12-18 Thread Michael Sterrett
commit: 3ee6db048aa445b8e57296bfecaf6c354a33bacf
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Dec 18 09:36:57 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 09:36:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee6db04

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-arcade/methane/methane-1.5.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index b2c5cd1..18daced 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Port from an old amiga game"
@@ -22,7 +22,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp
+   sources/target.cpp || die
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2021-04-19 Thread Sam James
commit: 21416cadaa9a33d4fa053aa916b6162cc1466752
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 21:22:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21416cad

games-arcade/methane: respect CXX

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

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index a3f72605a59..7d0a032b4cc 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -31,7 +31,7 @@ src_prepare() {
-e "s:@GENTOO_DATADIR@:/usr/share:" \
sources/target.cpp || die
 
-   tc-export PKG_CONFIG
+   tc-export CXX PKG_CONFIG
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 1dd17a76289757e74606da368767ab65595c1b7c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:27:27 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:27:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd17a76

games-arcade/methane: Drop comments

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index acf9163b76e..d26feb258d7 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-#inherit eutils flag-o-matic games
 inherit desktop
 
 DESCRIPTION="Port from an old amiga game"
@@ -34,7 +33,6 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
-   #append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 39d417ebe104a8bea449666a93292d10cd87351f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:56 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d417eb

games-arcade/methane: Drop old.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1.ebuild | 43 ---
 1 file changed, 43 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
deleted file mode 100644
index 5eb599ba676..000
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-DESCRIPTION="Port from an old amiga game"
-HOMEPAGE="http://methane.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
-   sed -i \
-   -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp || die
-
-   # fix weird parallel make issue wrt #450422
-   mkdir build || die
-   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
-}
-
-src_install() {
-   dogamesbin methane
-   insinto "${GAMES_DATADIR}"/${PN}
-   doins resources/*
-   dodir "${GAMES_STATEDIR}"
-   touch "${D}/${GAMES_STATEDIR}"/methanescores
-   fperms g+w "${GAMES_STATEDIR}"/methanescores
-   newicon docs/puff.gif ${PN}.gif
-   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
-   dodoc authors.txt history.txt readme.txt
-   dohtml docs/*
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2016-04-01 Thread Michael Sterrett
commit: 2a4a7a2a759ffb1b249bdf50f902c60079bca19c
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Apr  1 08:07:23 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Apr  1 08:07:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4a7a2a

games-arcade/methane: build with gcc5 (bug #573788)

Package-Manager: portage-2.2.26

 games-arcade/methane/methane-1.5.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index 18daced..36af321 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Port from an old amiga game"
 HOMEPAGE="http://methane.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -26,6 +26,7 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
+   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2015-12-18 Thread Michael Sterrett
commit: 3ee6db048aa445b8e57296bfecaf6c354a33bacf
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Dec 18 09:36:57 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 09:36:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee6db04

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-arcade/methane/methane-1.5.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index b2c5cd1..18daced 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Port from an old amiga game"
@@ -22,7 +22,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp
+   sources/target.cpp || die
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2016-04-01 Thread Michael Sterrett
commit: 2a4a7a2a759ffb1b249bdf50f902c60079bca19c
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Apr  1 08:07:23 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Apr  1 08:07:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4a7a2a

games-arcade/methane: build with gcc5 (bug #573788)

Package-Manager: portage-2.2.26

 games-arcade/methane/methane-1.5.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index 18daced..36af321 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Port from an old amiga game"
 HOMEPAGE="http://methane.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -26,6 +26,7 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
+   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2021-04-19 Thread Sam James
commit: 21416cadaa9a33d4fa053aa916b6162cc1466752
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 21:22:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21416cad

games-arcade/methane: respect CXX

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

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index a3f72605a59..7d0a032b4cc 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -31,7 +31,7 @@ src_prepare() {
-e "s:@GENTOO_DATADIR@:/usr/share:" \
sources/target.cpp || die
 
-   tc-export PKG_CONFIG
+   tc-export CXX PKG_CONFIG
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2021-04-19 Thread Sam James
commit: 21416cadaa9a33d4fa053aa916b6162cc1466752
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 21:22:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21416cad

games-arcade/methane: respect CXX

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

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index a3f72605a59..7d0a032b4cc 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -31,7 +31,7 @@ src_prepare() {
-e "s:@GENTOO_DATADIR@:/usr/share:" \
sources/target.cpp || die
 
-   tc-export PKG_CONFIG
+   tc-export CXX PKG_CONFIG
 
# fix weird parallel make issue wrt #450422
mkdir build || die



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 1dd17a76289757e74606da368767ab65595c1b7c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:27:27 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:27:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd17a76

games-arcade/methane: Drop comments

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index acf9163b76e..d26feb258d7 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-#inherit eutils flag-o-matic games
 inherit desktop
 
 DESCRIPTION="Port from an old amiga game"
@@ -34,7 +33,6 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
-   #append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 39d417ebe104a8bea449666a93292d10cd87351f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:56 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d417eb

games-arcade/methane: Drop old.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1.ebuild | 43 ---
 1 file changed, 43 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
deleted file mode 100644
index 5eb599ba676..000
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-DESCRIPTION="Port from an old amiga game"
-HOMEPAGE="http://methane.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
-   sed -i \
-   -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp || die
-
-   # fix weird parallel make issue wrt #450422
-   mkdir build || die
-   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
-}
-
-src_install() {
-   dogamesbin methane
-   insinto "${GAMES_DATADIR}"/${PN}
-   doins resources/*
-   dodir "${GAMES_STATEDIR}"
-   touch "${D}/${GAMES_STATEDIR}"/methanescores
-   fperms g+w "${GAMES_STATEDIR}"/methanescores
-   newicon docs/puff.gif ${PN}.gif
-   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
-   dodoc authors.txt history.txt readme.txt
-   dohtml docs/*
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2016-04-01 Thread Michael Sterrett
commit: 2a4a7a2a759ffb1b249bdf50f902c60079bca19c
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Apr  1 08:07:23 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Apr  1 08:07:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4a7a2a

games-arcade/methane: build with gcc5 (bug #573788)

Package-Manager: portage-2.2.26

 games-arcade/methane/methane-1.5.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index 18daced..36af321 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Port from an old amiga game"
 HOMEPAGE="http://methane.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -26,6 +26,7 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
+   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 1dd17a76289757e74606da368767ab65595c1b7c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:27:27 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:27:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd17a76

games-arcade/methane: Drop comments

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1-r1.ebuild 
b/games-arcade/methane/methane-1.5.1-r1.ebuild
index acf9163b76e..d26feb258d7 100644
--- a/games-arcade/methane/methane-1.5.1-r1.ebuild
+++ b/games-arcade/methane/methane-1.5.1-r1.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-#inherit eutils flag-o-matic games
 inherit desktop
 
 DESCRIPTION="Port from an old amiga game"
@@ -34,7 +33,6 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
-   #append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2018-08-09 Thread Pacho Ramos
commit: 39d417ebe104a8bea449666a93292d10cd87351f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:56 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d417eb

games-arcade/methane: Drop old.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-arcade/methane/methane-1.5.1.ebuild | 43 ---
 1 file changed, 43 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
deleted file mode 100644
index 5eb599ba676..000
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-DESCRIPTION="Port from an old amiga game"
-HOMEPAGE="http://methane.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
-   sed -i \
-   -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
-   sources/target.cpp || die
-
-   # fix weird parallel make issue wrt #450422
-   mkdir build || die
-   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
-}
-
-src_install() {
-   dogamesbin methane
-   insinto "${GAMES_DATADIR}"/${PN}
-   doins resources/*
-   dodir "${GAMES_STATEDIR}"
-   touch "${D}/${GAMES_STATEDIR}"/methanescores
-   fperms g+w "${GAMES_STATEDIR}"/methanescores
-   newicon docs/puff.gif ${PN}.gif
-   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
-   dodoc authors.txt history.txt readme.txt
-   dohtml docs/*
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2016-04-01 Thread Michael Sterrett
commit: 2a4a7a2a759ffb1b249bdf50f902c60079bca19c
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Apr  1 08:07:23 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Apr  1 08:07:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4a7a2a

games-arcade/methane: build with gcc5 (bug #573788)

Package-Manager: portage-2.2.26

 games-arcade/methane/methane-1.5.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-arcade/methane/methane-1.5.1.ebuild 
b/games-arcade/methane/methane-1.5.1.ebuild
index 18daced..36af321 100644
--- a/games-arcade/methane/methane-1.5.1.ebuild
+++ b/games-arcade/methane/methane-1.5.1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Port from an old amiga game"
 HOMEPAGE="http://methane.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -26,6 +26,7 @@ src_prepare() {
 
# fix weird parallel make issue wrt #450422
mkdir build || die
+   append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2022-12-18 Thread Pacho Ramos
commit: 577541d570a5573f72e4faebf1f1d503f69187b0
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Dec 18 10:04:20 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Dec 18 10:05:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577541d5

games-arcade/methane: Use a better quality icon

Signed-off-by: Pacho Ramos  gentoo.org>

 games-arcade/methane/Manifest | 1 +
 games-arcade/methane/methane-2.0.1.ebuild | 8 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/games-arcade/methane/Manifest b/games-arcade/methane/Manifest
index fbfe7274cb36..1cc48bd07759 100644
--- a/games-arcade/methane/Manifest
+++ b/games-arcade/methane/Manifest
@@ -1,2 +1,3 @@
 DIST methane-1.5.1.tgz 1057881 BLAKE2B 
c783d8153e96cbf0f8f3593cd5ddccd0a9ec8222f61667d411cd3be7159ecf5a3364ad0212b77590b256fc33094e7ea73b83bdcb048aaea6d506e3e146b1412a
 SHA512 
3506f288179a127f8508bd9d4225618d8dcd93794c559822ed2836bb46a318ce3c199f951f564064091b1125375118f2d64c50a27059dcd0e49c8379fa8c3155
 DIST methane-2.0.1.tar.gz 1058487 BLAKE2B 
2fc450c03dbbd57439b22e8e6ac8eebd2db18f97a3338180decdc0a437207b581a00e664e6353595c9eb50c16f7d9fead96bddf6ca50b67326ecea6dd4bb935a
 SHA512 
96b005eb5964185adea89aa43afda375c474db8088a132b2d46a843a1eca6ba91f83bf41277a3f3cfa24c4f9b9dae7098527414284fd0521e92a34c225e06bd9
+DIST methane.png 4034 BLAKE2B 
b10ebd8ca4bf2f6330aa89e3adb77a14bb183bf3d0dd40e305c87d58e0a6a4249662cdee8a457fc3df93a9c0b0daecf0dd8cb307c33a6b5f6e48543062b1b18f
 SHA512 
a56e453c9971b8819904f19af4ed3e417ef0538f87bfa121918c8fa4f93c14ba922b7d29584f0c69497a7b56585a92a7df902997cf18f6f2672c31c960ea7772

diff --git a/games-arcade/methane/methane-2.0.1.ebuild 
b/games-arcade/methane/methane-2.0.1.ebuild
index c641c5ce79b7..33e4e2941888 100644
--- a/games-arcade/methane/methane-2.0.1.ebuild
+++ b/games-arcade/methane/methane-2.0.1.ebuild
@@ -7,7 +7,9 @@ inherit desktop toolchain-funcs
 
 DESCRIPTION="Port from an old Amiga game"
 HOMEPAGE="https://methane.sourceforge.net/";
-SRC_URI="https://github.com/rombust/Methane/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/rombust/Methane/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+   https://src.fedoraproject.org/rpms/methane/raw/f37/f/methane.png
+"
 
 LICENSE="GPL-2+"
 SLOT="0"
@@ -37,7 +39,7 @@ src_install() {
insinto /usr/share/${PN}
doins resources/*
 
-   newicon docs/puff.gif ${PN}.gif
-   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
+   doicon "${DISTDIR}/${PN}.png"
+   make_desktop_entry ${PN} "Super Methane Brothers"
HTML_DOCS="docs/*" dodoc authors.txt history.txt readme.txt
 }



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/

2022-12-18 Thread Pacho Ramos
commit: 19529f0eff73e538d0315635c50d19e3e4adc009
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Dec 18 09:54:51 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Dec 18 10:05:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19529f0e

games-arcade/methane: Needs clanlib with sound support

Signed-off-by: Pacho Ramos  gentoo.org>

 games-arcade/methane/methane-2.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/methane/methane-2.0.1.ebuild 
b/games-arcade/methane/methane-2.0.1.ebuild
index 24b1b2b6360d..c641c5ce79b7 100644
--- a/games-arcade/methane/methane-2.0.1.ebuild
+++ b/games-arcade/methane/methane-2.0.1.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86"
 S="${WORKDIR}/Methane-${PV}"
 
 RDEPEND="
-   dev-games/clanlib:4.1[opengl]
+   dev-games/clanlib:4.1[opengl,sound]
media-libs/libmikmod
 "
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/, games-arcade/methane/files/

2018-08-09 Thread Pacho Ramos
commit: 8c87dd5ae9375deedbd89afc256c69746e4b4dc7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:42 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c87dd5a

games-arcade/methane: Drop games.eclass, apply Fedora fixes.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../methane/files/methane-1.5.1-fullscreen.patch   | 96 ++
 .../methane/files/methane-1.5.1-gcc5.patch | 34 
 .../methane/files/methane-1.5.1-gentoo.patch   | 12 +--
 games-arcade/methane/methane-1.5.1-r1.ebuild   | 47 +++
 4 files changed, 183 insertions(+), 6 deletions(-)

diff --git a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch 
b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
new file mode 100644
index 000..8a12a6bc489
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
@@ -0,0 +1,96 @@
+--- methane-1.5.1/sources/methane.cpp  2011-12-11 13:52:54.904083515 +0100
 methane-1.5.1.new/sources/methane.cpp  2011-12-11 13:51:27.174080706 
+0100
+@@ -37,6 +37,7 @@
+ 
+ RenderTarget GLOBAL_RenderTarget = opengl2;
+ bool GLOBAL_SoundEnable = true;
++bool GLOBAL_FullScreenEnable = true;
+ 
+ 
//--
+ // Keyboard stuff
+@@ -60,6 +61,20 @@
+ 
+   int main(const std::vector &args)
+   {
++  unsigned int i;
++
++  for (i = 1; i < args.size(); i++)
++  {
++  if (args[i].compare("-w") == 0)
++  GLOBAL_FullScreenEnable = false;
++  else
++  fprintf(stderr,
++  "Unknown commandline parameter: '%s', 
ignoring\n\n"
++  "Valid parameters:\n"
++  "'-w': start in windowed mode\n",
++  args[i].c_str());
++  }
++
+   try
+   {
+   CL_SetupGL target_opengl2;
+@@ -105,8 +120,15 @@
+   CL_DisplayWindowDescription desc;
+   desc.set_title("Super Methane Brothers");
+   desc.set_size(CL_Size(SCR_WIDTH*2,SCR_HEIGHT*2), true);
+-  desc.set_allow_resize(true);
++  if (GLOBAL_FullScreenEnable)
++  {
++  desc.set_fullscreen(true);
++  }
++  else
++  desc.set_allow_resize(true);
+   CL_DisplayWindow window(desc);
++  if (GLOBAL_FullScreenEnable)
++  window.hide_cursor();
+ 
+   CMethDoc Game(window);
+ 
+@@ -131,8 +154,6 @@
+   int last_time = CL_System::get_time();
+ 
+   int quit_flag = 0;
+-  int disable_scale_flag = 0;
+-  int full_screen_flag = 0;
+   int on_options_screen = 1;
+   int option_page = 0;
+   int game_speed = 60;
+@@ -281,7 +302,8 @@
+ 
+   bool get_options()
+   {
+-  CL_DisplayWindow window("Methane Options", 640, 480);
++  CL_DisplayWindow window("Methane Options", 640, 480,
++  GLOBAL_FullScreenEnable);
+ 
+   // Connect the Window close event
+   CL_Slot slot_quit = window.sig_window_close().connect(this, 
&SuperMethaneBrothers::on_window_close);
+@@ -320,6 +342,12 @@
+   GLOBAL_RenderTarget = swrender;
+   }
+ 
++  if ( (LastKey == 'f') || (LastKey == 'F') )
++  {
++  LastKey = 0;
++  GLOBAL_FullScreenEnable = 
!GLOBAL_FullScreenEnable;
++  }
++
+   gc.clear(CL_Colorf(0.0f,0.0f,0.2f));
+ 
+   int ypos = 40;
+@@ -360,6 +388,15 @@
+   {
+   options_font.draw_text(gc, 10, ypos, "Audio - 
Disabled. Press 'A' to toggle");
+   }
++  ypos += 50;
++  if (GLOBAL_FullScreenEnable)
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Enabled. Press 'F' to modify");
++  }
++  else
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Disabled. Press 'F' to modify");
++  }
+ 
+   ypos += 100;
+   options_font.draw_text(gc, 10, ypos, "Press the 
spacebar to start");

d

[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/, games-arcade/methane/files/

2018-08-09 Thread Pacho Ramos
commit: 8c87dd5ae9375deedbd89afc256c69746e4b4dc7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:42 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c87dd5a

games-arcade/methane: Drop games.eclass, apply Fedora fixes.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../methane/files/methane-1.5.1-fullscreen.patch   | 96 ++
 .../methane/files/methane-1.5.1-gcc5.patch | 34 
 .../methane/files/methane-1.5.1-gentoo.patch   | 12 +--
 games-arcade/methane/methane-1.5.1-r1.ebuild   | 47 +++
 4 files changed, 183 insertions(+), 6 deletions(-)

diff --git a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch 
b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
new file mode 100644
index 000..8a12a6bc489
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
@@ -0,0 +1,96 @@
+--- methane-1.5.1/sources/methane.cpp  2011-12-11 13:52:54.904083515 +0100
 methane-1.5.1.new/sources/methane.cpp  2011-12-11 13:51:27.174080706 
+0100
+@@ -37,6 +37,7 @@
+ 
+ RenderTarget GLOBAL_RenderTarget = opengl2;
+ bool GLOBAL_SoundEnable = true;
++bool GLOBAL_FullScreenEnable = true;
+ 
+ 
//--
+ // Keyboard stuff
+@@ -60,6 +61,20 @@
+ 
+   int main(const std::vector &args)
+   {
++  unsigned int i;
++
++  for (i = 1; i < args.size(); i++)
++  {
++  if (args[i].compare("-w") == 0)
++  GLOBAL_FullScreenEnable = false;
++  else
++  fprintf(stderr,
++  "Unknown commandline parameter: '%s', 
ignoring\n\n"
++  "Valid parameters:\n"
++  "'-w': start in windowed mode\n",
++  args[i].c_str());
++  }
++
+   try
+   {
+   CL_SetupGL target_opengl2;
+@@ -105,8 +120,15 @@
+   CL_DisplayWindowDescription desc;
+   desc.set_title("Super Methane Brothers");
+   desc.set_size(CL_Size(SCR_WIDTH*2,SCR_HEIGHT*2), true);
+-  desc.set_allow_resize(true);
++  if (GLOBAL_FullScreenEnable)
++  {
++  desc.set_fullscreen(true);
++  }
++  else
++  desc.set_allow_resize(true);
+   CL_DisplayWindow window(desc);
++  if (GLOBAL_FullScreenEnable)
++  window.hide_cursor();
+ 
+   CMethDoc Game(window);
+ 
+@@ -131,8 +154,6 @@
+   int last_time = CL_System::get_time();
+ 
+   int quit_flag = 0;
+-  int disable_scale_flag = 0;
+-  int full_screen_flag = 0;
+   int on_options_screen = 1;
+   int option_page = 0;
+   int game_speed = 60;
+@@ -281,7 +302,8 @@
+ 
+   bool get_options()
+   {
+-  CL_DisplayWindow window("Methane Options", 640, 480);
++  CL_DisplayWindow window("Methane Options", 640, 480,
++  GLOBAL_FullScreenEnable);
+ 
+   // Connect the Window close event
+   CL_Slot slot_quit = window.sig_window_close().connect(this, 
&SuperMethaneBrothers::on_window_close);
+@@ -320,6 +342,12 @@
+   GLOBAL_RenderTarget = swrender;
+   }
+ 
++  if ( (LastKey == 'f') || (LastKey == 'F') )
++  {
++  LastKey = 0;
++  GLOBAL_FullScreenEnable = 
!GLOBAL_FullScreenEnable;
++  }
++
+   gc.clear(CL_Colorf(0.0f,0.0f,0.2f));
+ 
+   int ypos = 40;
+@@ -360,6 +388,15 @@
+   {
+   options_font.draw_text(gc, 10, ypos, "Audio - 
Disabled. Press 'A' to toggle");
+   }
++  ypos += 50;
++  if (GLOBAL_FullScreenEnable)
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Enabled. Press 'F' to modify");
++  }
++  else
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Disabled. Press 'F' to modify");
++  }
+ 
+   ypos += 100;
+   options_font.draw_text(gc, 10, ypos, "Press the 
spacebar to start");

d

[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/, games-arcade/methane/files/

2018-08-09 Thread Pacho Ramos
commit: 8c87dd5ae9375deedbd89afc256c69746e4b4dc7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:42 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c87dd5a

games-arcade/methane: Drop games.eclass, apply Fedora fixes.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../methane/files/methane-1.5.1-fullscreen.patch   | 96 ++
 .../methane/files/methane-1.5.1-gcc5.patch | 34 
 .../methane/files/methane-1.5.1-gentoo.patch   | 12 +--
 games-arcade/methane/methane-1.5.1-r1.ebuild   | 47 +++
 4 files changed, 183 insertions(+), 6 deletions(-)

diff --git a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch 
b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
new file mode 100644
index 000..8a12a6bc489
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
@@ -0,0 +1,96 @@
+--- methane-1.5.1/sources/methane.cpp  2011-12-11 13:52:54.904083515 +0100
 methane-1.5.1.new/sources/methane.cpp  2011-12-11 13:51:27.174080706 
+0100
+@@ -37,6 +37,7 @@
+ 
+ RenderTarget GLOBAL_RenderTarget = opengl2;
+ bool GLOBAL_SoundEnable = true;
++bool GLOBAL_FullScreenEnable = true;
+ 
+ 
//--
+ // Keyboard stuff
+@@ -60,6 +61,20 @@
+ 
+   int main(const std::vector &args)
+   {
++  unsigned int i;
++
++  for (i = 1; i < args.size(); i++)
++  {
++  if (args[i].compare("-w") == 0)
++  GLOBAL_FullScreenEnable = false;
++  else
++  fprintf(stderr,
++  "Unknown commandline parameter: '%s', 
ignoring\n\n"
++  "Valid parameters:\n"
++  "'-w': start in windowed mode\n",
++  args[i].c_str());
++  }
++
+   try
+   {
+   CL_SetupGL target_opengl2;
+@@ -105,8 +120,15 @@
+   CL_DisplayWindowDescription desc;
+   desc.set_title("Super Methane Brothers");
+   desc.set_size(CL_Size(SCR_WIDTH*2,SCR_HEIGHT*2), true);
+-  desc.set_allow_resize(true);
++  if (GLOBAL_FullScreenEnable)
++  {
++  desc.set_fullscreen(true);
++  }
++  else
++  desc.set_allow_resize(true);
+   CL_DisplayWindow window(desc);
++  if (GLOBAL_FullScreenEnable)
++  window.hide_cursor();
+ 
+   CMethDoc Game(window);
+ 
+@@ -131,8 +154,6 @@
+   int last_time = CL_System::get_time();
+ 
+   int quit_flag = 0;
+-  int disable_scale_flag = 0;
+-  int full_screen_flag = 0;
+   int on_options_screen = 1;
+   int option_page = 0;
+   int game_speed = 60;
+@@ -281,7 +302,8 @@
+ 
+   bool get_options()
+   {
+-  CL_DisplayWindow window("Methane Options", 640, 480);
++  CL_DisplayWindow window("Methane Options", 640, 480,
++  GLOBAL_FullScreenEnable);
+ 
+   // Connect the Window close event
+   CL_Slot slot_quit = window.sig_window_close().connect(this, 
&SuperMethaneBrothers::on_window_close);
+@@ -320,6 +342,12 @@
+   GLOBAL_RenderTarget = swrender;
+   }
+ 
++  if ( (LastKey == 'f') || (LastKey == 'F') )
++  {
++  LastKey = 0;
++  GLOBAL_FullScreenEnable = 
!GLOBAL_FullScreenEnable;
++  }
++
+   gc.clear(CL_Colorf(0.0f,0.0f,0.2f));
+ 
+   int ypos = 40;
+@@ -360,6 +388,15 @@
+   {
+   options_font.draw_text(gc, 10, ypos, "Audio - 
Disabled. Press 'A' to toggle");
+   }
++  ypos += 50;
++  if (GLOBAL_FullScreenEnable)
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Enabled. Press 'F' to modify");
++  }
++  else
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Disabled. Press 'F' to modify");
++  }
+ 
+   ypos += 100;
+   options_font.draw_text(gc, 10, ypos, "Press the 
spacebar to start");

d

[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/, games-arcade/methane/files/

2018-08-09 Thread Pacho Ramos
commit: 8c87dd5ae9375deedbd89afc256c69746e4b4dc7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:42 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c87dd5a

games-arcade/methane: Drop games.eclass, apply Fedora fixes.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../methane/files/methane-1.5.1-fullscreen.patch   | 96 ++
 .../methane/files/methane-1.5.1-gcc5.patch | 34 
 .../methane/files/methane-1.5.1-gentoo.patch   | 12 +--
 games-arcade/methane/methane-1.5.1-r1.ebuild   | 47 +++
 4 files changed, 183 insertions(+), 6 deletions(-)

diff --git a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch 
b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
new file mode 100644
index 000..8a12a6bc489
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
@@ -0,0 +1,96 @@
+--- methane-1.5.1/sources/methane.cpp  2011-12-11 13:52:54.904083515 +0100
 methane-1.5.1.new/sources/methane.cpp  2011-12-11 13:51:27.174080706 
+0100
+@@ -37,6 +37,7 @@
+ 
+ RenderTarget GLOBAL_RenderTarget = opengl2;
+ bool GLOBAL_SoundEnable = true;
++bool GLOBAL_FullScreenEnable = true;
+ 
+ 
//--
+ // Keyboard stuff
+@@ -60,6 +61,20 @@
+ 
+   int main(const std::vector &args)
+   {
++  unsigned int i;
++
++  for (i = 1; i < args.size(); i++)
++  {
++  if (args[i].compare("-w") == 0)
++  GLOBAL_FullScreenEnable = false;
++  else
++  fprintf(stderr,
++  "Unknown commandline parameter: '%s', 
ignoring\n\n"
++  "Valid parameters:\n"
++  "'-w': start in windowed mode\n",
++  args[i].c_str());
++  }
++
+   try
+   {
+   CL_SetupGL target_opengl2;
+@@ -105,8 +120,15 @@
+   CL_DisplayWindowDescription desc;
+   desc.set_title("Super Methane Brothers");
+   desc.set_size(CL_Size(SCR_WIDTH*2,SCR_HEIGHT*2), true);
+-  desc.set_allow_resize(true);
++  if (GLOBAL_FullScreenEnable)
++  {
++  desc.set_fullscreen(true);
++  }
++  else
++  desc.set_allow_resize(true);
+   CL_DisplayWindow window(desc);
++  if (GLOBAL_FullScreenEnable)
++  window.hide_cursor();
+ 
+   CMethDoc Game(window);
+ 
+@@ -131,8 +154,6 @@
+   int last_time = CL_System::get_time();
+ 
+   int quit_flag = 0;
+-  int disable_scale_flag = 0;
+-  int full_screen_flag = 0;
+   int on_options_screen = 1;
+   int option_page = 0;
+   int game_speed = 60;
+@@ -281,7 +302,8 @@
+ 
+   bool get_options()
+   {
+-  CL_DisplayWindow window("Methane Options", 640, 480);
++  CL_DisplayWindow window("Methane Options", 640, 480,
++  GLOBAL_FullScreenEnable);
+ 
+   // Connect the Window close event
+   CL_Slot slot_quit = window.sig_window_close().connect(this, 
&SuperMethaneBrothers::on_window_close);
+@@ -320,6 +342,12 @@
+   GLOBAL_RenderTarget = swrender;
+   }
+ 
++  if ( (LastKey == 'f') || (LastKey == 'F') )
++  {
++  LastKey = 0;
++  GLOBAL_FullScreenEnable = 
!GLOBAL_FullScreenEnable;
++  }
++
+   gc.clear(CL_Colorf(0.0f,0.0f,0.2f));
+ 
+   int ypos = 40;
+@@ -360,6 +388,15 @@
+   {
+   options_font.draw_text(gc, 10, ypos, "Audio - 
Disabled. Press 'A' to toggle");
+   }
++  ypos += 50;
++  if (GLOBAL_FullScreenEnable)
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Enabled. Press 'F' to modify");
++  }
++  else
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Disabled. Press 'F' to modify");
++  }
+ 
+   ypos += 100;
+   options_font.draw_text(gc, 10, ypos, "Press the 
spacebar to start");

d

[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/, games-arcade/methane/files/

2018-08-09 Thread Pacho Ramos
commit: 8c87dd5ae9375deedbd89afc256c69746e4b4dc7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:42 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c87dd5a

games-arcade/methane: Drop games.eclass, apply Fedora fixes.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../methane/files/methane-1.5.1-fullscreen.patch   | 96 ++
 .../methane/files/methane-1.5.1-gcc5.patch | 34 
 .../methane/files/methane-1.5.1-gentoo.patch   | 12 +--
 games-arcade/methane/methane-1.5.1-r1.ebuild   | 47 +++
 4 files changed, 183 insertions(+), 6 deletions(-)

diff --git a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch 
b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
new file mode 100644
index 000..8a12a6bc489
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
@@ -0,0 +1,96 @@
+--- methane-1.5.1/sources/methane.cpp  2011-12-11 13:52:54.904083515 +0100
 methane-1.5.1.new/sources/methane.cpp  2011-12-11 13:51:27.174080706 
+0100
+@@ -37,6 +37,7 @@
+ 
+ RenderTarget GLOBAL_RenderTarget = opengl2;
+ bool GLOBAL_SoundEnable = true;
++bool GLOBAL_FullScreenEnable = true;
+ 
+ 
//--
+ // Keyboard stuff
+@@ -60,6 +61,20 @@
+ 
+   int main(const std::vector &args)
+   {
++  unsigned int i;
++
++  for (i = 1; i < args.size(); i++)
++  {
++  if (args[i].compare("-w") == 0)
++  GLOBAL_FullScreenEnable = false;
++  else
++  fprintf(stderr,
++  "Unknown commandline parameter: '%s', 
ignoring\n\n"
++  "Valid parameters:\n"
++  "'-w': start in windowed mode\n",
++  args[i].c_str());
++  }
++
+   try
+   {
+   CL_SetupGL target_opengl2;
+@@ -105,8 +120,15 @@
+   CL_DisplayWindowDescription desc;
+   desc.set_title("Super Methane Brothers");
+   desc.set_size(CL_Size(SCR_WIDTH*2,SCR_HEIGHT*2), true);
+-  desc.set_allow_resize(true);
++  if (GLOBAL_FullScreenEnable)
++  {
++  desc.set_fullscreen(true);
++  }
++  else
++  desc.set_allow_resize(true);
+   CL_DisplayWindow window(desc);
++  if (GLOBAL_FullScreenEnable)
++  window.hide_cursor();
+ 
+   CMethDoc Game(window);
+ 
+@@ -131,8 +154,6 @@
+   int last_time = CL_System::get_time();
+ 
+   int quit_flag = 0;
+-  int disable_scale_flag = 0;
+-  int full_screen_flag = 0;
+   int on_options_screen = 1;
+   int option_page = 0;
+   int game_speed = 60;
+@@ -281,7 +302,8 @@
+ 
+   bool get_options()
+   {
+-  CL_DisplayWindow window("Methane Options", 640, 480);
++  CL_DisplayWindow window("Methane Options", 640, 480,
++  GLOBAL_FullScreenEnable);
+ 
+   // Connect the Window close event
+   CL_Slot slot_quit = window.sig_window_close().connect(this, 
&SuperMethaneBrothers::on_window_close);
+@@ -320,6 +342,12 @@
+   GLOBAL_RenderTarget = swrender;
+   }
+ 
++  if ( (LastKey == 'f') || (LastKey == 'F') )
++  {
++  LastKey = 0;
++  GLOBAL_FullScreenEnable = 
!GLOBAL_FullScreenEnable;
++  }
++
+   gc.clear(CL_Colorf(0.0f,0.0f,0.2f));
+ 
+   int ypos = 40;
+@@ -360,6 +388,15 @@
+   {
+   options_font.draw_text(gc, 10, ypos, "Audio - 
Disabled. Press 'A' to toggle");
+   }
++  ypos += 50;
++  if (GLOBAL_FullScreenEnable)
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Enabled. Press 'F' to modify");
++  }
++  else
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Disabled. Press 'F' to modify");
++  }
+ 
+   ypos += 100;
+   options_font.draw_text(gc, 10, ypos, "Press the 
spacebar to start");

d

[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/, games-arcade/methane/files/

2018-08-09 Thread Pacho Ramos
commit: 8c87dd5ae9375deedbd89afc256c69746e4b4dc7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:42 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c87dd5a

games-arcade/methane: Drop games.eclass, apply Fedora fixes.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../methane/files/methane-1.5.1-fullscreen.patch   | 96 ++
 .../methane/files/methane-1.5.1-gcc5.patch | 34 
 .../methane/files/methane-1.5.1-gentoo.patch   | 12 +--
 games-arcade/methane/methane-1.5.1-r1.ebuild   | 47 +++
 4 files changed, 183 insertions(+), 6 deletions(-)

diff --git a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch 
b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
new file mode 100644
index 000..8a12a6bc489
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
@@ -0,0 +1,96 @@
+--- methane-1.5.1/sources/methane.cpp  2011-12-11 13:52:54.904083515 +0100
 methane-1.5.1.new/sources/methane.cpp  2011-12-11 13:51:27.174080706 
+0100
+@@ -37,6 +37,7 @@
+ 
+ RenderTarget GLOBAL_RenderTarget = opengl2;
+ bool GLOBAL_SoundEnable = true;
++bool GLOBAL_FullScreenEnable = true;
+ 
+ 
//--
+ // Keyboard stuff
+@@ -60,6 +61,20 @@
+ 
+   int main(const std::vector &args)
+   {
++  unsigned int i;
++
++  for (i = 1; i < args.size(); i++)
++  {
++  if (args[i].compare("-w") == 0)
++  GLOBAL_FullScreenEnable = false;
++  else
++  fprintf(stderr,
++  "Unknown commandline parameter: '%s', 
ignoring\n\n"
++  "Valid parameters:\n"
++  "'-w': start in windowed mode\n",
++  args[i].c_str());
++  }
++
+   try
+   {
+   CL_SetupGL target_opengl2;
+@@ -105,8 +120,15 @@
+   CL_DisplayWindowDescription desc;
+   desc.set_title("Super Methane Brothers");
+   desc.set_size(CL_Size(SCR_WIDTH*2,SCR_HEIGHT*2), true);
+-  desc.set_allow_resize(true);
++  if (GLOBAL_FullScreenEnable)
++  {
++  desc.set_fullscreen(true);
++  }
++  else
++  desc.set_allow_resize(true);
+   CL_DisplayWindow window(desc);
++  if (GLOBAL_FullScreenEnable)
++  window.hide_cursor();
+ 
+   CMethDoc Game(window);
+ 
+@@ -131,8 +154,6 @@
+   int last_time = CL_System::get_time();
+ 
+   int quit_flag = 0;
+-  int disable_scale_flag = 0;
+-  int full_screen_flag = 0;
+   int on_options_screen = 1;
+   int option_page = 0;
+   int game_speed = 60;
+@@ -281,7 +302,8 @@
+ 
+   bool get_options()
+   {
+-  CL_DisplayWindow window("Methane Options", 640, 480);
++  CL_DisplayWindow window("Methane Options", 640, 480,
++  GLOBAL_FullScreenEnable);
+ 
+   // Connect the Window close event
+   CL_Slot slot_quit = window.sig_window_close().connect(this, 
&SuperMethaneBrothers::on_window_close);
+@@ -320,6 +342,12 @@
+   GLOBAL_RenderTarget = swrender;
+   }
+ 
++  if ( (LastKey == 'f') || (LastKey == 'F') )
++  {
++  LastKey = 0;
++  GLOBAL_FullScreenEnable = 
!GLOBAL_FullScreenEnable;
++  }
++
+   gc.clear(CL_Colorf(0.0f,0.0f,0.2f));
+ 
+   int ypos = 40;
+@@ -360,6 +388,15 @@
+   {
+   options_font.draw_text(gc, 10, ypos, "Audio - 
Disabled. Press 'A' to toggle");
+   }
++  ypos += 50;
++  if (GLOBAL_FullScreenEnable)
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Enabled. Press 'F' to modify");
++  }
++  else
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Disabled. Press 'F' to modify");
++  }
+ 
+   ypos += 100;
+   options_font.draw_text(gc, 10, ypos, "Press the 
spacebar to start");

d

[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/, games-arcade/methane/files/

2018-08-09 Thread Pacho Ramos
commit: 8c87dd5ae9375deedbd89afc256c69746e4b4dc7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:42 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c87dd5a

games-arcade/methane: Drop games.eclass, apply Fedora fixes.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../methane/files/methane-1.5.1-fullscreen.patch   | 96 ++
 .../methane/files/methane-1.5.1-gcc5.patch | 34 
 .../methane/files/methane-1.5.1-gentoo.patch   | 12 +--
 games-arcade/methane/methane-1.5.1-r1.ebuild   | 47 +++
 4 files changed, 183 insertions(+), 6 deletions(-)

diff --git a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch 
b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
new file mode 100644
index 000..8a12a6bc489
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
@@ -0,0 +1,96 @@
+--- methane-1.5.1/sources/methane.cpp  2011-12-11 13:52:54.904083515 +0100
 methane-1.5.1.new/sources/methane.cpp  2011-12-11 13:51:27.174080706 
+0100
+@@ -37,6 +37,7 @@
+ 
+ RenderTarget GLOBAL_RenderTarget = opengl2;
+ bool GLOBAL_SoundEnable = true;
++bool GLOBAL_FullScreenEnable = true;
+ 
+ 
//--
+ // Keyboard stuff
+@@ -60,6 +61,20 @@
+ 
+   int main(const std::vector &args)
+   {
++  unsigned int i;
++
++  for (i = 1; i < args.size(); i++)
++  {
++  if (args[i].compare("-w") == 0)
++  GLOBAL_FullScreenEnable = false;
++  else
++  fprintf(stderr,
++  "Unknown commandline parameter: '%s', 
ignoring\n\n"
++  "Valid parameters:\n"
++  "'-w': start in windowed mode\n",
++  args[i].c_str());
++  }
++
+   try
+   {
+   CL_SetupGL target_opengl2;
+@@ -105,8 +120,15 @@
+   CL_DisplayWindowDescription desc;
+   desc.set_title("Super Methane Brothers");
+   desc.set_size(CL_Size(SCR_WIDTH*2,SCR_HEIGHT*2), true);
+-  desc.set_allow_resize(true);
++  if (GLOBAL_FullScreenEnable)
++  {
++  desc.set_fullscreen(true);
++  }
++  else
++  desc.set_allow_resize(true);
+   CL_DisplayWindow window(desc);
++  if (GLOBAL_FullScreenEnable)
++  window.hide_cursor();
+ 
+   CMethDoc Game(window);
+ 
+@@ -131,8 +154,6 @@
+   int last_time = CL_System::get_time();
+ 
+   int quit_flag = 0;
+-  int disable_scale_flag = 0;
+-  int full_screen_flag = 0;
+   int on_options_screen = 1;
+   int option_page = 0;
+   int game_speed = 60;
+@@ -281,7 +302,8 @@
+ 
+   bool get_options()
+   {
+-  CL_DisplayWindow window("Methane Options", 640, 480);
++  CL_DisplayWindow window("Methane Options", 640, 480,
++  GLOBAL_FullScreenEnable);
+ 
+   // Connect the Window close event
+   CL_Slot slot_quit = window.sig_window_close().connect(this, 
&SuperMethaneBrothers::on_window_close);
+@@ -320,6 +342,12 @@
+   GLOBAL_RenderTarget = swrender;
+   }
+ 
++  if ( (LastKey == 'f') || (LastKey == 'F') )
++  {
++  LastKey = 0;
++  GLOBAL_FullScreenEnable = 
!GLOBAL_FullScreenEnable;
++  }
++
+   gc.clear(CL_Colorf(0.0f,0.0f,0.2f));
+ 
+   int ypos = 40;
+@@ -360,6 +388,15 @@
+   {
+   options_font.draw_text(gc, 10, ypos, "Audio - 
Disabled. Press 'A' to toggle");
+   }
++  ypos += 50;
++  if (GLOBAL_FullScreenEnable)
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Enabled. Press 'F' to modify");
++  }
++  else
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Disabled. Press 'F' to modify");
++  }
+ 
+   ypos += 100;
+   options_font.draw_text(gc, 10, ypos, "Press the 
spacebar to start");

d

[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/, games-arcade/methane/files/

2018-08-09 Thread Pacho Ramos
commit: 8c87dd5ae9375deedbd89afc256c69746e4b4dc7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Aug  9 11:26:42 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Aug  9 11:26:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c87dd5a

games-arcade/methane: Drop games.eclass, apply Fedora fixes.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../methane/files/methane-1.5.1-fullscreen.patch   | 96 ++
 .../methane/files/methane-1.5.1-gcc5.patch | 34 
 .../methane/files/methane-1.5.1-gentoo.patch   | 12 +--
 games-arcade/methane/methane-1.5.1-r1.ebuild   | 47 +++
 4 files changed, 183 insertions(+), 6 deletions(-)

diff --git a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch 
b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
new file mode 100644
index 000..8a12a6bc489
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
@@ -0,0 +1,96 @@
+--- methane-1.5.1/sources/methane.cpp  2011-12-11 13:52:54.904083515 +0100
 methane-1.5.1.new/sources/methane.cpp  2011-12-11 13:51:27.174080706 
+0100
+@@ -37,6 +37,7 @@
+ 
+ RenderTarget GLOBAL_RenderTarget = opengl2;
+ bool GLOBAL_SoundEnable = true;
++bool GLOBAL_FullScreenEnable = true;
+ 
+ 
//--
+ // Keyboard stuff
+@@ -60,6 +61,20 @@
+ 
+   int main(const std::vector &args)
+   {
++  unsigned int i;
++
++  for (i = 1; i < args.size(); i++)
++  {
++  if (args[i].compare("-w") == 0)
++  GLOBAL_FullScreenEnable = false;
++  else
++  fprintf(stderr,
++  "Unknown commandline parameter: '%s', 
ignoring\n\n"
++  "Valid parameters:\n"
++  "'-w': start in windowed mode\n",
++  args[i].c_str());
++  }
++
+   try
+   {
+   CL_SetupGL target_opengl2;
+@@ -105,8 +120,15 @@
+   CL_DisplayWindowDescription desc;
+   desc.set_title("Super Methane Brothers");
+   desc.set_size(CL_Size(SCR_WIDTH*2,SCR_HEIGHT*2), true);
+-  desc.set_allow_resize(true);
++  if (GLOBAL_FullScreenEnable)
++  {
++  desc.set_fullscreen(true);
++  }
++  else
++  desc.set_allow_resize(true);
+   CL_DisplayWindow window(desc);
++  if (GLOBAL_FullScreenEnable)
++  window.hide_cursor();
+ 
+   CMethDoc Game(window);
+ 
+@@ -131,8 +154,6 @@
+   int last_time = CL_System::get_time();
+ 
+   int quit_flag = 0;
+-  int disable_scale_flag = 0;
+-  int full_screen_flag = 0;
+   int on_options_screen = 1;
+   int option_page = 0;
+   int game_speed = 60;
+@@ -281,7 +302,8 @@
+ 
+   bool get_options()
+   {
+-  CL_DisplayWindow window("Methane Options", 640, 480);
++  CL_DisplayWindow window("Methane Options", 640, 480,
++  GLOBAL_FullScreenEnable);
+ 
+   // Connect the Window close event
+   CL_Slot slot_quit = window.sig_window_close().connect(this, 
&SuperMethaneBrothers::on_window_close);
+@@ -320,6 +342,12 @@
+   GLOBAL_RenderTarget = swrender;
+   }
+ 
++  if ( (LastKey == 'f') || (LastKey == 'F') )
++  {
++  LastKey = 0;
++  GLOBAL_FullScreenEnable = 
!GLOBAL_FullScreenEnable;
++  }
++
+   gc.clear(CL_Colorf(0.0f,0.0f,0.2f));
+ 
+   int ypos = 40;
+@@ -360,6 +388,15 @@
+   {
+   options_font.draw_text(gc, 10, ypos, "Audio - 
Disabled. Press 'A' to toggle");
+   }
++  ypos += 50;
++  if (GLOBAL_FullScreenEnable)
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Enabled. Press 'F' to modify");
++  }
++  else
++  {
++  options_font.draw_text(gc, 10, ypos, "Full 
screen - Disabled. Press 'F' to modify");
++  }
+ 
+   ypos += 100;
+   options_font.draw_text(gc, 10, ypos, "Press the 
spacebar to start");

d

[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/files/, games-arcade/methane/

2023-03-09 Thread Ionen Wolkens
commit: abe62954ef2bf52bec9c56eeb087e9f456497b78
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Mar  9 17:44:21 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Mar  9 20:12:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe62954

games-arcade/methane: drop 1.5.1-r1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/methane/Manifest  |  1 -
 .../methane/files/methane-1.5.1-fullscreen.patch   | 96 --
 .../methane/files/methane-1.5.1-gcc5.patch | 34 
 .../methane/files/methane-1.5.1-gentoo.patch   | 62 --
 games-arcade/methane/methane-1.5.1-r1.ebuild   | 49 ---
 5 files changed, 242 deletions(-)

diff --git a/games-arcade/methane/Manifest b/games-arcade/methane/Manifest
index 1cc48bd07759..c00621fb635f 100644
--- a/games-arcade/methane/Manifest
+++ b/games-arcade/methane/Manifest
@@ -1,3 +1,2 @@
-DIST methane-1.5.1.tgz 1057881 BLAKE2B 
c783d8153e96cbf0f8f3593cd5ddccd0a9ec8222f61667d411cd3be7159ecf5a3364ad0212b77590b256fc33094e7ea73b83bdcb048aaea6d506e3e146b1412a
 SHA512 
3506f288179a127f8508bd9d4225618d8dcd93794c559822ed2836bb46a318ce3c199f951f564064091b1125375118f2d64c50a27059dcd0e49c8379fa8c3155
 DIST methane-2.0.1.tar.gz 1058487 BLAKE2B 
2fc450c03dbbd57439b22e8e6ac8eebd2db18f97a3338180decdc0a437207b581a00e664e6353595c9eb50c16f7d9fead96bddf6ca50b67326ecea6dd4bb935a
 SHA512 
96b005eb5964185adea89aa43afda375c474db8088a132b2d46a843a1eca6ba91f83bf41277a3f3cfa24c4f9b9dae7098527414284fd0521e92a34c225e06bd9
 DIST methane.png 4034 BLAKE2B 
b10ebd8ca4bf2f6330aa89e3adb77a14bb183bf3d0dd40e305c87d58e0a6a4249662cdee8a457fc3df93a9c0b0daecf0dd8cb307c33a6b5f6e48543062b1b18f
 SHA512 
a56e453c9971b8819904f19af4ed3e417ef0538f87bfa121918c8fa4f93c14ba922b7d29584f0c69497a7b56585a92a7df902997cf18f6f2672c31c960ea7772

diff --git a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch 
b/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
deleted file mode 100644
index 8a12a6bc4891..
--- a/games-arcade/methane/files/methane-1.5.1-fullscreen.patch
+++ /dev/null
@@ -1,96 +0,0 @@
 methane-1.5.1/sources/methane.cpp  2011-12-11 13:52:54.904083515 +0100
-+++ methane-1.5.1.new/sources/methane.cpp  2011-12-11 13:51:27.174080706 
+0100
-@@ -37,6 +37,7 @@
- 
- RenderTarget GLOBAL_RenderTarget = opengl2;
- bool GLOBAL_SoundEnable = true;
-+bool GLOBAL_FullScreenEnable = true;
- 
- 
//--
- // Keyboard stuff
-@@ -60,6 +61,20 @@
- 
-   int main(const std::vector &args)
-   {
-+  unsigned int i;
-+
-+  for (i = 1; i < args.size(); i++)
-+  {
-+  if (args[i].compare("-w") == 0)
-+  GLOBAL_FullScreenEnable = false;
-+  else
-+  fprintf(stderr,
-+  "Unknown commandline parameter: '%s', 
ignoring\n\n"
-+  "Valid parameters:\n"
-+  "'-w': start in windowed mode\n",
-+  args[i].c_str());
-+  }
-+
-   try
-   {
-   CL_SetupGL target_opengl2;
-@@ -105,8 +120,15 @@
-   CL_DisplayWindowDescription desc;
-   desc.set_title("Super Methane Brothers");
-   desc.set_size(CL_Size(SCR_WIDTH*2,SCR_HEIGHT*2), true);
--  desc.set_allow_resize(true);
-+  if (GLOBAL_FullScreenEnable)
-+  {
-+  desc.set_fullscreen(true);
-+  }
-+  else
-+  desc.set_allow_resize(true);
-   CL_DisplayWindow window(desc);
-+  if (GLOBAL_FullScreenEnable)
-+  window.hide_cursor();
- 
-   CMethDoc Game(window);
- 
-@@ -131,8 +154,6 @@
-   int last_time = CL_System::get_time();
- 
-   int quit_flag = 0;
--  int disable_scale_flag = 0;
--  int full_screen_flag = 0;
-   int on_options_screen = 1;
-   int option_page = 0;
-   int game_speed = 60;
-@@ -281,7 +302,8 @@
- 
-   bool get_options()
-   {
--  CL_DisplayWindow window("Methane Options", 640, 480);
-+  CL_DisplayWindow window("Methane Options", 640, 480,
-+  GLOBAL_FullScreenEnable);
- 
-   // Connect the Window close event
-   CL_Slot slot_quit = window.sig_window_close().connect(this, 
&SuperMethaneBrothers::on_window_close);
-@@ -320,6 +342,12 @@
-   GLOBAL_RenderTarget = swrender;
- 

[gentoo-commits] repo/gentoo:master commit in: games-arcade/methane/, games-arcade/methane/files/

2022-12-18 Thread Pacho Ramos
commit: 92e2f5d1ed7c7cd4bbe5234484e71766163069ed
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Tue Dec 13 22:24:26 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Dec 18 10:05:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e2f5d1

games-arcade/methane: add 2.0.1

Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://bugs.gentoo.org/885767
Closes: https://github.com/gentoo/gentoo/pull/28660
Signed-off-by: Pacho Ramos  gentoo.org>

 games-arcade/methane/Manifest  |  1 +
 .../methane/files/methane-2.0.1-makefile.patch | 41 +
 games-arcade/methane/metadata.xml  |  1 +
 games-arcade/methane/methane-2.0.1.ebuild  | 43 ++
 4 files changed, 86 insertions(+)

diff --git a/games-arcade/methane/Manifest b/games-arcade/methane/Manifest
index e42c2a803ff2..fbfe7274cb36 100644
--- a/games-arcade/methane/Manifest
+++ b/games-arcade/methane/Manifest
@@ -1 +1,2 @@
 DIST methane-1.5.1.tgz 1057881 BLAKE2B 
c783d8153e96cbf0f8f3593cd5ddccd0a9ec8222f61667d411cd3be7159ecf5a3364ad0212b77590b256fc33094e7ea73b83bdcb048aaea6d506e3e146b1412a
 SHA512 
3506f288179a127f8508bd9d4225618d8dcd93794c559822ed2836bb46a318ce3c199f951f564064091b1125375118f2d64c50a27059dcd0e49c8379fa8c3155
+DIST methane-2.0.1.tar.gz 1058487 BLAKE2B 
2fc450c03dbbd57439b22e8e6ac8eebd2db18f97a3338180decdc0a437207b581a00e664e6353595c9eb50c16f7d9fead96bddf6ca50b67326ecea6dd4bb935a
 SHA512 
96b005eb5964185adea89aa43afda375c474db8088a132b2d46a843a1eca6ba91f83bf41277a3f3cfa24c4f9b9dae7098527414284fd0521e92a34c225e06bd9

diff --git a/games-arcade/methane/files/methane-2.0.1-makefile.patch 
b/games-arcade/methane/files/methane-2.0.1-makefile.patch
new file mode 100644
index ..0cf205041ed7
--- /dev/null
+++ b/games-arcade/methane/files/methane-2.0.1-makefile.patch
@@ -0,0 +1,41 @@
+From 7fa0b482546993d5279911a43ad6cb75c96ec1f0 Mon Sep 17 00:00:00 2001
+From: "Azamat H. Hackimov" 
+Date: Wed, 14 Dec 2022 00:28:51 +0300
+Subject: [PATCH] Use portable variables in Makefile
+
+---
+ Makefile | 9 +
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 35c3eb1..f827efc 100644
+--- a/Makefile
 b/Makefile
+@@ -1,5 +1,6 @@
+-METHANE_FLAGS = `pkg-config --cflags clanCore-4.1 clanDisplay-4.1 clanApp-4.1 
clanGL-4.1 clanSound-4.1 libmikmod` -Isources
+-METHANE_LIBS = `pkg-config --libs clanCore-4.1 clanDisplay-4.1 clanApp-4.1 
clanGL-4.1 clanSound-4.1 libmikmod`
++PKG_CONFIG ?= pkg-config
++METHANE_FLAGS := $(shell ${PKG_CONFIG} --cflags clanCore-4.1 clanDisplay-4.1 
clanApp-4.1 clanGL-4.1 clanSound-4.1 libmikmod) -Isources
++METHANE_LIBS := $(shell ${PKG_CONFIG} --libs clanCore-4.1 clanDisplay-4.1 
clanApp-4.1 clanGL-4.1 clanSound-4.1 libmikmod)
+ 
+ OBJF = sources/precomp.o \
+ sources/player.o \
+@@ -37,7 +38,7 @@ message:
+   @echo "="
+ 
+ methane: ${OBJF}
+-  g++ ${CXXFLAGS} ${OBJF} -o methane ${METHANE_LIBS}
++  $(CXX) ${CXXFLAGS} ${LDFLAGS} ${OBJF}   -o methane ${METHANE_LIBS}
+ 
+ clean:
+   @rm -f sources/*.o
+@@ -49,5 +50,5 @@ distclean: clean
+ # The main source code
+ %.o:%.cpp
+   @echo "  Compiling $<..."
+-  gcc ${CXXFLAGS} ${METHANE_FLAGS} -c $< -o $@
++  $(CXX) ${CXXFLAGS} ${METHANE_FLAGS} -c $< -o $@
+ 
+-- 
+2.37.4
+

diff --git a/games-arcade/methane/metadata.xml 
b/games-arcade/methane/metadata.xml
index 8c93ac9be921..b826a80f7a10 100644
--- a/games-arcade/methane/metadata.xml
+++ b/games-arcade/methane/metadata.xml
@@ -6,6 +6,7 @@
Gentoo Games Project


+   rombust/Methane
methane

 

diff --git a/games-arcade/methane/methane-2.0.1.ebuild 
b/games-arcade/methane/methane-2.0.1.ebuild
new file mode 100644
index ..24b1b2b6360d
--- /dev/null
+++ b/games-arcade/methane/methane-2.0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="Port from an old Amiga game"
+HOMEPAGE="https://methane.sourceforge.net/";
+SRC_URI="https://github.com/rombust/Methane/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+S="${WORKDIR}/Methane-${PV}"
+
+RDEPEND="
+   dev-games/clanlib:4.1[opengl]
+   media-libs/libmikmod
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${P}-makefile.patch"
+)
+
+src_prepare() {
+   default
+
+   tc-export PKG_CONFIG
+}
+
+src_install() {
+   dobin methane
+
+   insinto /usr/share/${PN}
+   doins resources/*
+
+   newicon docs/puff.gif ${PN}.gif
+   make_desktop_entry ${PN} "Super Methane Brothers" 
/usr/share/pixmaps/${PN}.gif
+   HTML_DOCS="docs/*" dodoc authors.txt history.txt readme.txt
+}