* [gentoo-commits] repo/gentoo:master commit in: games-action/lugaru/, games-action/lugaru/files/
@ 2015-12-09 21:25 Michael Sterrett
0 siblings, 0 replies; 3+ messages in thread
From: Michael Sterrett @ 2015-12-09 21:25 UTC (permalink / raw
To: gentoo-commits
commit: 387359e0e4e74b14da1105089e5dff5e239263e2
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 9 21:18:52 2015 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed Dec 9 21:24:45 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=387359e0
build from source (bug #505608)
Package-Manager: portage-2.2.20.1
games-action/lugaru/Manifest | 1 +
.../lugaru/files/lugaru-20151204-dir.patch | 11 ++++
games-action/lugaru/files/lugaru-9999-dir.patch | 11 ++++
games-action/lugaru/lugaru-20151204.ebuild | 55 ++++++++++++++++++++
games-action/lugaru/lugaru-9999.ebuild | 60 ++++++++++++++++++++++
5 files changed, 138 insertions(+)
diff --git a/games-action/lugaru/Manifest b/games-action/lugaru/Manifest
index d4abb32..2c73e50 100644
--- a/games-action/lugaru/Manifest
+++ b/games-action/lugaru/Manifest
@@ -1 +1,2 @@
+DIST lugaru-20151204.tar.bz2 88950866 SHA256 dae6a9e8ee70cc965a4299d2062725ce19dc9e4f1ba2a46c9205cb4e138be6b8 SHA512 8e448b782847376ac10585996a91a571fd005ac51e0e510765a35bf44bfcbb09e566d9a9c3d87277e69511b0f8d74c04edcc4b59f467bed640d8ba7c74045e30 WHIRLPOOL b2bcae57d8bfd13361c42c6d56fa285bc58fcd4bd6fb119931501db66005e5ece98487e413e41d1419c8f0408dc7507efa7f721db7df2b8d8a1572a65c28eb0e
DIST lugaru-full-linux-x86-1.0c.bin 35539077 SHA256 fde77b630c15e94e7f9b28fead0baeb233901eb94dd0b8a898c27d3fcf22f040 SHA512 80bc94d2e3151972ac806d2ab381b10656aa7ed61e20a1cbe9f72be75532b39ef3dde67bd2f05328b8c675c4ea38d1b6ea606b06689abba708ef8ab53f595c19 WHIRLPOOL eed29393a37575cdc3ffeda6336b6de93185d825e6895f5a07bd92c02a900d1a14f9654f8fdbd36d4dd2994d70448a77df8d424cfbd8c11205139e582e5ac7d4
diff --git a/games-action/lugaru/files/lugaru-20151204-dir.patch b/games-action/lugaru/files/lugaru-20151204-dir.patch
new file mode 100644
index 0000000..8595084
--- /dev/null
+++ b/games-action/lugaru/files/lugaru-20151204-dir.patch
@@ -0,0 +1,11 @@
+--- Source/OpenGL_Windows.cpp.orig 2015-01-14 23:57:19.799186785 -0500
++++ Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500
+@@ -1330,7 +1330,7 @@
+
+ // !!! FIXME: we could use a Win32 API for this. --ryan.
+ #ifndef WIN32
+- chdirToAppPath(argv[0]);
++ chdir("@GENTOO_DIR@");
+ #endif
+
+ LOGFUNC;
diff --git a/games-action/lugaru/files/lugaru-9999-dir.patch b/games-action/lugaru/files/lugaru-9999-dir.patch
new file mode 100644
index 0000000..8595084
--- /dev/null
+++ b/games-action/lugaru/files/lugaru-9999-dir.patch
@@ -0,0 +1,11 @@
+--- Source/OpenGL_Windows.cpp.orig 2015-01-14 23:57:19.799186785 -0500
++++ Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500
+@@ -1330,7 +1330,7 @@
+
+ // !!! FIXME: we could use a Win32 API for this. --ryan.
+ #ifndef WIN32
+- chdirToAppPath(argv[0]);
++ chdir("@GENTOO_DIR@");
+ #endif
+
+ LOGFUNC;
diff --git a/games-action/lugaru/lugaru-20151204.ebuild b/games-action/lugaru/lugaru-20151204.ebuild
new file mode 100644
index 0000000..bedc3cc
--- /dev/null
+++ b/games-action/lugaru/lugaru-20151204.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils cmake-utils games
+
+DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
+HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home"
+SRC_URI="${P}.tar.bz2"
+
+LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ virtual/glu
+ virtual/opengl
+ media-libs/libsdl[opengl,video]
+ media-libs/openal
+ media-libs/libvorbis
+ virtual/jpeg:0
+ media-libs/libpng:0
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-dir.patch"
+ sed -i \
+ -e "s:@GENTOO_DIR@:${GAMES_DATADIR}/${PN}:" \
+ Source/OpenGL_Windows.cpp || die
+}
+
+src_configure() {
+ mycmakeargs=(
+ "-DCMAKE_VERBOSE_MAKEFILE=TRUE"
+ "-DLUGARU_FORCE_INTERNAL_OPENGL=False"
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ dogamesbin "${WORKDIR}/${P}_build/lugaru"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r Data/
+ newicon Source/win-res/Lugaru.png ${PN}.png
+ make_desktop_entry ${PN} Lugaru ${PN}
+ prepgamesdirs
+}
diff --git a/games-action/lugaru/lugaru-9999.ebuild b/games-action/lugaru/lugaru-9999.ebuild
new file mode 100644
index 0000000..2c42553
--- /dev/null
+++ b/games-action/lugaru/lugaru-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils cmake-utils mercurial games
+
+EHG_REPO_URI="https://bitbucket.org/osslugaru/lugaru/"
+DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
+HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home"
+SRC_URI=""
+
+LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="
+ virtual/glu
+ virtual/opengl
+ media-libs/libsdl[opengl,video]
+ media-libs/openal
+ media-libs/libvorbis
+ virtual/jpeg:0
+ media-libs/libpng:0
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_unpack() {
+ mercurial_src_unpack
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-dir.patch"
+ sed -i \
+ -e "s:@GENTOO_DIR@:${GAMES_DATADIR}/${PN}:" \
+ Source/OpenGL_Windows.cpp || die
+}
+
+src_configure() {
+ mycmakeargs=(
+ "-DCMAKE_VERBOSE_MAKEFILE=TRUE"
+ "-DLUGARU_FORCE_INTERNAL_OPENGL=False"
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ dogamesbin "${WORKDIR}/${P}_build/lugaru"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r Data/
+ newicon Source/win-res/Lugaru.png ${PN}.png
+ make_desktop_entry ${PN} Lugaru ${PN}
+ prepgamesdirs
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-action/lugaru/, games-action/lugaru/files/
@ 2017-01-25 23:05 Austin English
0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2017-01-25 23:05 UTC (permalink / raw
To: gentoo-commits
commit: a27d7123ca199c7bc22b73d2874c0bb60c35d799
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 22:48:45 2017 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 23:05:05 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27d7123
games-action/lugaru: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: Portage-2.3.2, Repoman-2.3.1
.../lugaru/files/lugaru-20151204-dir.patch | 4 +--
games-action/lugaru/files/lugaru-9999-dir.patch | 4 +--
...ugaru-9999.ebuild => lugaru-20151204-r1.ebuild} | 36 ++++++++++------------
games-action/lugaru/lugaru-9999.ebuild | 33 +++++++++++---------
4 files changed, 39 insertions(+), 38 deletions(-)
diff --git a/games-action/lugaru/files/lugaru-20151204-dir.patch b/games-action/lugaru/files/lugaru-20151204-dir.patch
index 8595084..da9310d 100644
--- a/games-action/lugaru/files/lugaru-20151204-dir.patch
+++ b/games-action/lugaru/files/lugaru-20151204-dir.patch
@@ -1,5 +1,5 @@
---- Source/OpenGL_Windows.cpp.orig 2015-01-14 23:57:19.799186785 -0500
-+++ Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500
+--- a/Source/OpenGL_Windows.cpp 2015-01-14 23:57:19.799186785 -0500
++++ b/Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500
@@ -1330,7 +1330,7 @@
// !!! FIXME: we could use a Win32 API for this. --ryan.
diff --git a/games-action/lugaru/files/lugaru-9999-dir.patch b/games-action/lugaru/files/lugaru-9999-dir.patch
index 8595084..da9310d 100644
--- a/games-action/lugaru/files/lugaru-9999-dir.patch
+++ b/games-action/lugaru/files/lugaru-9999-dir.patch
@@ -1,5 +1,5 @@
---- Source/OpenGL_Windows.cpp.orig 2015-01-14 23:57:19.799186785 -0500
-+++ Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500
+--- a/Source/OpenGL_Windows.cpp 2015-01-14 23:57:19.799186785 -0500
++++ b/Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500
@@ -1330,7 +1330,7 @@
// !!! FIXME: we could use a Win32 API for this. --ryan.
diff --git a/games-action/lugaru/lugaru-9999.ebuild b/games-action/lugaru/lugaru-20151204-r1.ebuild
similarity index 66%
copy from games-action/lugaru/lugaru-9999.ebuild
copy to games-action/lugaru/lugaru-20151204-r1.ebuild
index 2c42553..576d94b 100644
--- a/games-action/lugaru/lugaru-9999.ebuild
+++ b/games-action/lugaru/lugaru-20151204-r1.ebuild
@@ -1,40 +1,39 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
-inherit eutils cmake-utils mercurial games
+EAPI=6
+inherit eutils cmake-utils
-EHG_REPO_URI="https://bitbucket.org/osslugaru/lugaru/"
DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home"
-SRC_URI=""
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
- virtual/glu
- virtual/opengl
+ media-libs/libpng:0
media-libs/libsdl[opengl,video]
- media-libs/openal
media-libs/libvorbis
+ media-libs/openal
+ sys-libs/zlib
+ virtual/glu
virtual/jpeg:0
- media-libs/libpng:0
- sys-libs/zlib"
+ virtual/opengl"
DEPEND="${RDEPEND}
virtual/pkgconfig"
-src_unpack() {
- mercurial_src_unpack
-}
+PATCHES=(
+ "${FILESDIR}/${P}-dir.patch"
+)
src_prepare() {
- epatch "${FILESDIR}/${P}-dir.patch"
+ default
sed -i \
- -e "s:@GENTOO_DIR@:${GAMES_DATADIR}/${PN}:" \
+ -e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
Source/OpenGL_Windows.cpp || die
}
@@ -51,10 +50,9 @@ src_compile() {
}
src_install() {
- dogamesbin "${WORKDIR}/${P}_build/lugaru"
- insinto "${GAMES_DATADIR}/${PN}"
+ dobin "${WORKDIR}/${P}_build/lugaru"
+ insinto /usr/share/${PN}
doins -r Data/
newicon Source/win-res/Lugaru.png ${PN}.png
make_desktop_entry ${PN} Lugaru ${PN}
- prepgamesdirs
}
diff --git a/games-action/lugaru/lugaru-9999.ebuild b/games-action/lugaru/lugaru-9999.ebuild
index 2c42553..7aa42ee 100644
--- a/games-action/lugaru/lugaru-9999.ebuild
+++ b/games-action/lugaru/lugaru-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
-inherit eutils cmake-utils mercurial games
+EAPI=6
+inherit eutils cmake-utils mercurial
EHG_REPO_URI="https://bitbucket.org/osslugaru/lugaru/"
DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
@@ -16,14 +16,14 @@ KEYWORDS=""
IUSE=""
RDEPEND="
- virtual/glu
- virtual/opengl
media-libs/libsdl[opengl,video]
- media-libs/openal
+ media-libs/libpng:0
media-libs/libvorbis
+ media-libs/openal
+ sys-libs/zlib
+ virtual/glu
virtual/jpeg:0
- media-libs/libpng:0
- sys-libs/zlib"
+ virtual/opengl"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -31,11 +31,15 @@ src_unpack() {
mercurial_src_unpack
}
+PATCHES=(
+ "${FILESDIR}/${P}-dir.patch"
+)
+
src_prepare() {
- epatch "${FILESDIR}/${P}-dir.patch"
- sed -i \
- -e "s:@GENTOO_DIR@:${GAMES_DATADIR}/${PN}:" \
- Source/OpenGL_Windows.cpp || die
+ default
+ sed -i \
+ -e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
+ Source/OpenGL_Windows.cpp || die
}
src_configure() {
@@ -51,10 +55,9 @@ src_compile() {
}
src_install() {
- dogamesbin "${WORKDIR}/${P}_build/lugaru"
- insinto "${GAMES_DATADIR}/${PN}"
+ dobin "${WORKDIR}/${P}_build/lugaru"
+ insinto /usr/share/${PN}
doins -r Data/
newicon Source/win-res/Lugaru.png ${PN}.png
make_desktop_entry ${PN} Lugaru ${PN}
- prepgamesdirs
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-action/lugaru/, games-action/lugaru/files/
@ 2021-03-05 23:56 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-03-05 23:56 UTC (permalink / raw
To: gentoo-commits
commit: 434209fbe62683c5f5d7fed028af27f9d6c05356
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sun Aug 23 23:30:38 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 5 23:45:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=434209fb
games-action/lugaru: remove old version
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17244
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-action/lugaru/Manifest | 1 -
.../lugaru/files/lugaru-20151204-dir.patch | 11 -----
.../lugaru/files/lugaru-20151204-jpeg-9c.patch | 13 -----
games-action/lugaru/lugaru-20151204-r1.ebuild | 56 ----------------------
4 files changed, 81 deletions(-)
diff --git a/games-action/lugaru/Manifest b/games-action/lugaru/Manifest
index 8f620bdb4b3..578cc95798e 100644
--- a/games-action/lugaru/Manifest
+++ b/games-action/lugaru/Manifest
@@ -1,2 +1 @@
DIST lugaru-1.2.tar.bz2 35508563 BLAKE2B f7b50ce7b2e65e64ba52d5b9f564cf4ba27c2ae17589297f9b63c4b5ae660c2abb9830ce16e5e02881cd58aa48b5bbe90a877a061f3b2aebbcd52cb6ca7a6192 SHA512 091f588523721617b973d72a26c0cfbeb75fe519707faefd00652cfd770b3be463b61b5c2be3721c644aac2337fa8f8455bc43a461b5a19b4c0e9741b517b9a4
-DIST lugaru-20151204.tar.bz2 88950866 BLAKE2B d1d42f8d06d20d8f06fbe52d95c925fefc0453cc577dc5a023189eb77508361737ab01298f2035c3071ac7f8a239ee47c13bb8bafa852dd3b5cdecc971e9b4ed SHA512 8e448b782847376ac10585996a91a571fd005ac51e0e510765a35bf44bfcbb09e566d9a9c3d87277e69511b0f8d74c04edcc4b59f467bed640d8ba7c74045e30
diff --git a/games-action/lugaru/files/lugaru-20151204-dir.patch b/games-action/lugaru/files/lugaru-20151204-dir.patch
deleted file mode 100644
index da9310dde58..00000000000
--- a/games-action/lugaru/files/lugaru-20151204-dir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Source/OpenGL_Windows.cpp 2015-01-14 23:57:19.799186785 -0500
-+++ b/Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500
-@@ -1330,7 +1330,7 @@
-
- // !!! FIXME: we could use a Win32 API for this. --ryan.
- #ifndef WIN32
-- chdirToAppPath(argv[0]);
-+ chdir("@GENTOO_DIR@");
- #endif
-
- LOGFUNC;
diff --git a/games-action/lugaru/files/lugaru-20151204-jpeg-9c.patch b/games-action/lugaru/files/lugaru-20151204-jpeg-9c.patch
deleted file mode 100644
index ac0ee48f62d..00000000000
--- a/games-action/lugaru/files/lugaru-20151204-jpeg-9c.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://bugs.gentoo.org/652930
-
---- a/Source/OpenGL_Windows.cpp
-+++ b/Source/OpenGL_Windows.cpp
-@@ -839,7 +839,7 @@
- (void) jpeg_read_header(&cinfo, TRUE);
-
- cinfo.out_color_space = JCS_RGB;
-- cinfo.quantize_colors = 0;
-+ cinfo.quantize_colors = FALSE;
- (void) jpeg_calc_output_dimensions(&cinfo);
- (void) jpeg_start_decompress(&cinfo);
-
diff --git a/games-action/lugaru/lugaru-20151204-r1.ebuild b/games-action/lugaru/lugaru-20151204-r1.ebuild
deleted file mode 100644
index 5b6ae229877..00000000000
--- a/games-action/lugaru/lugaru-20151204-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake desktop
-
-DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
-HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- media-libs/libpng:0=
- media-libs/libsdl:=[opengl,video]
- media-libs/libvorbis:=
- media-libs/openal:=
- sys-libs/zlib:=
- virtual/glu
- virtual/jpeg:0
- virtual/opengl"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${P}-dir.patch
- "${FILESDIR}"/${P}-jpeg-9c.patch
-)
-
-src_prepare() {
- cmake_src_prepare
-
- sed -i \
- -e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
- Source/OpenGL_Windows.cpp || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_VERBOSE_MAKEFILE=TRUE
- -DLUGARU_FORCE_INTERNAL_OPENGL=False
- )
- cmake_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/lugaru
- insinto /usr/share/${PN}
- doins -r Data
- newicon Source/win-res/Lugaru.png ${PN}.png
- make_desktop_entry ${PN} Lugaru ${PN}
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-05 23:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-05 23:56 [gentoo-commits] repo/gentoo:master commit in: games-action/lugaru/, games-action/lugaru/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2017-01-25 23:05 Austin English
2015-12-09 21:25 Michael Sterrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox