[gentoo-commits] repo/proj/guru:dev commit in: games-action/classicube/

2023-10-01 Thread Seth Price
commit: 0e6d740a98cb15f0079b49a57fe077e91235739f
Author: Seth Price  aol  com>
AuthorDate: Sun Oct  1 23:17:36 2023 +
Commit: Seth Price  aol  com>
CommitDate: Sun Oct  1 23:17:36 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e6d740a

games-action/classicube: add 1.3.6, drop 1.3.5-r1

Signed-off-by: Seth Price  aol.com>

 games-action/classicube/Manifest| 2 +-
 .../classicube/{classicube-1.3.5-r1.ebuild => classicube-1.3.6.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-action/classicube/Manifest b/games-action/classicube/Manifest
index c6e5dd2914..e125e7aa1d 100644
--- a/games-action/classicube/Manifest
+++ b/games-action/classicube/Manifest
@@ -1 +1 @@
-DIST classicube-1.3.5.tar.gz 2395406 BLAKE2B 
b3cd38a61ba3dbb1e47d9837bfae9527d9ba34b893101dd9158c75edbaf90256d63f31f3230371458d485c3177a6b9c9d252ed8fef82cd7c99fdb74af08beec0
 SHA512 
d7eb0fed96a206e4a389a354e6345dd6186a37d6fa0240cc4227745d073b749ba147309f872e4f1599ea79a28d914bb8d53b9d9fdbc5931c6327b9e1de92c5c8
+DIST classicube-1.3.6.tar.gz 2490780 BLAKE2B 
9ec2f7bbdcbc1281a7f574fe4d533f66d896ff13b172bcba07cc21bbdfe374beee7f7ab6a9e9aec480efbd991019989f564aa125b2f24031ea6cd90e1a98c8b6
 SHA512 
cc5b7aca6536d2521e48bd75bc5efe0e262bf62c5bc97f5028a28a1236891a9d68678a3bf8c24492742a228f216e5492347d651b98eb63ef9cf389d3f5dcf87d

diff --git a/games-action/classicube/classicube-1.3.5-r1.ebuild 
b/games-action/classicube/classicube-1.3.6.ebuild
similarity index 100%
rename from games-action/classicube/classicube-1.3.5-r1.ebuild
rename to games-action/classicube/classicube-1.3.6.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: games-action/classicube/

2023-08-21 Thread Seth Price
commit: 79cb9cbb17f87d4d40387e5c2f163f5dbb8d624d
Author: Seth Price  aol  com>
AuthorDate: Tue Aug 22 01:13:29 2023 +
Commit: Seth Price  aol  com>
CommitDate: Tue Aug 22 01:13:29 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79cb9cbb

games-action/classicube: add 

Signed-off-by: Seth Price  aol.com>

 games-action/classicube/classicube-.ebuild | 28 ++
 1 file changed, 28 insertions(+)

diff --git a/games-action/classicube/classicube-.ebuild 
b/games-action/classicube/classicube-.ebuild
new file mode 100644
index 00..71ea6881c3
--- /dev/null
+++ b/games-action/classicube/classicube-.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="Reverse-engineered Minecraft Classic client"
+HOMEPAGE="https://www.classicube.net/;
+EGIT_REPO_URI="https://github.com/UnknownShadow200/ClassiCube.git;
+
+LICENSE="BSD MIT FTL"
+SLOT="0"
+
+DEPEND="x11-libs/libX11 x11-libs/libXi virtual/opengl"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+   $(tc-getCC) ${CFLAGS} ${LDFLAGS} src/*.c -o ClassiCube -rdynamic -lm 
-lpthread -lX11 -lXi -lGL -ldl || die
+}
+
+src_install() {
+   exeinto "/usr/libexec"
+   doexe ClassiCube
+   dobin "${FILESDIR}/ClassiCube"
+   dodoc readme.md
+   dodoc doc/*.md
+}



[gentoo-commits] repo/proj/guru:dev commit in: games-action/classicube/

2023-08-12 Thread Seth Price
commit: 0b2e90ef8c7fb5e8fb37fda2481190873e4659b3
Author: Seth Price  aol  com>
AuthorDate: Sat Aug 12 17:49:07 2023 +
Commit: Seth Price  aol  com>
CommitDate: Sat Aug 12 17:49:07 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b2e90ef

games-action/classicube: bump to r1

I forgot to change the ebuild revision number in 2c28563

Signed-off-by: Seth Price  aol.com>

 .../classicube/{classicube-1.3.5.ebuild => classicube-1.3.5-r1.ebuild}| 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/games-action/classicube/classicube-1.3.5.ebuild 
b/games-action/classicube/classicube-1.3.5-r1.ebuild
similarity index 100%
rename from games-action/classicube/classicube-1.3.5.ebuild
rename to games-action/classicube/classicube-1.3.5-r1.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: games-action/classicube/

2023-08-12 Thread Seth Price
commit: 2c28563208546035e22693fa216e2660240f3c6f
Author: Seth Price  aol  com>
AuthorDate: Sat Aug 12 17:43:15 2023 +
Commit: Seth Price  aol  com>
CommitDate: Sat Aug 12 17:45:19 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c285632

games-action/classicube: use .tar.gz dist 1.3.5

Signed-off-by: Seth Price  aol.com>

 games-action/classicube/Manifest| 1 +
 games-action/classicube/classicube-1.3.5.ebuild | 7 ---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/games-action/classicube/Manifest b/games-action/classicube/Manifest
new file mode 100644
index 00..c6e5dd2914
--- /dev/null
+++ b/games-action/classicube/Manifest
@@ -0,0 +1 @@
+DIST classicube-1.3.5.tar.gz 2395406 BLAKE2B 
b3cd38a61ba3dbb1e47d9837bfae9527d9ba34b893101dd9158c75edbaf90256d63f31f3230371458d485c3177a6b9c9d252ed8fef82cd7c99fdb74af08beec0
 SHA512 
d7eb0fed96a206e4a389a354e6345dd6186a37d6fa0240cc4227745d073b749ba147309f872e4f1599ea79a28d914bb8d53b9d9fdbc5931c6327b9e1de92c5c8

diff --git a/games-action/classicube/classicube-1.3.5.ebuild 
b/games-action/classicube/classicube-1.3.5.ebuild
index 6b4ef90492..26680233f4 100644
--- a/games-action/classicube/classicube-1.3.5.ebuild
+++ b/games-action/classicube/classicube-1.3.5.ebuild
@@ -3,15 +3,16 @@
 
 EAPI=8
 
-inherit git-r3 toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Reverse-engineered Minecraft Classic client"
 HOMEPAGE="https://www.classicube.net/;
-EGIT_REPO_URI="https://github.com/UnknownShadow200/ClassiCube;
-EGIT_COMMIT="${PV}"
+SRC_URI="https://github.com/UnknownShadow200/ClassiCube/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/ClassiCube-${PV}"
 
 LICENSE="BSD MIT FTL"
 SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~sparc ~x86"
 
 DEPEND="x11-libs/libX11 x11-libs/libXi virtual/opengl"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/proj/guru:dev commit in: games-action/classicube/files/, games-action/classicube/

2023-08-10 Thread Seth Price
commit: 47bcbd3d95e3b7b1c7109e7268d569816d58
Author: Seth Price  aol  com>
AuthorDate: Fri Aug 11 03:09:28 2023 +
Commit: Seth Price  aol  com>
CommitDate: Fri Aug 11 03:09:28 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47bcbd3d

games-action/classicube: new package, add 1.3.5

Signed-off-by: Seth Price  aol.com>

 games-action/classicube/classicube-1.3.5.ebuild | 29 +
 games-action/classicube/files/ClassiCube|  6 +
 games-action/classicube/metadata.xml| 18 +++
 3 files changed, 53 insertions(+)

diff --git a/games-action/classicube/classicube-1.3.5.ebuild 
b/games-action/classicube/classicube-1.3.5.ebuild
new file mode 100644
index 00..6b4ef90492
--- /dev/null
+++ b/games-action/classicube/classicube-1.3.5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="Reverse-engineered Minecraft Classic client"
+HOMEPAGE="https://www.classicube.net/;
+EGIT_REPO_URI="https://github.com/UnknownShadow200/ClassiCube;
+EGIT_COMMIT="${PV}"
+
+LICENSE="BSD MIT FTL"
+SLOT="0"
+
+DEPEND="x11-libs/libX11 x11-libs/libXi virtual/opengl"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+   $(tc-getCC) ${CFLAGS} ${LDFLAGS} src/*.c -o ClassiCube -rdynamic -lm 
-lpthread -lX11 -lXi -lGL -ldl || die
+}
+
+src_install() {
+   exeinto "/usr/libexec"
+   doexe ClassiCube
+   dobin "${FILESDIR}/ClassiCube"
+   dodoc readme.md
+   dodoc doc/*.md
+}

diff --git a/games-action/classicube/files/ClassiCube 
b/games-action/classicube/files/ClassiCube
new file mode 100644
index 00..17f76fc89b
--- /dev/null
+++ b/games-action/classicube/files/ClassiCube
@@ -0,0 +1,6 @@
+#!/bin/sh
+# ClassiCube just writes everything to $PWD,
+# so this wrapper changes $PWD to something sane
+DATADIR=$HOME/.local/share/ClassiCube
+[ -d "$DATADIR" ] || mkdir -p "$DATADIR" || exit 1
+(cd "$DATADIR" && /usr/libexec/ClassiCube)

diff --git a/games-action/classicube/metadata.xml 
b/games-action/classicube/metadata.xml
new file mode 100644
index 00..748edc52e2
--- /dev/null
+++ b/games-action/classicube/metadata.xml
@@ -0,0 +1,18 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Seth Price
+   sprice...@aol.com
+   
+   
+   ClassiCube is a clean-room reverse-engineered Minecraft Classic
+   client with optional additional features such as noclip and fly.
+   ClassiCube has a significantly lightweight memory footprint
+   and is designed to work on any OpenGL-supported graphics card. 
+   
+   
+   
https://github.com/UnknownShadow200/ClassiCube/issues
+   UnknownShadow200/ClassiCube
+   
+