* [gentoo-commits] repo/gentoo:master commit in: games-sports/billardgl/
@ 2016-09-22 19:28 Austin English
0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2016-09-22 19:28 UTC (permalink / raw
To: gentoo-commits
commit: 6427012a1b36047ba632b12620ece0dafc83150e
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 17:59:57 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 19:27:56 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6427012a
games-sports/billardgl: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
games-sports/billardgl/billardgl-1.75-r2.ebuild | 56 +++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/games-sports/billardgl/billardgl-1.75-r2.ebuild b/games-sports/billardgl/billardgl-1.75-r2.ebuild
new file mode 100644
index 00000000..f896f97
--- /dev/null
+++ b/games-sports/billardgl/billardgl-1.75-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="an OpenGL billards game"
+HOMEPAGE="http://www.billardgl.de/"
+SRC_URI="mirror://sourceforge/${PN}/BillardGL-${PV}.tar.gz
+ mirror://gentoo/${PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="
+ media-libs/freeglut
+ x11-libs/libXi
+ x11-libs/libXmu
+ virtual/opengl
+ virtual/glu"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/BillardGL-${PV}/src
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s:/usr/share/BillardGL/:/usr/share/${PN}/:" \
+ Namen.h \
+ || die "sed Namen.h failed"
+ sed -i \
+ -e '/^LINK/s:g++:$(CXX):' \
+ -e '/^CXX[[:space:]]/d' \
+ -e '/^CC[[:space:]]/d' \
+ -e '/^CXXFLAGS/s:=.*\(-D.*\)-.*:+=\1:' \
+ -e "/^LFLAGS/s:=:=${LDFLAGS}:" \
+ Makefile \
+ || die "sed Makefile failed"
+ sed -i \
+ -e 's:<iostream.h>:<iostream>:' \
+ -e 's:<fstream.h>:<fstream>\nusing namespace std;:' \
+ bmp.cpp \
+ || die "sed bmp.cpp failed"
+}
+
+src_install() {
+ newbin BillardGL ${PN}
+ insinto /usr/share/${PN}
+ doins -r lang Texturen
+ dodoc README
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} BillardGL
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-sports/billardgl/
@ 2019-03-18 20:50 James Le Cuirot
0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2019-03-18 20:50 UTC (permalink / raw
To: gentoo-commits
commit: f8f2fa1627d303d6033700919f33f07328ffc495
Author: Daniel Schmidt <gen2xmach1ne <AT> tutanota <DOT> com>
AuthorDate: Mon Mar 18 00:57:55 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 20:50:01 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8f2fa16
games-sports/billardgl: fix HOMEPAGE
Closes: https://bugs.gentoo.org/680658
Signed-off-by: Daniel Schmidt <gen2xmach1ne <AT> tutanota.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/11398
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-sports/billardgl/billardgl-1.75-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-sports/billardgl/billardgl-1.75-r2.ebuild b/games-sports/billardgl/billardgl-1.75-r2.ebuild
index e71f5aa777d..83ccabcbf9f 100644
--- a/games-sports/billardgl/billardgl-1.75-r2.ebuild
+++ b/games-sports/billardgl/billardgl-1.75-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
DESCRIPTION="an OpenGL billards game"
-HOMEPAGE="http://www.billardgl.de/"
+HOMEPAGE="https://sourceforge.net/projects/billardgl/"
SRC_URI="mirror://sourceforge/${PN}/BillardGL-${PV}.tar.gz
mirror://gentoo/${PN}.png"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-sports/billardgl/
@ 2021-04-06 18:18 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-04-06 18:18 UTC (permalink / raw
To: gentoo-commits
commit: 386d736880b4b15be041f8a2fb737067942307b4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 6 03:42:33 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 6 18:18:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=386d7368
games-sports/billardgl: port to EAPI 7, eutils--
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-sports/billardgl/billardgl-1.75-r2.ebuild | 27 +++++++++++++------------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/games-sports/billardgl/billardgl-1.75-r2.ebuild b/games-sports/billardgl/billardgl-1.75-r2.ebuild
index 83ccabcbf9f..5c1bcd61607 100644
--- a/games-sports/billardgl/billardgl-1.75-r2.ebuild
+++ b/games-sports/billardgl/billardgl-1.75-r2.ebuild
@@ -1,18 +1,19 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=7
-DESCRIPTION="an OpenGL billards game"
+inherit desktop
+
+DESCRIPTION="An OpenGL billards game"
HOMEPAGE="https://sourceforge.net/projects/billardgl/"
SRC_URI="mirror://sourceforge/${PN}/BillardGL-${PV}.tar.gz
mirror://gentoo/${PN}.png"
+S="${WORKDIR}"/BillardGL-${PV}/src
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
DEPEND="
media-libs/freeglut
@@ -22,34 +23,34 @@ DEPEND="
virtual/glu"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/BillardGL-${PV}/src
-
src_prepare() {
default
+
sed -i \
-e "s:/usr/share/BillardGL/:/usr/share/${PN}/:" \
- Namen.h \
- || die "sed Namen.h failed"
+ Namen.h || die "sed Namen.h failed"
+
sed -i \
-e '/^LINK/s:g++:$(CXX):' \
-e '/^CXX[[:space:]]/d' \
-e '/^CC[[:space:]]/d' \
-e '/^CXXFLAGS/s:=.*\(-D.*\)-.*:+=\1:' \
-e "/^LFLAGS/s:=:=${LDFLAGS}:" \
- Makefile \
- || die "sed Makefile failed"
+ Makefile || die "sed Makefile failed"
+
sed -i \
-e 's:<iostream.h>:<iostream>:' \
-e 's:<fstream.h>:<fstream>\nusing namespace std;:' \
- bmp.cpp \
- || die "sed bmp.cpp failed"
+ bmp.cpp || die "sed bmp.cpp failed"
}
src_install() {
newbin BillardGL ${PN}
+
insinto /usr/share/${PN}
doins -r lang Texturen
dodoc README
doicon "${DISTDIR}"/${PN}.png
+
make_desktop_entry ${PN} BillardGL
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-06 18:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-06 18:18 [gentoo-commits] repo/gentoo:master commit in: games-sports/billardgl/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2019-03-18 20:50 James Le Cuirot
2016-09-22 19:28 Austin English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox