public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2023-01-15 14:16 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2023-01-15 14:16 UTC (permalink / raw
  To: gentoo-commits

commit:     156ac8efe22317774f027d1d7eefdf322355e098
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Dec 28 01:14:26 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 14:16:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=156ac8ef

games-emulation/gambatte-jg: New package, v0.5.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/gambatte-jg/Manifest               |  1 +
 .../gambatte-jg/gambatte-jg-0.5.1.ebuild           | 46 ++++++++++++++++++++++
 .../gambatte-jg/gambatte-jg-9999.ebuild            | 46 ++++++++++++++++++++++
 games-emulation/gambatte-jg/metadata.xml           | 20 ++++++++++
 4 files changed, 113 insertions(+)

diff --git a/games-emulation/gambatte-jg/Manifest b/games-emulation/gambatte-jg/Manifest
new file mode 100644
index 000000000000..40a95ee7206c
--- /dev/null
+++ b/games-emulation/gambatte-jg/Manifest
@@ -0,0 +1 @@
+DIST gambatte-0.5.1.tar.bz2 305331 BLAKE2B edde374d0ed2b5f8c9ca3060520f2ffa392a82378fcac0ad18ea6ca0a02bc5240c8dc9f72c6427f2c85f11fd4b68b1a92717c20f34ad71d27a1ee3e9eb5238cd SHA512 60ea7199b1f26bb403ac48d871ef5191cbd6de6794ecde72693d9360ca476b364dc9e6c5bd88d5e54e9835d67feb17d1b7453b48096736ef870bea473b0691a5

diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
new file mode 100644
index 000000000000..bc00ccf2fcc5
--- /dev/null
+++ b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
@@ -0,0 +1,46 @@
+# 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 Fork of Gambatte"
+HOMEPAGE="https://gitlab.com/jgemu/gambatte"
+if [[ "${PV}" == *9999 ]] ; 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="BSD GPL-2"
+SLOT="1"
+
+DEPEND="
+	media-libs/jg:1=
+	media-libs/soxr
+"
+RDEPEND="
+	${DEPEND}
+	games-emulation/jgrf
+"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+src_compile() {
+	emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+	emake install \
+		DESTDIR="${D}" \
+		PREFIX="${EPREFIX}"/usr \
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}

diff --git a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
new file mode 100644
index 000000000000..bc00ccf2fcc5
--- /dev/null
+++ b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
@@ -0,0 +1,46 @@
+# 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 Fork of Gambatte"
+HOMEPAGE="https://gitlab.com/jgemu/gambatte"
+if [[ "${PV}" == *9999 ]] ; 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="BSD GPL-2"
+SLOT="1"
+
+DEPEND="
+	media-libs/jg:1=
+	media-libs/soxr
+"
+RDEPEND="
+	${DEPEND}
+	games-emulation/jgrf
+"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+src_compile() {
+	emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+	emake install \
+		DESTDIR="${D}" \
+		PREFIX="${EPREFIX}"/usr \
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}

diff --git a/games-emulation/gambatte-jg/metadata.xml b/games-emulation/gambatte-jg/metadata.xml
new file mode 100644
index 000000000000..11b3abfb9e4f
--- /dev/null
+++ b/games-emulation/gambatte-jg/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>orbea@riseup.net</email>
+		<name>orbea</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+		Gambatte JG is an emulator for the Nintendo Game Boy/Game Boy
+		Color. This is a fork of the final public revision of Gambatte.
+	</longdescription>
+	<upstream>
+		<bugs-to>https://gitlab.com/jgemu/gambatte/-/issues</bugs-to>
+		<remote-id type="gitlab">jgemu/gambatte</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2023-02-22  9:32 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2023-02-22  9:32 UTC (permalink / raw
  To: gentoo-commits

commit:     7fa8556c892d84c33b19bb9b92d2060a9c20e622
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 09:26:34 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 09:26:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fa8556c

games-emulation/gambatte-jg: proxy orbea directly

I'll proxy directly.

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

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

diff --git a/games-emulation/gambatte-jg/metadata.xml b/games-emulation/gambatte-jg/metadata.xml
index 11b3abfb9e4f..184d31eac85b 100644
--- a/games-emulation/gambatte-jg/metadata.xml
+++ b/games-emulation/gambatte-jg/metadata.xml
@@ -5,9 +5,9 @@
 		<email>orbea@riseup.net</email>
 		<name>orbea</name>
 	</maintainer>
-	<maintainer type="project" proxied="proxy">
-		<email>proxy-maint@gentoo.org</email>
-		<name>Proxy Maintainers</name>
+	<maintainer type="person" proxied="proxy">
+		<email>sam@gentoo.org</email>
+		<name>Sam James</name>
 	</maintainer>
 	<longdescription>
 		Gambatte JG is an emulator for the Nintendo Game Boy/Game Boy


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2023-09-13  3:20 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2023-09-13  3:20 UTC (permalink / raw
  To: gentoo-commits

commit:     4fa4ee52a53ac60b985eec113beb6b92b04c2d19
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 13 03:19:37 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 13 03:19:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa4ee52

games-emulation/gambatte-jg: Keyword 0.5.1 arm64, #891201

Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
index bc00ccf2fcc5..4fd4a02f0bff 100644
--- a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
+++ b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.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}" == *9999 ]] ; 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="BSD GPL-2"


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2023-09-17  8:56 Arthur Zamarin
  0 siblings, 0 replies; 13+ messages in thread
From: Arthur Zamarin @ 2023-09-17  8:56 UTC (permalink / raw
  To: gentoo-commits

commit:     180d72de6c5a4ae9bca936fe3034ce643e995a74
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 17 08:56:24 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 17 08:56:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=180d72de

games-emulation/gambatte-jg: Keyword 0.5.1 x86, #891201

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
index 4fd4a02f0bff..ee81328fad86 100644
--- a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
+++ b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" == *9999 ]] ; 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="BSD GPL-2"


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2023-12-03  7:42 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2023-12-03  7:42 UTC (permalink / raw
  To: gentoo-commits

commit:     33d4154fc024e7a09d395e109ae963b85b9ee7a1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  3 07:41:28 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 07:41:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d4154f

games-emulation/gambatte-jg: Keyword 0.5.1 ppc64, #891201

Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
index 54b757c6b1e9..b2332ba34365 100644
--- a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
+++ b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" == *9999 ]] ; 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="BSD GPL-2"


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2024-01-06 19:30 Viorel Munteanu
  0 siblings, 0 replies; 13+ messages in thread
From: Viorel Munteanu @ 2024-01-06 19:30 UTC (permalink / raw
  To: gentoo-commits

commit:     15e48158c01e4da644d85bfd10e0c151b44bdca0
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Fri Jan  5 18:44:07 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 19:29:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e48158

games-emulation/gambatte-jg: Keyword 0.5.1 arm, #891201

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

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

diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
index b2332ba34365..038f39202180 100644
--- a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
+++ b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.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}" == *9999 ]] ; 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="BSD GPL-2"


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2024-02-23  9:22 Viorel Munteanu
  0 siblings, 0 replies; 13+ messages in thread
From: Viorel Munteanu @ 2024-02-23  9:22 UTC (permalink / raw
  To: gentoo-commits

commit:     bfc0d59cfc1655e5337aac5945ccc3e50d66d256
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 09:21:39 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 09:22:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc0d59c

games-emulation/gambatte-jg: update maintainers

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 games-emulation/gambatte-jg/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/games-emulation/gambatte-jg/metadata.xml b/games-emulation/gambatte-jg/metadata.xml
index 537d0c732c6f..231d8c0f1d03 100644
--- a/games-emulation/gambatte-jg/metadata.xml
+++ b/games-emulation/gambatte-jg/metadata.xml
@@ -9,6 +9,10 @@
 		<email>sam@gentoo.org</email>
 		<name>Sam James</name>
 	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
 	<use>
 		<flag name="jgmodule">Build module for The Jolly Good API</flag>
 		<flag name="shared">Build shared library</flag>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2024-02-23  9:22 Viorel Munteanu
  0 siblings, 0 replies; 13+ messages in thread
From: Viorel Munteanu @ 2024-02-23  9:22 UTC (permalink / raw
  To: gentoo-commits

commit:     00afd8addb1784b03b0bb637ca6c2fd85676044f
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sun Jan 28 23:00:25 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 09:22:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00afd8ad

games-emulation/gambatte-jg: new USE flags

* examples: Install the example frontend for libgambatte
* jgmodule: Install the module for The Jolly Good API
* shared: Install the shared libgambatte library

The old behavior was to only build the Jollygood module.

Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35060
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 .../gambatte-jg/gambatte-jg-9999.ebuild            | 51 +++++++++++++++++-----
 games-emulation/gambatte-jg/metadata.xml           |  4 ++
 2 files changed, 44 insertions(+), 11 deletions(-)

diff --git a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
index bc00ccf2fcc5..1c1fd17466dd 100644
--- a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
+++ b/games-emulation/gambatte-jg/gambatte-jg-9999.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,32 +15,61 @@ if [[ "${PV}" == *9999 ]] ; 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="BSD GPL-2"
+LICENSE="
+	GPL-2
+	examples? ( 0BSD )
+	jgmodule? ( BSD )
+"
 SLOT="1"
+IUSE="examples +jgmodule shared"
+REQUIRED_USE="|| ( examples jgmodule shared )"
 
 DEPEND="
-	media-libs/jg:1=
-	media-libs/soxr
+	examples? (
+		media-libs/libsdl2[opengl,sound,video]
+		media-libs/speexdsp
+	)
+	jgmodule? (
+		media-libs/jg:1=
+		media-libs/soxr
+	)
 "
 RDEPEND="
 	${DEPEND}
-	games-emulation/jgrf
+	jgmodule? ( games-emulation/jgrf )
 "
 BDEPEND="
 	virtual/pkgconfig
 "
 
+pkg_setup() {
+	local makeopts=(
+		DISABLE_MODULE=$(usex jgmodule 0 1)
+		ENABLE_EXAMPLE=$(usex examples 1 0)
+		ENABLE_SHARED=$(usex shared 1 0)
+	)
+	export MY_MAKEOPTS="${makeopts[@]}"
+}
+
 src_compile() {
-	emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+	local mymakeargs=(
+		CXX="$(tc-getCXX)"
+		PKG_CONFIG="$(tc-getPKG_CONFIG)"
+		${MY_MAKEOPTS}
+	)
+	emake "${mymakeargs[@]}"
 }
 
 src_install() {
-	emake install \
-		DESTDIR="${D}" \
-		PREFIX="${EPREFIX}"/usr \
-		DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+	local mymakeargs=(
+		DESTDIR="${D}"
+		PREFIX="${EPREFIX}"/usr
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
 		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+		${MY_MAKEOPTS}
+	)
+	emake install "${mymakeargs[@]}"
 }

diff --git a/games-emulation/gambatte-jg/metadata.xml b/games-emulation/gambatte-jg/metadata.xml
index 184d31eac85b..537d0c732c6f 100644
--- a/games-emulation/gambatte-jg/metadata.xml
+++ b/games-emulation/gambatte-jg/metadata.xml
@@ -9,6 +9,10 @@
 		<email>sam@gentoo.org</email>
 		<name>Sam James</name>
 	</maintainer>
+	<use>
+		<flag name="jgmodule">Build module for The Jolly Good API</flag>
+		<flag name="shared">Build shared library</flag>
+	</use>
 	<longdescription>
 		Gambatte JG is an emulator for the Nintendo Game Boy/Game Boy
 		Color. This is a fork of the final public revision of Gambatte.


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2024-02-24  7:06 Joonas Niilola
  0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2024-02-24  7:06 UTC (permalink / raw
  To: gentoo-commits

commit:     c8e4da23f6b7e7f156a1df8d29535a5899d99c40
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Feb 24 00:09:35 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 07:06:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e4da23

games-emulation/gambatte-jg: add missing dependency

The example build depends on the -lGL linker flag from gl.pc provided by
libglvnd.

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

 games-emulation/gambatte-jg/gambatte-jg-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
index 1c1fd17466dd..7cb90f422adf 100644
--- a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
+++ b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
@@ -29,6 +29,7 @@ REQUIRED_USE="|| ( examples jgmodule shared )"
 
 DEPEND="
 	examples? (
+		media-libs/libglvnd
 		media-libs/libsdl2[opengl,sound,video]
 		media-libs/speexdsp
 	)


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2024-02-24  7:06 Joonas Niilola
  0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2024-02-24  7:06 UTC (permalink / raw
  To: gentoo-commits

commit:     71d8fe0858aaf1ae035e1fb9207d519d9467beb1
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Feb 24 00:08:37 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 07:06:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d8fe08

games-emulation/gambatte-jg: update maintainers

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

 games-emulation/gambatte-jg/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/games-emulation/gambatte-jg/metadata.xml b/games-emulation/gambatte-jg/metadata.xml
index 231d8c0f1d03..00fbf9b518a6 100644
--- a/games-emulation/gambatte-jg/metadata.xml
+++ b/games-emulation/gambatte-jg/metadata.xml
@@ -5,10 +5,6 @@
 		<email>orbea@riseup.net</email>
 		<name>orbea</name>
 	</maintainer>
-	<maintainer type="person" proxied="proxy">
-		<email>sam@gentoo.org</email>
-		<name>Sam James</name>
-	</maintainer>
 	<maintainer type="project" proxied="proxy">
 		<email>proxy-maint@gentoo.org</email>
 		<name>Proxy Maintainers</name>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2024-03-21  2:45 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2024-03-21  2:45 UTC (permalink / raw
  To: gentoo-commits

commit:     afd7ff992cc509f18baa5f65fe7788ecf4440b58
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Mar  2 16:32:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 02:45:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd7ff99

games-emulation/gambatte-jg: update dependencies

Upstream decided to use the SDL renderer instead of opengl for
gambatte-example.

Upstream-Commit: https://gitlab.com/jgemu/gambatte/-/commit/9c11623a72412e821c594772ca335885c34b453b
Upstream-Commit: https://gitlab.com/jgemu/gambatte/-/commit/d0932d38f0df4ddc3a18e3465276eea9ff743166
Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35600
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/gambatte-jg/gambatte-jg-9999.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
index 7cb90f422adf..f342303e1e39 100644
--- a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
+++ b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
@@ -29,8 +29,7 @@ REQUIRED_USE="|| ( examples jgmodule shared )"
 
 DEPEND="
 	examples? (
-		media-libs/libglvnd
-		media-libs/libsdl2[opengl,sound,video]
+		media-libs/libsdl2[sound,video]
 		media-libs/speexdsp
 	)
 	jgmodule? (


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2024-04-29  8:46 Joonas Niilola
  0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2024-04-29  8:46 UTC (permalink / raw
  To: gentoo-commits

commit:     e2dd3c4eaeb7121d246c822633ca01e08ed0cf3d
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sun Apr  7 14:21:57 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Apr 29 08:45:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2dd3c4e

games-emulation/gambatte-jg: use src_configure

Using pkg_setup to set the make arguments was originally copied from
dev-vcs/git, but the git ebuild seems to have changed to use
src_configure since I did so.

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

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

diff --git a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
index f342303e1e39..5b5647ac0425 100644
--- a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
+++ b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
@@ -45,7 +45,7 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
-pkg_setup() {
+src_configure() {
 	local makeopts=(
 		DISABLE_MODULE=$(usex jgmodule 0 1)
 		ENABLE_EXAMPLE=$(usex examples 1 0)


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/
@ 2024-04-29  8:46 Joonas Niilola
  0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2024-04-29  8:46 UTC (permalink / raw
  To: gentoo-commits

commit:     52e1c0009631818fa409ab9119d9c2023253cb60
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sun Mar 31 17:09:59 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Apr 29 08:45:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e1c000

games-emulation/gambatte-jg: add 0.6.0

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

 games-emulation/gambatte-jg/Manifest               |  1 +
 .../gambatte-jg/gambatte-jg-0.6.0.ebuild           | 75 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/games-emulation/gambatte-jg/Manifest b/games-emulation/gambatte-jg/Manifest
index 40a95ee7206c..d220eb85ea9a 100644
--- a/games-emulation/gambatte-jg/Manifest
+++ b/games-emulation/gambatte-jg/Manifest
@@ -1 +1,2 @@
 DIST gambatte-0.5.1.tar.bz2 305331 BLAKE2B edde374d0ed2b5f8c9ca3060520f2ffa392a82378fcac0ad18ea6ca0a02bc5240c8dc9f72c6427f2c85f11fd4b68b1a92717c20f34ad71d27a1ee3e9eb5238cd SHA512 60ea7199b1f26bb403ac48d871ef5191cbd6de6794ecde72693d9360ca476b364dc9e6c5bd88d5e54e9835d67feb17d1b7453b48096736ef870bea473b0691a5
+DIST gambatte-0.6.0.tar.bz2 384803 BLAKE2B 8d203385704fc212c84835ec1446dac9b7e64b59dc04ffc72533fe309716ea78a58d5b61707214b2b66dd9af5e5f9d52e0e46973673ab50b04dbd3b2075de51f SHA512 538a52d91b554c9a01c8e4ffbb96aa81638344687d0dee593f8950c10a93d732f44442ada4809cb36be5311df2bdce65b1d5f71db97579bcf8cb9516dddc30a3

diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.6.0.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.6.0.ebuild
new file mode 100644
index 000000000000..5b5647ac0425
--- /dev/null
+++ b/games-emulation/gambatte-jg/gambatte-jg-0.6.0.ebuild
@@ -0,0 +1,75 @@
+# 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 Fork of Gambatte"
+HOMEPAGE="https://gitlab.com/jgemu/gambatte"
+if [[ "${PV}" == *9999 ]] ; 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="
+	GPL-2
+	examples? ( 0BSD )
+	jgmodule? ( BSD )
+"
+SLOT="1"
+IUSE="examples +jgmodule shared"
+REQUIRED_USE="|| ( examples jgmodule shared )"
+
+DEPEND="
+	examples? (
+		media-libs/libsdl2[sound,video]
+		media-libs/speexdsp
+	)
+	jgmodule? (
+		media-libs/jg:1=
+		media-libs/soxr
+	)
+"
+RDEPEND="
+	${DEPEND}
+	jgmodule? ( games-emulation/jgrf )
+"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local makeopts=(
+		DISABLE_MODULE=$(usex jgmodule 0 1)
+		ENABLE_EXAMPLE=$(usex examples 1 0)
+		ENABLE_SHARED=$(usex shared 1 0)
+	)
+	export MY_MAKEOPTS="${makeopts[@]}"
+}
+
+src_compile() {
+	local mymakeargs=(
+		CXX="$(tc-getCXX)"
+		PKG_CONFIG="$(tc-getPKG_CONFIG)"
+		${MY_MAKEOPTS}
+	)
+	emake "${mymakeargs[@]}"
+}
+
+src_install() {
+	local mymakeargs=(
+		DESTDIR="${D}"
+		PREFIX="${EPREFIX}"/usr
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+		${MY_MAKEOPTS}
+	)
+	emake install "${mymakeargs[@]}"
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-04-29  8:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-22  9:32 [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-04-29  8:46 Joonas Niilola
2024-04-29  8:46 Joonas Niilola
2024-03-21  2:45 Sam James
2024-02-24  7:06 Joonas Niilola
2024-02-24  7:06 Joonas Niilola
2024-02-23  9:22 Viorel Munteanu
2024-02-23  9:22 Viorel Munteanu
2024-01-06 19:30 Viorel Munteanu
2023-12-03  7:42 Sam James
2023-09-17  8:56 Arthur Zamarin
2023-09-13  3:20 Sam James
2023-01-15 14:16 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox