* [gentoo-commits] proj/gamerlay:master commit in: games-strategy/glfrontier/files/, games-strategy/glfrontier/
@ 2023-04-15 22:48 Vadim Misbakh-Soloviov
0 siblings, 0 replies; 2+ messages in thread
From: Vadim Misbakh-Soloviov @ 2023-04-15 22:48 UTC (permalink / raw
To: gentoo-commits
commit: acb326cb2255bb316cc4800ba4f4b4fc621b9bd1
Author: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 15 19:15:58 2023 +0000
Commit: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Sat Apr 15 19:15:58 2023 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=acb326cb
games-strategy/glfrontier: use version from seden repo
Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org>
.../glfrontier-20060623-fix_missing_math_lib.patch | 24 -----------
.../glfrontier/glfrontier-20060623-r4.ebuild | 48 ----------------------
games-strategy/glfrontier/metadata.xml | 12 ------
3 files changed, 84 deletions(-)
diff --git a/games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch b/games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch
deleted file mode 100644
index fa314f5..0000000
--- a/games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/frontvm3-20060623/Makefile-C 2014-11-14 07:37:29.430146785 +0100
-+++ b/frontvm3-20060623/Makefile-C 2014-11-14 07:37:54.728146745 +0100
-@@ -1,5 +1,5 @@
--export CFLAGS = -O2 -g -Wall -DOGG_MUSIC
--export LIBS = -lGL -lGLU -lvorbisfile -lvorbis -logg
-+export CFLAGS = -march=native -pipe -O2 -Wall -DOGG_MUSIC
-+export LIBS = -lGL -lGLU -lvorbisfile -lvorbis -logg -lm
- export FE2OBJS = ../fe2.part1.o ../fe2.part2.o
-
- THIS=Makefile-C
-@@ -24,11 +24,8 @@
-
- fe2obj:
- as68k/as68k --output-c fe2.s
-- # this bit can be optimised because it is lots of small functions
-- $(CC) -DPART1 -O1 -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part1.o
-- # this can't unless you have shitloads of memory and a fuck meaty
-- # machine, because it is a huge stinking function.
-- $(CC) -DPART2 -O0 -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part2.o
-+ $(CC) -DPART1 $(CFLAGS) -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part1.o
-+ $(CC) -DPART2 $(CFLAGS) -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part2.o
-
- clean:
- $(MAKE) -C src/ clean
diff --git a/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild b/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
deleted file mode 100644
index ea13aef..0000000
--- a/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils
-
-MY_PN=glfrontier
-MY_P=${MY_PN}-${PV}
-DESCRIPTION="Frontier: Elite 2 with OpenGL support"
-HOMEPAGE="http://tom.noflag.org.uk/glfrontier.html"
-
-SRC_URI="http://tom.noflag.org.uk/glfrontier/frontvm3-20060623.tar.bz2
- http://tom.noflag.org.uk/misc/frontvm-audio-20060222.tar.bz2"
-
-LICENSE="HPND"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-SLOT="0"
-
-RDEPEND=">=media-libs/freeglut-2.6
- media-libs/libsdl
- media-libs/libogg"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}
-
-src_prepare() {
- epatch "${FILESDIR}/${MY_P}-fix_missing_math_lib.patch"
- eapply_user
-}
-
-src_compile() {
- cd "${S}/frontvm3-20060623"
- make -f Makefile-C || die "make install failed"
-}
-
-src_install() {
- mv "${S}/frontvm3-20060623/frontier" "${S}/frontvm3-20060623/${MY_PN}"
-
- newbin "${S}/frontvm3-20060623/frontier" ${MY_PN}
- insinto "/usr/share/${MY_PN}"
- doins "${S}/frontvm3-20060623/fe2.s.bin"
- doins -r "${S}/frontvm-audio-20060222/*"
-
- make_desktop_entry /usr/share/${MY_PN}/${MY_PN} GLFrontier ${MY_PN} Game Path=/usr/share/${MY_PN}
-}
diff --git a/games-strategy/glfrontier/metadata.xml b/games-strategy/glfrontier/metadata.xml
deleted file mode 100644
index cc20dcf..0000000
--- a/games-strategy/glfrontier/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
-<email>yamakuzure@gmx.net</email>
-<description>The creator of this ebuild, but not the official maintainer</description>
-</maintainer>
-<longdescription>
-Frontier: Elite 2 with OpenGL support
-</longdescription>
-<use />
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/gamerlay:master commit in: games-strategy/glfrontier/files/, games-strategy/glfrontier/
@ 2016-12-06 9:13 Vadim A. Misbakh-Soloviov
0 siblings, 0 replies; 2+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2016-12-06 9:13 UTC (permalink / raw
To: gentoo-commits
commit: 47c7eb3b4b8412762f299e9b5eb28175af7b6eb9
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Tue Dec 6 09:11:18 2016 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Tue Dec 6 09:11:18 2016 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=47c7eb3b
glfrontier: added
.../glfrontier-20060623-fix_missing_math_lib.patch | 24 +++++++++++
.../glfrontier/glfrontier-20060623-r4.ebuild | 50 ++++++++++++++++++++++
games-strategy/glfrontier/metadata.xml | 13 ++++++
3 files changed, 87 insertions(+)
diff --git a/games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch b/games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch
new file mode 100644
index 0000000..fa314f5
--- /dev/null
+++ b/games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch
@@ -0,0 +1,24 @@
+--- a/frontvm3-20060623/Makefile-C 2014-11-14 07:37:29.430146785 +0100
++++ b/frontvm3-20060623/Makefile-C 2014-11-14 07:37:54.728146745 +0100
+@@ -1,5 +1,5 @@
+-export CFLAGS = -O2 -g -Wall -DOGG_MUSIC
+-export LIBS = -lGL -lGLU -lvorbisfile -lvorbis -logg
++export CFLAGS = -march=native -pipe -O2 -Wall -DOGG_MUSIC
++export LIBS = -lGL -lGLU -lvorbisfile -lvorbis -logg -lm
+ export FE2OBJS = ../fe2.part1.o ../fe2.part2.o
+
+ THIS=Makefile-C
+@@ -24,11 +24,8 @@
+
+ fe2obj:
+ as68k/as68k --output-c fe2.s
+- # this bit can be optimised because it is lots of small functions
+- $(CC) -DPART1 -O1 -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part1.o
+- # this can't unless you have shitloads of memory and a fuck meaty
+- # machine, because it is a huge stinking function.
+- $(CC) -DPART2 -O0 -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part2.o
++ $(CC) -DPART1 $(CFLAGS) -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part1.o
++ $(CC) -DPART2 $(CFLAGS) -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part2.o
+
+ clean:
+ $(MAKE) -C src/ clean
diff --git a/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild b/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
new file mode 100644
index 0000000..5b14f4d
--- /dev/null
+++ b/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils
+
+MY_PN=glfrontier
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Frontier: Elite 2 with OpenGL support"
+HOMEPAGE="http://tom.noflag.org.uk/glfrontier.html"
+
+SRC_URI="http://tom.noflag.org.uk/glfrontier/frontvm3-20060623.tar.bz2
+ http://tom.noflag.org.uk/misc/frontvm-audio-20060222.tar.bz2"
+
+
+LICENSE="GPL"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+SLOT="0"
+
+RDEPEND=">=media-libs/freeglut-2.6
+ media-libs/libsdl
+ media-libs/libogg"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}/${MY_P}"-fix_missing_math_lib.patch
+ eapply_user
+}
+
+src_compile() {
+ cd ${S}/frontvm3-20060623
+ make -f Makefile-C || die "make install failed"
+}
+
+src_install() {
+ mv ${S}/frontvm3-20060623/frontier ${S}/frontvm3-20060623/${MY_PN}
+
+ dobin ${S}/frontvm3-20060623/${MY_PN}
+ insinto /usr/share/${MY_PN}
+ doins ${S}/frontvm3-20060623/fe2.s.bin
+ doins -r ${S}/frontvm-audio-20060222/*
+
+ make_desktop_entry /usr/share/${MY_PN}/${MY_PN} GLFrontier ${MY_PN} Game Path=/usr/share/${MY_PN}
+}
diff --git a/games-strategy/glfrontier/metadata.xml b/games-strategy/glfrontier/metadata.xml
new file mode 100644
index 0000000..3987c0c
--- /dev/null
+++ b/games-strategy/glfrontier/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>yamakuzure@gmx.net</email>
+ <description>The creator of this ebuild, but not the official maintainer</description>
+</maintainer>
+<longdescription>
+MISSING
+</longdescription>
+<use />
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-15 22:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-15 22:48 [gentoo-commits] proj/gamerlay:master commit in: games-strategy/glfrontier/files/, games-strategy/glfrontier/ Vadim Misbakh-Soloviov
-- strict thread matches above, loose matches on Subject: below --
2016-12-06 9:13 Vadim A. Misbakh-Soloviov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox