[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2024-03-20 Thread Sam James
commit: b7fab67b675ac1be6b7e4647bf4bc4b2c242450b
Author: orbea  riseup  net>
AuthorDate: Thu Mar 21 01:37:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:15:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7fab67b

games-emulation/sameboy-jg: drop 0.15.8

Signed-off-by: orbea  riseup.net>
Signed-off-by: Sam James  gentoo.org>

 games-emulation/sameboy-jg/Manifest|  1 -
 .../sameboy-jg/sameboy-jg-0.15.8.ebuild| 49 --
 2 files changed, 50 deletions(-)

diff --git a/games-emulation/sameboy-jg/Manifest 
b/games-emulation/sameboy-jg/Manifest
index af96d59b4360..a7466bb9989a 100644
--- a/games-emulation/sameboy-jg/Manifest
+++ b/games-emulation/sameboy-jg/Manifest
@@ -1,2 +1 @@
-DIST sameboy-0.15.8.tar.bz2 3002961 BLAKE2B 
5eacbc82d8c93ee85b774c554b3d3750088e8a4219d5b04daa9e6db0c70923ef823befc12831382a27ee007f117fddcfe35ff3549d7684b8587db9ffc486ccd6
 SHA512 
9074dfcbf400fe51e605ef0200f6ea8483650d605ab19177089c0e60f9996c15f265c5dec5fd0e6651392c9a9515e8380499e00bac837bb645220cd6ffa9c870
 DIST sameboy-0.16.2.tar.bz2 3556441 BLAKE2B 
0972cb8ba200d8ac95a3d66e3b671c1adeeea71eebb4202b1985f7f72edebd42886aac48040bf034dab8d93fd52d15165551ee8dfaf6870a59ca7f574fc99e0f
 SHA512 
bd456e248ec2d6ea0e8b017b705c829c6a94b1f7fe734769a86774c4b6983278cc5b4d61fdf8164844545bbd250b3c4f1fe725046ac7edb301268291d907f39f

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
deleted file mode 100644
index c41503e9640a..
--- a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-MY_PN=${PN%-*}
-MY_P=${MY_PN}-${PV}
-DESCRIPTION="Jolly Good Port of SameBoy"
-HOMEPAGE="https://gitlab.com/jgemu/sameboy;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git;
-else
-   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
-   S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="1"
-
-DEPEND="
-   media-libs/jg:1=
-"
-RDEPEND="
-   ${DEPEND}
-   games-emulation/jgrf
-"
-BDEPEND="
-   >=dev-util/rgbds-0.6.0
-   virtual/pkgconfig
-"
-
-src_compile() {
-   emake -C jollygood \
-   CC="$(tc-getCC)" \
-   CC_FOR_BUILD="$(tc-getBUILD_CC)" \
-   PKG_CONFIG="$(tc-getPKG_CONFIG)"
-}
-
-src_install() {
-   emake -C jollygood install \
-   DESTDIR="${D}" \
-   PREFIX="${EPREFIX}"/usr \
-   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
-   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/, games-emulation/sameboy-jg/files/

2024-03-20 Thread Sam James
commit: 0d3e1ba523906f345fe1c646bc7323448ec46c77
Author: orbea  riseup  net>
AuthorDate: Thu Mar 21 01:35:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:15:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3e1ba5

games-emulation/sameboy-jg: fix strict aliasing

Bug: https://bugs.gentoo.org/926077
Upstream-PR: https://github.com/LIJI32/SameBoy/pull/593
Upstream-Commit: 
https://github.com/LIJI32/SameBoy/commit/8739da61c013e20e1cc94f0619c622a65c713408
Upstream-PR: https://gitlab.com/jgemu/sameboy/-/merge_requests/50
Upstream-Commit: 
https://gitlab.com/jgemu/sameboy/-/commit/6a283f65cc4b9ee4896942afde745fa67e612fd3
Upstream-Commit: 
https://gitlab.com/jgemu/sameboy/-/commit/9067678fe0160fe5c2f10a7f6271f8293d5150d1
Signed-off-by: orbea  riseup.net>
Signed-off-by: Sam James  gentoo.org>

 .../files/sameboy-jg-0.16.2-strict-aliasing.patch  | 115 +
 .../sameboy-jg/sameboy-jg-0.16.2-r1.ebuild |  54 ++
 2 files changed, 169 insertions(+)

diff --git 
a/games-emulation/sameboy-jg/files/sameboy-jg-0.16.2-strict-aliasing.patch 
b/games-emulation/sameboy-jg/files/sameboy-jg-0.16.2-strict-aliasing.patch
new file mode 100644
index ..f1c82ef78ea6
--- /dev/null
+++ b/games-emulation/sameboy-jg/files/sameboy-jg-0.16.2-strict-aliasing.patch
@@ -0,0 +1,115 @@
+https://bugs.gentoo.org/926077
+https://github.com/LIJI32/SameBoy/pull/593
+https://gitlab.com/jgemu/sameboy/-/merge_requests/50
+https://gitlab.com/jgemu/sameboy/-/commit/6a283f65cc4b9ee4896942afde745fa67e612fd3
+https://gitlab.com/jgemu/sameboy/-/commit/9067678fe0160fe5c2f10a7f6271f8293d5150d1
+
+From 6a283f65cc4b9ee4896942afde745fa67e612fd3 Mon Sep 17 00:00:00 2001
+From: Lior Halphon 
+Date: Sat, 9 Mar 2024 11:08:01 -0800
+Subject: [PATCH 1/2] Avoid strict aliasing violations. Closes #593
+
+Backported from:
+
+https://github.com/LIJI32/SameBoy/commit/8739da61c013e20e1cc94f0619c622a65c713408
+---
+ Core/apu.c |  4 ++--
+ Core/apu.h | 11 +++
+ Makefile   |  2 +-
+ 3 files changed, 14 insertions(+), 3 deletions(-)
+
+diff --git a/Core/apu.c b/Core/apu.c
+index e621e82a..0f0ed16b 100644
+--- a/Core/apu.c
 b/Core/apu.c
+@@ -100,7 +100,7 @@ static void update_sample(GB_gameboy_t *gb, GB_channel_t 
index, int8_t value, un
+ output.left = output.right = 0;
+ }
+ 
+-if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != 
*(uint32_t *)) {
++if (gb->apu_output.current_sample[index].packed != output.packed) 
{
+ refresh_channel(gb, index, cycles_offset);
+ gb->apu_output.current_sample[index] = output;
+ }
+@@ -131,7 +131,7 @@ static void update_sample(GB_gameboy_t *gb, GB_channel_t 
index, int8_t value, un
+ if (likely(!gb->apu_output.channel_muted[index])) {
+ output = (GB_sample_t){(0xF - value * 2) * left_volume, (0xF - 
value * 2) * right_volume};
+ }
+-if (*(uint32_t *)&(gb->apu_output.current_sample[index]) != 
*(uint32_t *)) {
++if (gb->apu_output.current_sample[index].packed != output.packed) {
+ refresh_channel(gb, index, cycles_offset);
+ gb->apu_output.current_sample[index] = output;
+ }
+diff --git a/Core/apu.h b/Core/apu.h
+index c8700c80..15b54a87 100644
+--- a/Core/apu.h
 b/Core/apu.h
+@@ -25,11 +25,22 @@
+ 
+ /* APU ticks are 2MHz, triggered by an internal APU clock. */
+ 
++#ifdef GB_INTERNAL
++typedef union
++{
++struct {
++int16_t left;
++int16_t right;
++};
++uint32_t packed;
++} GB_sample_t;
++#else
+ typedef struct
+ {
+ int16_t left;
+ int16_t right;
+ } GB_sample_t;
++#endif
+ 
+ typedef struct
+ {
+diff --git a/Makefile b/Makefile
+index c25f38b2..bc239893 100644
+--- a/Makefile
 b/Makefile
+@@ -164,7 +164,7 @@ endif
+ 
+ # These must come before the -Wno- flags
+ WARNINGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option 
-Wno-missing-braces
+-WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing 
-Wno-multichar -Wno-int-in-bool-context -Wno-format-truncation
++WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-multichar 
-Wno-int-in-bool-context -Wno-format-truncation
+ 
+ # Only add this flag if the compiler supports it
+ ifeq ($(shell $(CC) -x c -c $(NULL) -o $(NULL) -Werror -Wpartial-availability 
2> $(NULL); echo $$?),0)
+-- 
+GitLab
+
+
+From 9067678fe0160fe5c2f10a7f6271f8293d5150d1 Mon Sep 17 00:00:00 2001
+From: orbea 
+Date: Sat, 9 Mar 2024 11:08:57 -0800
+Subject: [PATCH 2/2] build: remove -Wno-strict-aliasing + add
+ -Wno-missing-braces
+
+Upstream also uses -Wno-missing-braces
+
+See: https://github.com/LIJI32/SameBoy/pull/597
+---
+ jollygood/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/jollygood/Makefile b/jollygood/Makefile
+index a0bd24b3..b1c22384 100644
+--- a/jollygood/Makefile
 b/jollygood/Makefile
+@@ -17,7 

[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2024-02-23 Thread Joonas Niilola
commit: 4b89e14e5f4d121ca9bd7e851a3d66b05511c16e
Author: orbea  riseup  net>
AuthorDate: Sat Feb 24 00:19:16 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Feb 24 07:06:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b89e14e

games-emulation/sameboy-jg: update maintainers

Signed-off-by: orbea  riseup.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 games-emulation/sameboy-jg/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-emulation/sameboy-jg/metadata.xml 
b/games-emulation/sameboy-jg/metadata.xml
index 38804aef71b7..3f127f5cbd75 100644
--- a/games-emulation/sameboy-jg/metadata.xml
+++ b/games-emulation/sameboy-jg/metadata.xml
@@ -5,9 +5,9 @@
or...@riseup.net
orbea

-   
-   s...@gentoo.org
-   Sam James
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers


SameBoy is an extremely accurate, powerful and open source



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2024-01-20 Thread Sam James
commit: ea04e149270cb065624cd6f5fe265a6cb0749cee
Author: orbea  riseup  net>
AuthorDate: Wed Jan 10 00:59:38 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 03:59:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea04e149

games-emulation/sameboy-jg: add 0.16.2

Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/34725
Signed-off-by: Sam James  gentoo.org>

 games-emulation/sameboy-jg/Manifest|  1 +
 .../sameboy-jg/sameboy-jg-0.16.2.ebuild| 49 ++
 2 files changed, 50 insertions(+)

diff --git a/games-emulation/sameboy-jg/Manifest 
b/games-emulation/sameboy-jg/Manifest
index 29205beac02c..af96d59b4360 100644
--- a/games-emulation/sameboy-jg/Manifest
+++ b/games-emulation/sameboy-jg/Manifest
@@ -1 +1,2 @@
 DIST sameboy-0.15.8.tar.bz2 3002961 BLAKE2B 
5eacbc82d8c93ee85b774c554b3d3750088e8a4219d5b04daa9e6db0c70923ef823befc12831382a27ee007f117fddcfe35ff3549d7684b8587db9ffc486ccd6
 SHA512 
9074dfcbf400fe51e605ef0200f6ea8483650d605ab19177089c0e60f9996c15f265c5dec5fd0e6651392c9a9515e8380499e00bac837bb645220cd6ffa9c870
+DIST sameboy-0.16.2.tar.bz2 3556441 BLAKE2B 
0972cb8ba200d8ac95a3d66e3b671c1adeeea71eebb4202b1985f7f72edebd42886aac48040bf034dab8d93fd52d15165551ee8dfaf6870a59ca7f574fc99e0f
 SHA512 
bd456e248ec2d6ea0e8b017b705c829c6a94b1f7fe734769a86774c4b6983278cc5b4d61fdf8164844545bbd250b3c4f1fe725046ac7edb301268291d907f39f

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild
new file mode 100644
index ..c41503e9640a
--- /dev/null
+++ b/games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Port of SameBoy"
+HOMEPAGE="https://gitlab.com/jgemu/sameboy;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git;
+else
+   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
+   S="${WORKDIR}/${MY_P}"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="1"
+
+DEPEND="
+   media-libs/jg:1=
+"
+RDEPEND="
+   ${DEPEND}
+   games-emulation/jgrf
+"
+BDEPEND="
+   >=dev-util/rgbds-0.6.0
+   virtual/pkgconfig
+"
+
+src_compile() {
+   emake -C jollygood \
+   CC="$(tc-getCC)" \
+   CC_FOR_BUILD="$(tc-getBUILD_CC)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+   emake -C jollygood install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}"/usr \
+   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2024-01-20 Thread Sam James
commit: 69a8273d14f064a3ac474ab81967f9dd1f256448
Author: orbea  riseup  net>
AuthorDate: Wed Jan 10 00:59:08 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 03:59:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69a8273d

games-emulation/sameboy-jg: sync keywords

Signed-off-by: orbea  riseup.net>
Signed-off-by: Sam James  gentoo.org>

 games-emulation/sameboy-jg/sameboy-jg-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-emulation/sameboy-jg/sameboy-jg-.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-.ebuild
index 2a20f4b0419c..c41503e9640a 100644
--- a/games-emulation/sameboy-jg/sameboy-jg-.ebuild
+++ b/games-emulation/sameboy-jg/sameboy-jg-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then
 else

SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2024-01-06 Thread Viorel Munteanu
commit: 391c981457a8756a23369a7dcae5b00b3b58e1ed
Author: Matoro Mahri  matoro  tk>
AuthorDate: Fri Jan  5 18:44:12 2024 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sat Jan  6 19:29:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391c9814

games-emulation/sameboy-jg: Keyword 0.15.8 arm, #891201

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Viorel Munteanu  gentoo.org>

 games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
index 6db3090deab8..c41503e9640a 100644
--- a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
+++ b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then
 else

SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2023-12-02 Thread Sam James
commit: 595285ae7cfac6f09b84f4ad183147eb6c4dc352
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  3 07:41:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  3 07:41:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595285ae

games-emulation/sameboy-jg: Keyword 0.15.8 ppc64, #891201

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

 games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
index ba4993eab3bc..6db3090deab8 100644
--- a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
+++ b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then
 else

SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2023-12-02 Thread Arthur Zamarin
commit: 9d4b9ecc65e834ed584042b1de647e85d3d84459
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  2 09:23:09 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  2 09:23:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d4b9ecc

games-emulation/sameboy-jg: Keyword 0.15.8 ppc, #891201

Signed-off-by: Arthur Zamarin  gentoo.org>

 games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
index f653bf007f9b..ba4993eab3bc 100644
--- a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
+++ b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then
 else

SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2023-09-17 Thread Arthur Zamarin
commit: 10f5f6d18cf0a4d5c0383c2738b834fba51e7f60
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Sep 17 08:56:28 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Sep 17 08:56:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f5f6d1

games-emulation/sameboy-jg: Keyword 0.15.8 x86, #891201

Signed-off-by: Arthur Zamarin  gentoo.org>

 games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
index 9ff11f703c28..f653bf007f9b 100644
--- a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
+++ b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then
 else

SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64 ~arm64"
+   KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2023-09-12 Thread Sam James
commit: 81b2a5130d9f5128c669dd1fd09859e72fad9781
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 13 03:19:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 13 03:19:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81b2a513

games-emulation/sameboy-jg: Keyword 0.15.8 arm64, #891201

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

 games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
index 2a20f4b0419c..9ff11f703c28 100644
--- a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
+++ b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then
 else

SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm64"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2023-02-22 Thread Sam James
commit: b17675b335a2986f9b4727373d2bdd0d306fd843
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 22 09:29:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 22 09:29:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17675b3

games-emulation/sameboy-jg: proxy orbea directly

I'll proxy directly.

Bug: https://bugs.gentoo.org/895856
Signed-off-by: Sam James  gentoo.org>

 games-emulation/sameboy-jg/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-emulation/sameboy-jg/metadata.xml 
b/games-emulation/sameboy-jg/metadata.xml
index 3f127f5cbd75..38804aef71b7 100644
--- a/games-emulation/sameboy-jg/metadata.xml
+++ b/games-emulation/sameboy-jg/metadata.xml
@@ -5,9 +5,9 @@
or...@riseup.net
orbea

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
+   
+   s...@gentoo.org
+   Sam James


SameBoy is an extremely accurate, powerful and open source



[gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/

2023-01-15 Thread Sam James
commit: cef5a8d3da32d04e6e66452986316f0757527227
Author: orbea  riseup  net>
AuthorDate: Wed Dec 28 01:19:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 15 14:16:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cef5a8d3

games-emulation/sameboy-jg: New package, 0.15.8

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

 games-emulation/sameboy-jg/Manifest|  1 +
 games-emulation/sameboy-jg/metadata.xml| 21 ++
 .../sameboy-jg/sameboy-jg-0.15.8.ebuild| 49 ++
 games-emulation/sameboy-jg/sameboy-jg-.ebuild  | 49 ++
 4 files changed, 120 insertions(+)

diff --git a/games-emulation/sameboy-jg/Manifest 
b/games-emulation/sameboy-jg/Manifest
new file mode 100644
index ..29205beac02c
--- /dev/null
+++ b/games-emulation/sameboy-jg/Manifest
@@ -0,0 +1 @@
+DIST sameboy-0.15.8.tar.bz2 3002961 BLAKE2B 
5eacbc82d8c93ee85b774c554b3d3750088e8a4219d5b04daa9e6db0c70923ef823befc12831382a27ee007f117fddcfe35ff3549d7684b8587db9ffc486ccd6
 SHA512 
9074dfcbf400fe51e605ef0200f6ea8483650d605ab19177089c0e60f9996c15f265c5dec5fd0e6651392c9a9515e8380499e00bac837bb645220cd6ffa9c870

diff --git a/games-emulation/sameboy-jg/metadata.xml 
b/games-emulation/sameboy-jg/metadata.xml
new file mode 100644
index ..3f127f5cbd75
--- /dev/null
+++ b/games-emulation/sameboy-jg/metadata.xml
@@ -0,0 +1,21 @@
+
+https://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   or...@riseup.net
+   orbea
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   SameBoy is an extremely accurate, powerful and open source
+   Game Boy (DMG), Game Boy Color (CGB) and Super Game Boy (SGB)
+   emulator, written in portable C.
+   
+   
+   https://gitlab.com/jgemu/sameboy/-/issues
+   jgemu/sameboy
+   
+

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
new file mode 100644
index ..2a20f4b0419c
--- /dev/null
+++ b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Port of SameBoy"
+HOMEPAGE="https://gitlab.com/jgemu/sameboy;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git;
+else
+   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
+   S="${WORKDIR}/${MY_P}"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="1"
+
+DEPEND="
+   media-libs/jg:1=
+"
+RDEPEND="
+   ${DEPEND}
+   games-emulation/jgrf
+"
+BDEPEND="
+   >=dev-util/rgbds-0.6.0
+   virtual/pkgconfig
+"
+
+src_compile() {
+   emake -C jollygood \
+   CC="$(tc-getCC)" \
+   CC_FOR_BUILD="$(tc-getBUILD_CC)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+   emake -C jollygood install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}"/usr \
+   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}

diff --git a/games-emulation/sameboy-jg/sameboy-jg-.ebuild 
b/games-emulation/sameboy-jg/sameboy-jg-.ebuild
new file mode 100644
index ..2a20f4b0419c
--- /dev/null
+++ b/games-emulation/sameboy-jg/sameboy-jg-.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Port of SameBoy"
+HOMEPAGE="https://gitlab.com/jgemu/sameboy;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git;
+else
+   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2;
+   S="${WORKDIR}/${MY_P}"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="1"
+
+DEPEND="
+   media-libs/jg:1=
+"
+RDEPEND="
+   ${DEPEND}
+   games-emulation/jgrf
+"
+BDEPEND="
+   >=dev-util/rgbds-0.6.0
+   virtual/pkgconfig
+"
+
+src_compile() {
+   emake -C jollygood \
+   CC="$(tc-getCC)" \
+   CC_FOR_BUILD="$(tc-getBUILD_CC)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+   emake -C jollygood install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}"/usr \
+   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}