public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-11-06 19:31 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-11-06 19:31 UTC (permalink / raw
  To: gentoo-commits

commit:     192feaa6ce3298158238a077b78bd9b797dac35d
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  6 19:31:29 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Nov  6 19:31:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192feaa6

games-emulation/melonds: add wayland dependency

Closes: https://bugs.gentoo.org/880079
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../melonds/{melonds-0.9.5-r2.ebuild => melonds-0.9.5-r3.ebuild}         | 1 +
 games-emulation/melonds/melonds-9999.ebuild                              | 1 +
 2 files changed, 2 insertions(+)

diff --git a/games-emulation/melonds/melonds-0.9.5-r2.ebuild b/games-emulation/melonds/melonds-0.9.5-r3.ebuild
similarity index 98%
rename from games-emulation/melonds/melonds-0.9.5-r2.ebuild
rename to games-emulation/melonds/melonds-0.9.5-r3.ebuild
index 928a0567b3fd..380ce1eb8140 100644
--- a/games-emulation/melonds/melonds-0.9.5-r2.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5-r3.ebuild
@@ -28,6 +28,7 @@ SLOT="0"
 
 RDEPEND="
 	app-arch/libarchive
+	dev-libs/wayland
 	dev-qt/qtcore:5
 	dev-qt/qtgui:5
 	dev-qt/qtmultimedia:5

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 928a0567b3fd..380ce1eb8140 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -28,6 +28,7 @@ SLOT="0"
 
 RDEPEND="
 	app-arch/libarchive
+	dev-libs/wayland
 	dev-qt/qtcore:5
 	dev-qt/qtgui:5
 	dev-qt/qtmultimedia:5


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2024-09-28  9:38 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2024-09-28  9:38 UTC (permalink / raw
  To: gentoo-commits

commit:     4ca6f5e9dbfce5802e5b7aaee5e8f46c93f34d75
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 28 09:37:37 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 09:37:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca6f5e9

games-emulation/melonds: Stabilize 0.9.5_p20240815 amd64, #940289

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

 games-emulation/melonds/melonds-0.9.5_p20240815.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/melonds/melonds-0.9.5_p20240815.ebuild b/games-emulation/melonds/melonds-0.9.5_p20240815.ebuild
index 954ab038e91d..90c40826835f 100644
--- a/games-emulation/melonds/melonds-0.9.5_p20240815.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5_p20240815.ebuild
@@ -23,7 +23,7 @@ else
 		-> ${REAL_P}.tar.gz"
 	S="${WORKDIR}/${REAL_PN}-${COMMIT}"
 
-	KEYWORDS="~amd64"
+	KEYWORDS="amd64"
 fi
 
 LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2024-08-17 13:27 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2024-08-17 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     12abf297056704b7897fce6a507438bc5c658854
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 10:54:18 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 13:27:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12abf297

games-emulation/melonds: bump to 0.9.5_p20240815

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/Manifest                   |  1 +
 .../melonds/melonds-0.9.5_p20240815.ebuild         | 99 ++++++++++++++++++++++
 2 files changed, 100 insertions(+)

diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
index e1e62ba7a142..e3938d87baed 100644
--- a/games-emulation/melonds/Manifest
+++ b/games-emulation/melonds/Manifest
@@ -1 +1,2 @@
 DIST melonDS-0.9.5_p20231231.tar.gz 3103695 BLAKE2B 36923cf1e7faf58a05eeac2152faf4ac6387a932fc7accf4be339c752171c6e2d6d7a61d5c9de40e02163a5552701c2f313da85515380e529188260b633445dc SHA512 fe99a37ba347eb6aed470d7b93e4ddbcb32ae81045d64509441ce0fa3b08da31d32b42fef7aca5f01556ae7321fb534ebc369f091e1a8852f4a45eaa7bd941a1
+DIST melonDS-0.9.5_p20240815.tar.gz 3400066 BLAKE2B c2e530ee12e1ba6cb9d7bc1ac233be984a00a9b182b4f8cab3082dad3b6e0449239455f422113ca8efcbcfafd8a4b8bca3b3dc84c79936e467f001b21b90f79d SHA512 7845be503f272aa2b7e070b19c46893274fc3d44ace3ae1ce11e33da8e58766127cb1c89dcb92bd8084f33a8cc7c0241b7416423ec93fe45858211cd69e1766e

diff --git a/games-emulation/melonds/melonds-0.9.5_p20240815.ebuild b/games-emulation/melonds/melonds-0.9.5_p20240815.ebuild
new file mode 100644
index 000000000000..954ab038e91d
--- /dev/null
+++ b/games-emulation/melonds/melonds-0.9.5_p20240815.ebuild
@@ -0,0 +1,99 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+REAL_PN="melonDS"
+REAL_P="${REAL_PN}-${PV}"
+
+[[ "${PV}" == *p20240815 ]] && COMMIT="0e6235a7c4d3e69940a6deae158a5a91dfbfa612"
+
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
+
+DESCRIPTION="Nintendo DS emulator, sorta"
+HOMEPAGE="http://melonds.kuribo64.net
+	https://github.com/Arisotura/melonDS"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/Arisotura/${REAL_PN}.git"
+else
+	SRC_URI="https://github.com/Arisotura/${REAL_PN}/archive/${COMMIT}.tar.gz
+		-> ${REAL_P}.tar.gz"
+	S="${WORKDIR}/${REAL_PN}-${COMMIT}"
+
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
+SLOT="0"
+IUSE="+jit +opengl wayland"
+
+RDEPEND="
+	app-arch/libarchive
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtmultimedia:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	media-libs/libsdl2[sound,video]
+	net-libs/enet:=
+	net-libs/libpcap
+	net-libs/libslirp
+	wayland? (
+		dev-libs/wayland
+	)
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	wayland? (
+		kde-frameworks/extra-cmake-modules:0
+	)
+"
+
+# used for JIT recompiler
+QA_EXECSTACK="usr/bin/melonDS"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="You need the following files in order to run melonDS:
+- bios7.bin
+- bios9.bin
+- firmware.bin
+- romlist.bin
+Place them in ~/.config/melonDS
+Those files can be extracted from devices or found somewhere on the Internet ;-)"
+
+src_prepare() {
+	filter-lto
+	append-flags -fno-strict-aliasing
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	local -a mycmakeargs=(
+		-DBUILD_SHARED_LIBS="OFF"
+		-DENABLE_JIT="$(usex jit)"
+		-DENABLE_OGLRENDERER="$(usex opengl)"
+		-DENABLE_WAYLAND="$(usex wayland)"
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	tc-export AR
+	cmake_src_compile
+}
+
+src_install() {
+	readme.gentoo_create_doc
+	cmake_src_install
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2024-08-17 13:27 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2024-08-17 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     e6decb2f6f86e8823232b37e4f090a66b95df697
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 10:30:41 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 13:27:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6decb2f

games-emulation/melonds: add new enet dependency to live 9999

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/melonds-9999.ebuild | 37 ++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 14 deletions(-)

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index ff839958a635..e20ccdc8096e 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -3,8 +3,8 @@
 
 EAPI=8
 
-MY_PN="melonDS"
-MY_P="${MY_PN}-${PV}"
+REAL_PN="melonDS"
+REAL_P="${REAL_PN}-${PV}"
 
 inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
@@ -15,18 +15,18 @@ HOMEPAGE="http://melonds.kuribo64.net
 if [[ "${PV}" == *9999* ]] ; then
 	inherit git-r3
 
-	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
+	EGIT_REPO_URI="https://github.com/Arisotura/${REAL_PN}.git"
 else
-	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz
-		-> ${MY_P}.tar.gz"
-	S="${WORKDIR}/${MY_P}"
+	SRC_URI="https://github.com/Arisotura/${REAL_PN}/archive/${PV}.tar.gz
+		-> ${REAL_P}.tar.gz"
+	S="${WORKDIR}/${REAL_P}"
 
 	KEYWORDS="~amd64"
 fi
 
-IUSE="+jit +opengl wayland"
 LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
 SLOT="0"
+IUSE="+jit +opengl wayland"
 
 RDEPEND="
 	app-arch/libarchive
@@ -36,12 +36,21 @@ RDEPEND="
 	dev-qt/qtnetwork:5
 	dev-qt/qtwidgets:5
 	media-libs/libsdl2[sound,video]
+	net-libs/enet:=
 	net-libs/libpcap
 	net-libs/libslirp
-	wayland? ( dev-libs/wayland )
+	wayland? (
+		dev-libs/wayland
+	)
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	wayland? (
+		kde-frameworks/extra-cmake-modules:0
+	)
 "
-DEPEND="${RDEPEND}"
-BDEPEND="wayland? ( kde-frameworks/extra-cmake-modules:0 )"
 
 # used for JIT recompiler
 QA_EXECSTACK="usr/bin/melonDS"
@@ -64,10 +73,10 @@ src_prepare() {
 
 src_configure() {
 	local -a mycmakeargs=(
-		-DBUILD_SHARED_LIBS=OFF
-		-DENABLE_JIT=$(usex jit)
-		-DENABLE_OGLRENDERER=$(usex opengl)
-		-DENABLE_WAYLAND=$(usex wayland)
+		-DBUILD_SHARED_LIBS="OFF"
+		-DENABLE_JIT="$(usex jit)"
+		-DENABLE_OGLRENDERER="$(usex opengl)"
+		-DENABLE_WAYLAND="$(usex wayland)"
 	)
 	cmake_src_configure
 }


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2024-04-11  1:38 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2024-04-11  1:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9b0d25b6220bef0502427fb250793f091238631c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 10 23:46:27 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 01:38:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b0d25b6

games-emulation/melonds: drop old 0.9.5-r5

Closes: https://bugs.gentoo.org/880653
Closes: https://bugs.gentoo.org/832843
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/Manifest                |  1 -
 games-emulation/melonds/melonds-0.9.5-r5.ebuild | 96 -------------------------
 2 files changed, 97 deletions(-)

diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
index f684569347e1..e1e62ba7a142 100644
--- a/games-emulation/melonds/Manifest
+++ b/games-emulation/melonds/Manifest
@@ -1,2 +1 @@
-DIST melonDS-0.9.5.tar.gz 2496704 BLAKE2B ac6b75a74df266c6220a15c8775969f19bd6ef19946c913d49b642aa797ca6dc4cd956e7a840fbdbf572a9178a214314549cfe3fc4617a4f0f3877850c6818cd SHA512 115cf04e4e22a20016ac4f2946aef917e5c9566b1a5f18599f7b7c47b0ac71e3645157a8a21622ab83683848c57ab25e6d6fcff0df559087b56642d99ffe40ec
 DIST melonDS-0.9.5_p20231231.tar.gz 3103695 BLAKE2B 36923cf1e7faf58a05eeac2152faf4ac6387a932fc7accf4be339c752171c6e2d6d7a61d5c9de40e02163a5552701c2f313da85515380e529188260b633445dc SHA512 fe99a37ba347eb6aed470d7b93e4ddbcb32ae81045d64509441ce0fa3b08da31d32b42fef7aca5f01556ae7321fb534ebc369f091e1a8852f4a45eaa7bd941a1

diff --git a/games-emulation/melonds/melonds-0.9.5-r5.ebuild b/games-emulation/melonds/melonds-0.9.5-r5.ebuild
deleted file mode 100644
index ae2f49cc74cb..000000000000
--- a/games-emulation/melonds/melonds-0.9.5-r5.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 2019-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="melonDS"
-MY_P="${MY_PN}-${PV}"
-
-inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
-
-DESCRIPTION="Nintendo DS emulator, sorta"
-HOMEPAGE="http://melonds.kuribo64.net
-	https://github.com/Arisotura/melonDS"
-
-if [[ "${PV}" == *9999* ]] ; then
-	inherit git-r3
-
-	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
-else
-	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz
-		-> ${MY_P}.tar.gz"
-	S="${WORKDIR}/${MY_P}"
-
-	KEYWORDS="amd64"
-fi
-
-IUSE="+jit +opengl"
-LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
-SLOT="0"
-
-RDEPEND="
-	app-arch/libarchive
-	dev-libs/wayland
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
-	dev-qt/qtmultimedia:5
-	dev-qt/qtnetwork:5
-	dev-qt/qtwidgets:5
-	media-libs/libsdl2[sound,video]
-	net-libs/libpcap
-	net-libs/libslirp
-"
-DEPEND="
-	${RDEPEND}
-"
-BDEPEND="
-	kde-frameworks/extra-cmake-modules:0
-"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-0.9.5-DSi_Camera-algorithm.patch"
-	"${FILESDIR}/${PN}-0.9.5-no-ccache-detection.patch"
-)
-
-# used for JIT recompiler
-QA_EXECSTACK="usr/bin/melonDS"
-
-DISABLE_AUTOFORMATTING="yes"
-DOC_CONTENTS="You need the following files in order to run melonDS:
-- bios7.bin
-- bios9.bin
-- firmware.bin
-- romlist.bin
-Place them in ~/.config/melonDS
-Those files can be extracted from devices or found somewhere on the Internet ;-)"
-
-src_prepare() {
-	filter-lto
-	append-flags -fno-strict-aliasing
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	local -a mycmakeargs=(
-		-DBUILD_SHARED_LIBS=OFF
-		-DENABLE_JIT=$(usex jit)
-		-DENABLE_OGLRENDERER=$(usex opengl)
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	tc-export AR
-	cmake_src_compile
-}
-
-src_install() {
-	readme.gentoo_create_doc
-	cmake_src_install
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-	readme.gentoo_print_elog
-}


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2024-02-03 19:09 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2024-02-03 19:09 UTC (permalink / raw
  To: gentoo-commits

commit:     05a6858716f9270f47ac80a88eac9b930e7c6275
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  3 19:06:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb  3 19:08:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a68587

games-emulation/melonds: Stabilize 0.9.5_p20231231 amd64, #923638

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

 games-emulation/melonds/melonds-0.9.5_p20231231.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild b/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild
index 96f47acd73f9..c332cc92a388 100644
--- a/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild
@@ -23,7 +23,7 @@ else
 		-> ${MY_P}.tar.gz"
 	S="${WORKDIR}/${MY_PN}-${COMMIT}"
 
-	KEYWORDS="~amd64"
+	KEYWORDS="amd64"
 fi
 
 IUSE="+jit +opengl wayland"


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2024-01-01 20:29 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2024-01-01 20:29 UTC (permalink / raw
  To: gentoo-commits

commit:     6c0b2bd8e901d95bb18d3b4298453d35fa016270
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  1 20:26:33 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan  1 20:29:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c0b2bd8

games-emulation/melonds: bump to 0.9.5_p20231231

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/Manifest                   |  1 +
 .../melonds/melonds-0.9.5_p20231231.ebuild         | 90 ++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
index f10365358a08..f684569347e1 100644
--- a/games-emulation/melonds/Manifest
+++ b/games-emulation/melonds/Manifest
@@ -1 +1,2 @@
 DIST melonDS-0.9.5.tar.gz 2496704 BLAKE2B ac6b75a74df266c6220a15c8775969f19bd6ef19946c913d49b642aa797ca6dc4cd956e7a840fbdbf572a9178a214314549cfe3fc4617a4f0f3877850c6818cd SHA512 115cf04e4e22a20016ac4f2946aef917e5c9566b1a5f18599f7b7c47b0ac71e3645157a8a21622ab83683848c57ab25e6d6fcff0df559087b56642d99ffe40ec
+DIST melonDS-0.9.5_p20231231.tar.gz 3103695 BLAKE2B 36923cf1e7faf58a05eeac2152faf4ac6387a932fc7accf4be339c752171c6e2d6d7a61d5c9de40e02163a5552701c2f313da85515380e529188260b633445dc SHA512 fe99a37ba347eb6aed470d7b93e4ddbcb32ae81045d64509441ce0fa3b08da31d32b42fef7aca5f01556ae7321fb534ebc369f091e1a8852f4a45eaa7bd941a1

diff --git a/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild b/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild
new file mode 100644
index 000000000000..96f47acd73f9
--- /dev/null
+++ b/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild
@@ -0,0 +1,90 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="melonDS"
+MY_P="${MY_PN}-${PV}"
+
+[[ "${PV}" == *_p20231231 ]] && COMMIT=8bfc6df8de216eff0be4be1dbe37b19a741bed51
+
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
+
+DESCRIPTION="Nintendo DS emulator, sorta"
+HOMEPAGE="http://melonds.kuribo64.net
+	https://github.com/Arisotura/melonDS"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
+else
+	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${COMMIT}.tar.gz
+		-> ${MY_P}.tar.gz"
+	S="${WORKDIR}/${MY_PN}-${COMMIT}"
+
+	KEYWORDS="~amd64"
+fi
+
+IUSE="+jit +opengl wayland"
+LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
+SLOT="0"
+
+RDEPEND="
+	app-arch/libarchive
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtmultimedia:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	media-libs/libsdl2[sound,video]
+	net-libs/libpcap
+	net-libs/libslirp
+	wayland? ( dev-libs/wayland )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="wayland? ( kde-frameworks/extra-cmake-modules:0 )"
+
+# used for JIT recompiler
+QA_EXECSTACK="usr/bin/melonDS"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="You need the following files in order to run melonDS:
+- bios7.bin
+- bios9.bin
+- firmware.bin
+- romlist.bin
+Place them in ~/.config/melonDS
+Those files can be extracted from devices or found somewhere on the Internet ;-)"
+
+src_prepare() {
+	filter-lto
+	append-flags -fno-strict-aliasing
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	local -a mycmakeargs=(
+		-DBUILD_SHARED_LIBS=OFF
+		-DENABLE_JIT=$(usex jit)
+		-DENABLE_OGLRENDERER=$(usex opengl)
+		-DENABLE_WAYLAND=$(usex wayland)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	tc-export AR
+	cmake_src_compile
+}
+
+src_install() {
+	readme.gentoo_create_doc
+	cmake_src_install
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2024-01-01 20:29 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2024-01-01 20:29 UTC (permalink / raw
  To: gentoo-commits

commit:     23da15cf6d34199d69e3c9e1d52042116f613e5c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  1 19:50:31 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan  1 20:29:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23da15cf

games-emulation/melonds: update doc

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../{melonds-0.9.5-r4.ebuild => melonds-0.9.5-r5.ebuild}     | 12 +++++++-----
 games-emulation/melonds/melonds-9999.ebuild                  | 12 +++++++-----
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/games-emulation/melonds/melonds-0.9.5-r4.ebuild b/games-emulation/melonds/melonds-0.9.5-r5.ebuild
similarity index 88%
rename from games-emulation/melonds/melonds-0.9.5-r4.ebuild
rename to games-emulation/melonds/melonds-0.9.5-r5.ebuild
index 5171a6bad8ec..ae2f49cc74cb 100644
--- a/games-emulation/melonds/melonds-0.9.5-r4.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2023 Gentoo Authors
+# Copyright 2019-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,13 +12,15 @@ DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="http://melonds.kuribo64.net
 	https://github.com/Arisotura/melonDS"
 
-if [[ ${PV} == *9999* ]] ; then
+if [[ "${PV}" == *9999* ]] ; then
 	inherit git-r3
+
 	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
 else
 	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz
 		-> ${MY_P}.tar.gz"
-	S="${WORKDIR}"/${MY_P}
+	S="${WORKDIR}/${MY_P}"
+
 	KEYWORDS="amd64"
 fi
 
@@ -60,7 +62,7 @@ DOC_CONTENTS="You need the following files in order to run melonDS:
 - firmware.bin
 - romlist.bin
 Place them in ~/.config/melonDS
-Those files can be found somewhere on the Internet ;-)"
+Those files can be extracted from devices or found somewhere on the Internet ;-)"
 
 src_prepare() {
 	filter-lto
@@ -70,7 +72,7 @@ src_prepare() {
 }
 
 src_configure() {
-	local mycmakeargs=(
+	local -a mycmakeargs=(
 		-DBUILD_SHARED_LIBS=OFF
 		-DENABLE_JIT=$(usex jit)
 		-DENABLE_OGLRENDERER=$(usex opengl)

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 9255b44e2e4f..ff839958a635 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2023 Gentoo Authors
+# Copyright 2019-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,13 +12,15 @@ DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="http://melonds.kuribo64.net
 	https://github.com/Arisotura/melonDS"
 
-if [[ ${PV} == *9999* ]] ; then
+if [[ "${PV}" == *9999* ]] ; then
 	inherit git-r3
+
 	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
 else
 	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz
 		-> ${MY_P}.tar.gz"
-	S="${WORKDIR}"/${MY_P}
+	S="${WORKDIR}/${MY_P}"
+
 	KEYWORDS="~amd64"
 fi
 
@@ -51,7 +53,7 @@ DOC_CONTENTS="You need the following files in order to run melonDS:
 - firmware.bin
 - romlist.bin
 Place them in ~/.config/melonDS
-Those files can be found somewhere on the Internet ;-)"
+Those files can be extracted from devices or found somewhere on the Internet ;-)"
 
 src_prepare() {
 	filter-lto
@@ -61,7 +63,7 @@ src_prepare() {
 }
 
 src_configure() {
-	local mycmakeargs=(
+	local -a mycmakeargs=(
 		-DBUILD_SHARED_LIBS=OFF
 		-DENABLE_JIT=$(usex jit)
 		-DENABLE_OGLRENDERER=$(usex opengl)


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2023-05-05 12:03 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2023-05-05 12:03 UTC (permalink / raw
  To: gentoo-commits

commit:     2557374b261adcbe2281177bb3c75219dcc1914b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri May  5 10:44:06 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May  5 12:03:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2557374b

games-emulation/melonds: drop old 0.9.3-r2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/Manifest                |  1 -
 games-emulation/melonds/melonds-0.9.3-r2.ebuild | 88 -------------------------
 2 files changed, 89 deletions(-)

diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
index 6aaceabb1389..f499bb042b9c 100644
--- a/games-emulation/melonds/Manifest
+++ b/games-emulation/melonds/Manifest
@@ -1,3 +1,2 @@
-DIST melonDS-0.9.3.tar.gz 2241325 BLAKE2B 0ea7fbcce039a60a0553ae45d11f0b1550bfec2300faf1c99c3ee531bd5949c7293bec187fbf53e400bbb6280df29db141b2d1bcb294a8abf2eabb71993db686 SHA512 37f26f3a9784873ce1664645cea70049725367f5fe62f7c58842ebd5da2c73ffe423695dddb0ffd444bdf59df2a3fcd778cdf95b2bb083014b961fed282953f5
 DIST melonDS-0.9.4_p1.tar.gz 2330696 BLAKE2B f118d067505d740fef2c9f3a7761580981d43c6c63f9bfb34f48cbc5c6932e5410ee31259845787262412b040a66c85cdd4298645e2060fc6c8821a89b314711 SHA512 76886ecfbabd00ae9261c33fcd4074b20e989f4357575bf68139538136fb0ba728d7590310ce4ae9c45670ee01ec315046f03f54e7ca9a359be202709b030f6d
 DIST melonDS-0.9.5.tar.gz 2496704 BLAKE2B ac6b75a74df266c6220a15c8775969f19bd6ef19946c913d49b642aa797ca6dc4cd956e7a840fbdbf572a9178a214314549cfe3fc4617a4f0f3877850c6818cd SHA512 115cf04e4e22a20016ac4f2946aef917e5c9566b1a5f18599f7b7c47b0ac71e3645157a8a21622ab83683848c57ab25e6d6fcff0df559087b56642d99ffe40ec

diff --git a/games-emulation/melonds/melonds-0.9.3-r2.ebuild b/games-emulation/melonds/melonds-0.9.3-r2.ebuild
deleted file mode 100644
index 9e88eb4d73ac..000000000000
--- a/games-emulation/melonds/melonds-0.9.3-r2.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 2019-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="melonDS"
-MY_P="${MY_PN}-${PV}"
-
-inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
-
-DESCRIPTION="Nintendo DS emulator, sorta"
-HOMEPAGE="
-	http://melonds.kuribo64.net
-	https://github.com/Arisotura/melonDS
-"
-
-if [[ "${PV}" == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
-else
-	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
-	KEYWORDS="~amd64"
-	S="${WORKDIR}/${MY_P}"
-fi
-
-IUSE="+jit +opengl"
-LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
-SLOT="0"
-
-DEPEND="
-	app-arch/libarchive
-	dev-libs/teakra
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
-	dev-qt/qtnetwork:5
-	dev-qt/qtwidgets:5
-	media-libs/libsdl2[sound,video]
-	net-libs/libpcap
-	net-libs/libslirp
-	opengl? ( media-libs/libepoxy )
-"
-RDEPEND="${DEPEND}"
-
-# used for JIT recompiler
-QA_EXECSTACK="usr/bin/melonDS"
-
-DISABLE_AUTOFORMATTING="yes"
-DOC_CONTENTS="You need the following files in order to run melonDS:
-- bios7.bin
-- bios9.bin
-- firmware.bin
-- romlist.bin
-Place them in ~/.config/melonDS
-Those files can be found somewhere on the Internet ;-)"
-
-PATCHES=( "${FILESDIR}"/melonds-system-teakra.patch )
-
-src_prepare() {
-	rm -r ./src/teakra || die
-
-	filter-lto
-	append-flags -fno-strict-aliasing
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DENABLE_JIT=$(usex jit)
-		-DENABLE_OGLRENDERER=$(usex opengl)
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	tc-export AR
-	cmake_src_compile
-}
-
-src_install() {
-	cmake_src_install
-	readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-	readme.gentoo_print_elog
-}


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2023-05-05 12:03 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2023-05-05 12:03 UTC (permalink / raw
  To: gentoo-commits

commit:     4904eaeae17b198b66fea17e0ba0f6db77694529
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri May  5 10:44:13 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May  5 12:03:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4904eaea

games-emulation/melonds: drop old 0.9.4_p1-r1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/Manifest                   |  1 -
 games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild | 88 ----------------------
 2 files changed, 89 deletions(-)

diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
index f499bb042b9c..f10365358a08 100644
--- a/games-emulation/melonds/Manifest
+++ b/games-emulation/melonds/Manifest
@@ -1,2 +1 @@
-DIST melonDS-0.9.4_p1.tar.gz 2330696 BLAKE2B f118d067505d740fef2c9f3a7761580981d43c6c63f9bfb34f48cbc5c6932e5410ee31259845787262412b040a66c85cdd4298645e2060fc6c8821a89b314711 SHA512 76886ecfbabd00ae9261c33fcd4074b20e989f4357575bf68139538136fb0ba728d7590310ce4ae9c45670ee01ec315046f03f54e7ca9a359be202709b030f6d
 DIST melonDS-0.9.5.tar.gz 2496704 BLAKE2B ac6b75a74df266c6220a15c8775969f19bd6ef19946c913d49b642aa797ca6dc4cd956e7a840fbdbf572a9178a214314549cfe3fc4617a4f0f3877850c6818cd SHA512 115cf04e4e22a20016ac4f2946aef917e5c9566b1a5f18599f7b7c47b0ac71e3645157a8a21622ab83683848c57ab25e6d6fcff0df559087b56642d99ffe40ec

diff --git a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild b/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
deleted file mode 100644
index 847e5ae74193..000000000000
--- a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 2019-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="melonDS"
-MY_P="${MY_PN}-${PV}"
-
-inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
-
-DESCRIPTION="Nintendo DS emulator, sorta"
-HOMEPAGE="
-	http://melonds.kuribo64.net
-	https://github.com/Arisotura/melonDS
-"
-
-if [[ "${PV}" == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
-else
-	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/$(ver_cut 1-3).tar.gz -> ${MY_P}.tar.gz"
-	KEYWORDS="~amd64"
-	S="${WORKDIR}"/${MY_PN}-0.9.4
-fi
-
-IUSE="+jit +opengl"
-LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
-SLOT="0"
-
-DEPEND="
-	app-arch/libarchive
-	dev-libs/teakra
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
-	dev-qt/qtnetwork:5
-	dev-qt/qtwidgets:5
-	media-libs/libsdl2[sound,video]
-	net-libs/libpcap
-	net-libs/libslirp
-	opengl? ( media-libs/libepoxy )
-"
-RDEPEND="${DEPEND}"
-
-# used for JIT recompiler
-QA_EXECSTACK="usr/bin/melonDS"
-
-DISABLE_AUTOFORMATTING="yes"
-DOC_CONTENTS="You need the following files in order to run melonDS:
-- bios7.bin
-- bios9.bin
-- firmware.bin
-- romlist.bin
-Place them in ~/.config/melonDS
-Those files can be found somewhere on the Internet ;-)"
-
-PATCHES=( "${FILESDIR}"/melonds-system-teakra.patch )
-
-src_prepare() {
-	rm -r ./src/teakra || die
-
-	filter-lto
-	append-flags -fno-strict-aliasing
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DENABLE_JIT=$(usex jit)
-		-DENABLE_OGLRENDERER=$(usex opengl)
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	tc-export AR
-	cmake_src_compile
-}
-
-src_install() {
-	cmake_src_install
-	readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-	readme.gentoo_print_elog
-}


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2023-05-03 11:16 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2023-05-03 11:16 UTC (permalink / raw
  To: gentoo-commits

commit:     01f3fc69b0448285f9627d389b7ce0fd8ecfa977
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 11:16:34 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May  3 11:16:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f3fc69

games-emulation/melonds: Stabilize 0.9.5-r4 amd64, #899206

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

 games-emulation/melonds/melonds-0.9.5-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/melonds/melonds-0.9.5-r4.ebuild b/games-emulation/melonds/melonds-0.9.5-r4.ebuild
index 062deeb70674..c0cf4baa64bc 100644
--- a/games-emulation/melonds/melonds-0.9.5-r4.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5-r4.ebuild
@@ -19,7 +19,7 @@ else
 	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz
 		-> ${MY_P}.tar.gz"
 	S="${WORKDIR}"/${MY_P}
-	KEYWORDS="~amd64"
+	KEYWORDS="amd64"
 fi
 
 IUSE="+jit +opengl"


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2023-04-05  2:41 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2023-04-05  2:41 UTC (permalink / raw
  To: gentoo-commits

commit:     bdec9ff75969207c31ce201a5dbc709fd1fe7a8a
Author:     dakrk <dark <AT> darkok <DOT> xyz>
AuthorDate: Wed Apr  5 01:59:11 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Apr  5 02:40:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdec9ff7

games-emulation/melonds: add wayland USE flag

Signed-off-by: dakrk <dark <AT> darkok.xyz>
Closes: https://github.com/gentoo/gentoo/pull/30481
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/melonds-9999.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index d68ba29eb6b8..3bf0d22f5d0e 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -22,13 +22,12 @@ else
 	KEYWORDS="~amd64"
 fi
 
-IUSE="+jit +opengl"
+IUSE="+jit +opengl wayland"
 LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
 SLOT="0"
 
 RDEPEND="
 	app-arch/libarchive
-	dev-libs/wayland
 	dev-qt/qtcore:5
 	dev-qt/qtgui:5
 	dev-qt/qtmultimedia:5
@@ -37,9 +36,10 @@ RDEPEND="
 	media-libs/libsdl2[sound,video]
 	net-libs/libpcap
 	net-libs/libslirp
+	wayland? ( dev-libs/wayland )
 "
 DEPEND="${RDEPEND}"
-BDEPEND="kde-frameworks/extra-cmake-modules:5"
+BDEPEND="wayland? ( kde-frameworks/extra-cmake-modules:5 )"
 
 # used for JIT recompiler
 QA_EXECSTACK="usr/bin/melonDS"
@@ -65,6 +65,7 @@ src_configure() {
 		-DBUILD_SHARED_LIBS=OFF
 		-DENABLE_JIT=$(usex jit)
 		-DENABLE_OGLRENDERER=$(usex opengl)
+		-DENABLE_WAYLAND=$(usex wayland)
 	)
 	cmake_src_configure
 }


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2023-04-05  2:41 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2023-04-05  2:41 UTC (permalink / raw
  To: gentoo-commits

commit:     b54767af45f459a946f8fe4942340fa9cfab8af6
Author:     dakrk <dark <AT> darkok <DOT> xyz>
AuthorDate: Wed Apr  5 01:55:03 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Apr  5 02:40:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b54767af

games-emulation/melonds: Drop media-libs/libepoxy dependency

media-libs/libepoxy has not been required since 0.9.5, as the
OpenGL context code has since been replaced.

Signed-off-by: dakrk <dark <AT> darkok.xyz>
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../melonds/{melonds-0.9.5-r3.ebuild => melonds-0.9.5-r4.ebuild}       | 3 +--
 games-emulation/melonds/melonds-9999.ebuild                            | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/games-emulation/melonds/melonds-0.9.5-r3.ebuild b/games-emulation/melonds/melonds-0.9.5-r4.ebuild
similarity index 95%
rename from games-emulation/melonds/melonds-0.9.5-r3.ebuild
rename to games-emulation/melonds/melonds-0.9.5-r4.ebuild
index 49156ca69002..062deeb70674 100644
--- a/games-emulation/melonds/melonds-0.9.5-r3.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -37,7 +37,6 @@ RDEPEND="
 	media-libs/libsdl2[sound,video]
 	net-libs/libpcap
 	net-libs/libslirp
-	opengl? ( media-libs/libepoxy )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="kde-frameworks/extra-cmake-modules:5"

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 380ce1eb8140..d68ba29eb6b8 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -37,7 +37,6 @@ RDEPEND="
 	media-libs/libsdl2[sound,video]
 	net-libs/libpcap
 	net-libs/libslirp
-	opengl? ( media-libs/libepoxy )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="kde-frameworks/extra-cmake-modules:5"


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-11-06 13:54 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-11-06 13:54 UTC (permalink / raw
  To: gentoo-commits

commit:     a86b009d6529e60ed4a89bdb1c26b40f0e5f9e5e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  6 13:54:00 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Nov  6 13:54:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a86b009d

games-emulation/melonds: add ecm dependency

Closes: https://bugs.gentoo.org/880033
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../melonds/{melonds-0.9.5-r1.ebuild => melonds-0.9.5-r2.ebuild}         | 1 +
 games-emulation/melonds/melonds-9999.ebuild                              | 1 +
 2 files changed, 2 insertions(+)

diff --git a/games-emulation/melonds/melonds-0.9.5-r1.ebuild b/games-emulation/melonds/melonds-0.9.5-r2.ebuild
similarity index 97%
rename from games-emulation/melonds/melonds-0.9.5-r1.ebuild
rename to games-emulation/melonds/melonds-0.9.5-r2.ebuild
index 87e563f0f8c2..928a0567b3fd 100644
--- a/games-emulation/melonds/melonds-0.9.5-r1.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5-r2.ebuild
@@ -39,6 +39,7 @@ RDEPEND="
 	opengl? ( media-libs/libepoxy )
 "
 DEPEND="${RDEPEND}"
+BDEPEND="kde-frameworks/extra-cmake-modules:5"
 
 # used for JIT recompiler
 QA_EXECSTACK="usr/bin/melonDS"

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 87e563f0f8c2..928a0567b3fd 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -39,6 +39,7 @@ RDEPEND="
 	opengl? ( media-libs/libepoxy )
 "
 DEPEND="${RDEPEND}"
+BDEPEND="kde-frameworks/extra-cmake-modules:5"
 
 # used for JIT recompiler
 QA_EXECSTACK="usr/bin/melonDS"


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-11-06  7:34 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-11-06  7:34 UTC (permalink / raw
  To: gentoo-commits

commit:     8983718b0a291aac84540d8beda2433f91314379
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  5 19:31:41 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Nov  6 07:34:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8983718b

games-emulation/melonds: add qtmultimedia dep; static-link teakra

Closes: https://bugs.gentoo.org/879557
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../melonds/{melonds-0.9.5.ebuild => melonds-0.9.5-r1.ebuild}      | 7 ++-----
 games-emulation/melonds/melonds-9999.ebuild                        | 7 ++-----
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/games-emulation/melonds/melonds-0.9.5.ebuild b/games-emulation/melonds/melonds-0.9.5-r1.ebuild
similarity index 90%
rename from games-emulation/melonds/melonds-0.9.5.ebuild
rename to games-emulation/melonds/melonds-0.9.5-r1.ebuild
index c5383c9da154..87e563f0f8c2 100644
--- a/games-emulation/melonds/melonds-0.9.5.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5-r1.ebuild
@@ -26,13 +26,11 @@ IUSE="+jit +opengl"
 LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
 SLOT="0"
 
-# MelonDS bundles libteakra with many changes,
-# for now we have to block dev-libs/teakra
 RDEPEND="
-	!dev-libs/teakra
 	app-arch/libarchive
 	dev-qt/qtcore:5
 	dev-qt/qtgui:5
+	dev-qt/qtmultimedia:5
 	dev-qt/qtnetwork:5
 	dev-qt/qtwidgets:5
 	media-libs/libsdl2[sound,video]
@@ -63,6 +61,7 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=OFF
 		-DENABLE_JIT=$(usex jit)
 		-DENABLE_OGLRENDERER=$(usex opengl)
 	)
@@ -77,8 +76,6 @@ src_compile() {
 src_install() {
 	readme.gentoo_create_doc
 	cmake_src_install
-
-	dolib.so "${BUILD_DIR}"/src/teakra/src/libteakra.so
 }
 
 pkg_postinst() {

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index c5383c9da154..87e563f0f8c2 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -26,13 +26,11 @@ IUSE="+jit +opengl"
 LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
 SLOT="0"
 
-# MelonDS bundles libteakra with many changes,
-# for now we have to block dev-libs/teakra
 RDEPEND="
-	!dev-libs/teakra
 	app-arch/libarchive
 	dev-qt/qtcore:5
 	dev-qt/qtgui:5
+	dev-qt/qtmultimedia:5
 	dev-qt/qtnetwork:5
 	dev-qt/qtwidgets:5
 	media-libs/libsdl2[sound,video]
@@ -63,6 +61,7 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=OFF
 		-DENABLE_JIT=$(usex jit)
 		-DENABLE_OGLRENDERER=$(usex opengl)
 	)
@@ -77,8 +76,6 @@ src_compile() {
 src_install() {
 	readme.gentoo_create_doc
 	cmake_src_install
-
-	dolib.so "${BUILD_DIR}"/src/teakra/src/libteakra.so
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-11-04  1:45 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-11-04  1:45 UTC (permalink / raw
  To: gentoo-commits

commit:     4db476a705871670da77a00ae6d440c6ec070988
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  4 01:15:59 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov  4 01:15:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db476a7

games-emulation/melonds: bump to 0.9.5

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/Manifest             |  1 +
 games-emulation/melonds/melonds-0.9.5.ebuild | 87 ++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
index d2554b5a800c..6aaceabb1389 100644
--- a/games-emulation/melonds/Manifest
+++ b/games-emulation/melonds/Manifest
@@ -1,2 +1,3 @@
 DIST melonDS-0.9.3.tar.gz 2241325 BLAKE2B 0ea7fbcce039a60a0553ae45d11f0b1550bfec2300faf1c99c3ee531bd5949c7293bec187fbf53e400bbb6280df29db141b2d1bcb294a8abf2eabb71993db686 SHA512 37f26f3a9784873ce1664645cea70049725367f5fe62f7c58842ebd5da2c73ffe423695dddb0ffd444bdf59df2a3fcd778cdf95b2bb083014b961fed282953f5
 DIST melonDS-0.9.4_p1.tar.gz 2330696 BLAKE2B f118d067505d740fef2c9f3a7761580981d43c6c63f9bfb34f48cbc5c6932e5410ee31259845787262412b040a66c85cdd4298645e2060fc6c8821a89b314711 SHA512 76886ecfbabd00ae9261c33fcd4074b20e989f4357575bf68139538136fb0ba728d7590310ce4ae9c45670ee01ec315046f03f54e7ca9a359be202709b030f6d
+DIST melonDS-0.9.5.tar.gz 2496704 BLAKE2B ac6b75a74df266c6220a15c8775969f19bd6ef19946c913d49b642aa797ca6dc4cd956e7a840fbdbf572a9178a214314549cfe3fc4617a4f0f3877850c6818cd SHA512 115cf04e4e22a20016ac4f2946aef917e5c9566b1a5f18599f7b7c47b0ac71e3645157a8a21622ab83683848c57ab25e6d6fcff0df559087b56642d99ffe40ec

diff --git a/games-emulation/melonds/melonds-0.9.5.ebuild b/games-emulation/melonds/melonds-0.9.5.ebuild
new file mode 100644
index 000000000000..c5383c9da154
--- /dev/null
+++ b/games-emulation/melonds/melonds-0.9.5.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="melonDS"
+MY_P="${MY_PN}-${PV}"
+
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
+
+DESCRIPTION="Nintendo DS emulator, sorta"
+HOMEPAGE="http://melonds.kuribo64.net
+	https://github.com/Arisotura/melonDS"
+
+if [[ ${PV} == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
+else
+	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz
+		-> ${MY_P}.tar.gz"
+	S="${WORKDIR}"/${MY_P}
+	KEYWORDS="~amd64"
+fi
+
+IUSE="+jit +opengl"
+LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
+SLOT="0"
+
+# MelonDS bundles libteakra with many changes,
+# for now we have to block dev-libs/teakra
+RDEPEND="
+	!dev-libs/teakra
+	app-arch/libarchive
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	media-libs/libsdl2[sound,video]
+	net-libs/libpcap
+	net-libs/libslirp
+	opengl? ( media-libs/libepoxy )
+"
+DEPEND="${RDEPEND}"
+
+# used for JIT recompiler
+QA_EXECSTACK="usr/bin/melonDS"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="You need the following files in order to run melonDS:
+- bios7.bin
+- bios9.bin
+- firmware.bin
+- romlist.bin
+Place them in ~/.config/melonDS
+Those files can be found somewhere on the Internet ;-)"
+
+src_prepare() {
+	filter-lto
+	append-flags -fno-strict-aliasing
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_JIT=$(usex jit)
+		-DENABLE_OGLRENDERER=$(usex opengl)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	tc-export AR
+	cmake_src_compile
+}
+
+src_install() {
+	readme.gentoo_create_doc
+	cmake_src_install
+
+	dolib.so "${BUILD_DIR}"/src/teakra/src/libteakra.so
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-11-04  1:45 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-11-04  1:45 UTC (permalink / raw
  To: gentoo-commits

commit:     b85c9fc44e30d8abd63cb0787861a06236311307
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  4 01:16:47 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov  4 01:16:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b85c9fc4

games-emulation/melonds: sync live

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/melonds-9999.ebuild | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index b3dda3e20a91..c5383c9da154 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -9,27 +9,28 @@ MY_P="${MY_PN}-${PV}"
 inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
-HOMEPAGE="
-	http://melonds.kuribo64.net
-	https://github.com/Arisotura/melonDS
-"
+HOMEPAGE="http://melonds.kuribo64.net
+	https://github.com/Arisotura/melonDS"
 
-if [[ "${PV}" == *9999* ]]; then
+if [[ ${PV} == *9999* ]] ; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
 else
-	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz
+		-> ${MY_P}.tar.gz"
+	S="${WORKDIR}"/${MY_P}
 	KEYWORDS="~amd64"
-	S="${WORKDIR}/${MY_P}"
 fi
 
 IUSE="+jit +opengl"
 LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
 SLOT="0"
 
-DEPEND="
+# MelonDS bundles libteakra with many changes,
+# for now we have to block dev-libs/teakra
+RDEPEND="
+	!dev-libs/teakra
 	app-arch/libarchive
-	dev-libs/teakra
 	dev-qt/qtcore:5
 	dev-qt/qtgui:5
 	dev-qt/qtnetwork:5
@@ -39,7 +40,7 @@ DEPEND="
 	net-libs/libslirp
 	opengl? ( media-libs/libepoxy )
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
 
 # used for JIT recompiler
 QA_EXECSTACK="usr/bin/melonDS"
@@ -74,8 +75,10 @@ src_compile() {
 }
 
 src_install() {
-	cmake_src_install
 	readme.gentoo_create_doc
+	cmake_src_install
+
+	dolib.so "${BUILD_DIR}"/src/teakra/src/libteakra.so
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-07-24 16:24 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2022-07-24 16:24 UTC (permalink / raw
  To: gentoo-commits

commit:     65321f59f7f8ae5756dfc2685b942449152f31ad
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 24 01:56:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 24 16:24:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65321f59

games-emulation/melonds: disable strict aliasing

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

 games-emulation/melonds/melonds-0.9.3-r2.ebuild    | 2 ++
 games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild | 2 ++
 games-emulation/melonds/melonds-9999.ebuild        | 4 +++-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/games-emulation/melonds/melonds-0.9.3-r2.ebuild b/games-emulation/melonds/melonds-0.9.3-r2.ebuild
index b1d97b5c25e1..9e88eb4d73ac 100644
--- a/games-emulation/melonds/melonds-0.9.3-r2.ebuild
+++ b/games-emulation/melonds/melonds-0.9.3-r2.ebuild
@@ -59,6 +59,8 @@ src_prepare() {
 	rm -r ./src/teakra || die
 
 	filter-lto
+	append-flags -fno-strict-aliasing
+
 	cmake_src_prepare
 }
 

diff --git a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild b/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
index 33b284219a0e..c782b4a45d52 100644
--- a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
+++ b/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
@@ -59,6 +59,8 @@ src_prepare() {
 	rm -r ./src/teakra || die
 
 	filter-lto
+	append-flags -fno-strict-aliasing
+
 	cmake_src_prepare
 }
 

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 1ea9a4f84e6e..b3dda3e20a91 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -53,8 +53,10 @@ DOC_CONTENTS="You need the following files in order to run melonDS:
 Place them in ~/.config/melonDS
 Those files can be found somewhere on the Internet ;-)"
 
-src_prepare(){
+src_prepare() {
 	filter-lto
+	append-flags -fno-strict-aliasing
+
 	cmake_src_prepare
 }
 


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-07-23 17:51 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-07-23 17:51 UTC (permalink / raw
  To: gentoo-commits

commit:     9d86757bf63ca43fc97c236c616d0dfd8d8b4912
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 23 17:50:54 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jul 23 17:50:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d86757b

games-emulation/melonds: filter lto

Closes: https://bugs.gentoo.org/858710
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/melonds-0.9.3-r2.ebuild    | 3 ++-
 games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild | 3 ++-
 games-emulation/melonds/melonds-9999.ebuild        | 7 ++++++-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/games-emulation/melonds/melonds-0.9.3-r2.ebuild b/games-emulation/melonds/melonds-0.9.3-r2.ebuild
index 0cde97c7b287..b1d97b5c25e1 100644
--- a/games-emulation/melonds/melonds-0.9.3-r2.ebuild
+++ b/games-emulation/melonds/melonds-0.9.3-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MY_PN="melonDS"
 MY_P="${MY_PN}-${PV}"
 
-inherit cmake readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="
@@ -58,6 +58,7 @@ PATCHES=( "${FILESDIR}"/melonds-system-teakra.patch )
 src_prepare() {
 	rm -r ./src/teakra || die
 
+	filter-lto
 	cmake_src_prepare
 }
 

diff --git a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild b/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
index 706876b372f2..33b284219a0e 100644
--- a/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
+++ b/games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MY_PN="melonDS"
 MY_P="${MY_PN}-${PV}"
 
-inherit cmake readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="
@@ -58,6 +58,7 @@ PATCHES=( "${FILESDIR}"/melonds-system-teakra.patch )
 src_prepare() {
 	rm -r ./src/teakra || die
 
+	filter-lto
 	cmake_src_prepare
 }
 

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 2cec9318a988..1ea9a4f84e6e 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MY_PN="melonDS"
 MY_P="${MY_PN}-${PV}"
 
-inherit cmake readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="
@@ -53,6 +53,11 @@ DOC_CONTENTS="You need the following files in order to run melonDS:
 Place them in ~/.config/melonDS
 Those files can be found somewhere on the Internet ;-)"
 
+src_prepare(){
+	filter-lto
+	cmake_src_prepare
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DENABLE_JIT=$(usex jit)


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-05-22  1:42 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-05-22  1:42 UTC (permalink / raw
  To: gentoo-commits

commit:     90b609fcf6da403cd3cdf7ab035a048ed02892d5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 01:42:27 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun May 22 01:42:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90b609fc

games-emulation/melonds: remove teakra patch from the live version

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/melonds-9999.ebuild | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 0cde97c7b287..2cec9318a988 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -53,14 +53,6 @@ DOC_CONTENTS="You need the following files in order to run melonDS:
 Place them in ~/.config/melonDS
 Those files can be found somewhere on the Internet ;-)"
 
-PATCHES=( "${FILESDIR}"/melonds-system-teakra.patch )
-
-src_prepare() {
-	rm -r ./src/teakra || die
-
-	cmake_src_prepare
-}
-
 src_configure() {
 	local mycmakeargs=(
 		-DENABLE_JIT=$(usex jit)


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-03-09 20:39 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-03-09 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     ca147a7a73f1c7dfc06968a898e3aea734f356db
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  9 20:38:28 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Mar  9 20:38:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca147a7a

games-emulation/melonds: remove unused flag-o-matic eclass

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/melonds-0.9.3-r1.ebuild | 4 ++--
 games-emulation/melonds/melonds-9999.ebuild     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/games-emulation/melonds/melonds-0.9.3-r1.ebuild b/games-emulation/melonds/melonds-0.9.3-r1.ebuild
index 0d497e9b94fc..77ff242ab004 100644
--- a/games-emulation/melonds/melonds-0.9.3-r1.ebuild
+++ b/games-emulation/melonds/melonds-0.9.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # NOTICE:
@@ -9,7 +9,7 @@ EAPI=8
 MY_PN="melonDS"
 MY_P="${MY_PN}-${PV}"
 
-inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 0d497e9b94fc..77ff242ab004 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # NOTICE:
@@ -9,7 +9,7 @@ EAPI=8
 MY_PN="melonDS"
 MY_P="${MY_PN}-${PV}"
 
-inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-03-09 20:39 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-03-09 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     258d35a4b1eb716bb06274e21bd9938e0ea61f9c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  9 20:37:02 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Mar  9 20:37:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=258d35a4

games-emulation/melonds: upstream re-tagged (& re-released)

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/Manifest                                    | 2 +-
 .../melonds/{melonds-0.9.4.ebuild => melonds-0.9.4_p1.ebuild}       | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
index dee66208acc3..d2554b5a800c 100644
--- a/games-emulation/melonds/Manifest
+++ b/games-emulation/melonds/Manifest
@@ -1,2 +1,2 @@
 DIST melonDS-0.9.3.tar.gz 2241325 BLAKE2B 0ea7fbcce039a60a0553ae45d11f0b1550bfec2300faf1c99c3ee531bd5949c7293bec187fbf53e400bbb6280df29db141b2d1bcb294a8abf2eabb71993db686 SHA512 37f26f3a9784873ce1664645cea70049725367f5fe62f7c58842ebd5da2c73ffe423695dddb0ffd444bdf59df2a3fcd778cdf95b2bb083014b961fed282953f5
-DIST melonDS-0.9.4.tar.gz 2330626 BLAKE2B 8da363e0345ede978973d29b58c50cd79df5de999abb098a61195d084aed9584273d2a193f8a194642632c4458e3b9bbe11818ae489e1994bb5befa1e1ecf1b2 SHA512 86bb046e180443fe07b27208d08515b0303d3cdb29acad7950d30a55f7baf32c41a4c9ce2f7a681d590e83addc56eb5857e3c7aca5bbfea9b5abe4ce63bdc278
+DIST melonDS-0.9.4_p1.tar.gz 2330696 BLAKE2B f118d067505d740fef2c9f3a7761580981d43c6c63f9bfb34f48cbc5c6932e5410ee31259845787262412b040a66c85cdd4298645e2060fc6c8821a89b314711 SHA512 76886ecfbabd00ae9261c33fcd4074b20e989f4357575bf68139538136fb0ba728d7590310ce4ae9c45670ee01ec315046f03f54e7ca9a359be202709b030f6d

diff --git a/games-emulation/melonds/melonds-0.9.4.ebuild b/games-emulation/melonds/melonds-0.9.4_p1.ebuild
similarity index 90%
rename from games-emulation/melonds/melonds-0.9.4.ebuild
rename to games-emulation/melonds/melonds-0.9.4_p1.ebuild
index 54b2216e33ab..d27c6c66a307 100644
--- a/games-emulation/melonds/melonds-0.9.4.ebuild
+++ b/games-emulation/melonds/melonds-0.9.4_p1.ebuild
@@ -9,7 +9,7 @@ EAPI=8
 MY_PN="melonDS"
 MY_P="${MY_PN}-${PV}"
 
-inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
+inherit cmake readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="
@@ -21,9 +21,9 @@ if [[ "${PV}" == *9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
 else
-	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/0.9.4.tar.gz -> ${MY_P}.tar.gz"
 	KEYWORDS="~amd64"
-	S="${WORKDIR}/${MY_P}"
+	S="${WORKDIR}"/${MY_PN}-0.9.4
 fi
 
 IUSE="+jit +opengl"


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2022-03-08 13:59 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2022-03-08 13:59 UTC (permalink / raw
  To: gentoo-commits

commit:     1ce9e1f56a7bacf2dcb625b0b0d9710f736d0b9b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  8 13:59:19 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Mar  8 13:59:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce9e1f5

games-emulation/melonds: bump to 0.9.4

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/Manifest             |  1 +
 games-emulation/melonds/melonds-0.9.4.ebuild | 88 ++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
index 3a233230003e..dee66208acc3 100644
--- a/games-emulation/melonds/Manifest
+++ b/games-emulation/melonds/Manifest
@@ -1 +1,2 @@
 DIST melonDS-0.9.3.tar.gz 2241325 BLAKE2B 0ea7fbcce039a60a0553ae45d11f0b1550bfec2300faf1c99c3ee531bd5949c7293bec187fbf53e400bbb6280df29db141b2d1bcb294a8abf2eabb71993db686 SHA512 37f26f3a9784873ce1664645cea70049725367f5fe62f7c58842ebd5da2c73ffe423695dddb0ffd444bdf59df2a3fcd778cdf95b2bb083014b961fed282953f5
+DIST melonDS-0.9.4.tar.gz 2330626 BLAKE2B 8da363e0345ede978973d29b58c50cd79df5de999abb098a61195d084aed9584273d2a193f8a194642632c4458e3b9bbe11818ae489e1994bb5befa1e1ecf1b2 SHA512 86bb046e180443fe07b27208d08515b0303d3cdb29acad7950d30a55f7baf32c41a4c9ce2f7a681d590e83addc56eb5857e3c7aca5bbfea9b5abe4ce63bdc278

diff --git a/games-emulation/melonds/melonds-0.9.4.ebuild b/games-emulation/melonds/melonds-0.9.4.ebuild
new file mode 100644
index 000000000000..54b2216e33ab
--- /dev/null
+++ b/games-emulation/melonds/melonds-0.9.4.ebuild
@@ -0,0 +1,88 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# NOTICE:
+# melonds bundles teakra, its upstream haven't had a release since 2020
+
+EAPI=8
+
+MY_PN="melonDS"
+MY_P="${MY_PN}-${PV}"
+
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
+
+DESCRIPTION="Nintendo DS emulator, sorta"
+HOMEPAGE="
+	http://melonds.kuribo64.net
+	https://github.com/Arisotura/melonDS
+"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
+else
+	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+	KEYWORDS="~amd64"
+	S="${WORKDIR}/${MY_P}"
+fi
+
+IUSE="+jit +opengl"
+LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
+SLOT="0"
+
+DEPEND="
+	app-arch/libarchive
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	media-libs/libsdl2[sound,video]
+	net-libs/libpcap
+	net-libs/libslirp
+	opengl? ( media-libs/libepoxy )
+"
+RDEPEND="${DEPEND}"
+
+# used for JIT recompiler
+QA_EXECSTACK="usr/bin/melonDS"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="You need the following files in order to run melonDS:
+- bios7.bin
+- bios9.bin
+- firmware.bin
+- romlist.bin
+Place them in ~/.config/melonDS
+Those files can be found somewhere on the Internet ;-)"
+
+src_prepare() {
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_JIT=$(usex jit)
+		-DENABLE_OGLRENDERER=$(usex opengl)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	tc-export AR
+	cmake_src_compile
+}
+
+src_install() {
+	# install teakra
+	dolib.so "${BUILD_DIR}/src/teakra/src/libteakra.so"
+
+	cmake_src_install
+
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2021-11-26 14:31 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2021-11-26 14:31 UTC (permalink / raw
  To: gentoo-commits

commit:     11f66af6f4ed25dcf1d661af3d593ac8b30cbae0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 14:29:16 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 14:30:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f66af6

games-emulation/melonds: use readme.gentoo

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...melonds-0.9.3.ebuild => melonds-0.9.3-r1.ebuild} | 21 +++++++++++++--------
 games-emulation/melonds/melonds-9999.ebuild         | 21 +++++++++++++--------
 2 files changed, 26 insertions(+), 16 deletions(-)

diff --git a/games-emulation/melonds/melonds-0.9.3.ebuild b/games-emulation/melonds/melonds-0.9.3-r1.ebuild
similarity index 78%
rename from games-emulation/melonds/melonds-0.9.3.ebuild
rename to games-emulation/melonds/melonds-0.9.3-r1.ebuild
index 840aa5476022..0d497e9b94fc 100644
--- a/games-emulation/melonds/melonds-0.9.3.ebuild
+++ b/games-emulation/melonds/melonds-0.9.3-r1.ebuild
@@ -9,7 +9,7 @@ EAPI=8
 MY_PN="melonDS"
 MY_P="${MY_PN}-${PV}"
 
-inherit cmake flag-o-matic toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="
@@ -46,6 +46,15 @@ RDEPEND="${DEPEND}"
 # used for JIT recompiler
 QA_EXECSTACK="usr/bin/melonDS"
 
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="You need the following files in order to run melonDS:
+- bios7.bin
+- bios9.bin
+- firmware.bin
+- romlist.bin
+Place them in ~/.config/melonDS
+Those files can be found somewhere on the Internet ;-)"
+
 src_prepare() {
 	cmake_src_prepare
 }
@@ -68,16 +77,12 @@ src_install() {
 	dolib.so "${BUILD_DIR}/src/teakra/src/libteakra.so"
 
 	cmake_src_install
+
+	readme.gentoo_create_doc
 }
 
 pkg_postinst() {
 	xdg_pkg_postinst
 
-	elog "You need the following files in order to run melonDS:"
-	elog "- bios7.bin"
-	elog "- bios9.bin"
-	elog "- firmware.bin"
-	elog "- romlist.bin"
-	elog "Place them in ~/.config/melonDS"
-	elog "Those files can be found somewhere on the Internet ;-)"
+	readme.gentoo_print_elog
 }

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 840aa5476022..0d497e9b94fc 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -9,7 +9,7 @@ EAPI=8
 MY_PN="melonDS"
 MY_P="${MY_PN}-${PV}"
 
-inherit cmake flag-o-matic toolchain-funcs xdg
+inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="Nintendo DS emulator, sorta"
 HOMEPAGE="
@@ -46,6 +46,15 @@ RDEPEND="${DEPEND}"
 # used for JIT recompiler
 QA_EXECSTACK="usr/bin/melonDS"
 
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="You need the following files in order to run melonDS:
+- bios7.bin
+- bios9.bin
+- firmware.bin
+- romlist.bin
+Place them in ~/.config/melonDS
+Those files can be found somewhere on the Internet ;-)"
+
 src_prepare() {
 	cmake_src_prepare
 }
@@ -68,16 +77,12 @@ src_install() {
 	dolib.so "${BUILD_DIR}/src/teakra/src/libteakra.so"
 
 	cmake_src_install
+
+	readme.gentoo_create_doc
 }
 
 pkg_postinst() {
 	xdg_pkg_postinst
 
-	elog "You need the following files in order to run melonDS:"
-	elog "- bios7.bin"
-	elog "- bios9.bin"
-	elog "- firmware.bin"
-	elog "- romlist.bin"
-	elog "Place them in ~/.config/melonDS"
-	elog "Those files can be found somewhere on the Internet ;-)"
+	readme.gentoo_print_elog
 }


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/
@ 2021-11-26 10:01 Maciej Barć
  0 siblings, 0 replies; 25+ messages in thread
From: Maciej Barć @ 2021-11-26 10:01 UTC (permalink / raw
  To: gentoo-commits

commit:     fc66d7d2a987626a597f05485a3ad5c0f06a638e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 10:01:13 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 10:01:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc66d7d2

games-emulation/melonds: new package; add version 0.9.3 and live

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/Manifest             |  1 +
 games-emulation/melonds/melonds-0.9.3.ebuild | 83 ++++++++++++++++++++++++++++
 games-emulation/melonds/melonds-9999.ebuild  | 83 ++++++++++++++++++++++++++++
 games-emulation/melonds/metadata.xml         | 13 +++++
 4 files changed, 180 insertions(+)

diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
new file mode 100644
index 000000000000..3a233230003e
--- /dev/null
+++ b/games-emulation/melonds/Manifest
@@ -0,0 +1 @@
+DIST melonDS-0.9.3.tar.gz 2241325 BLAKE2B 0ea7fbcce039a60a0553ae45d11f0b1550bfec2300faf1c99c3ee531bd5949c7293bec187fbf53e400bbb6280df29db141b2d1bcb294a8abf2eabb71993db686 SHA512 37f26f3a9784873ce1664645cea70049725367f5fe62f7c58842ebd5da2c73ffe423695dddb0ffd444bdf59df2a3fcd778cdf95b2bb083014b961fed282953f5

diff --git a/games-emulation/melonds/melonds-0.9.3.ebuild b/games-emulation/melonds/melonds-0.9.3.ebuild
new file mode 100644
index 000000000000..840aa5476022
--- /dev/null
+++ b/games-emulation/melonds/melonds-0.9.3.ebuild
@@ -0,0 +1,83 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# NOTICE:
+# melonds bundles teakra, its upstream haven't had a release since 2020
+
+EAPI=8
+
+MY_PN="melonDS"
+MY_P="${MY_PN}-${PV}"
+
+inherit cmake flag-o-matic toolchain-funcs xdg
+
+DESCRIPTION="Nintendo DS emulator, sorta"
+HOMEPAGE="
+	http://melonds.kuribo64.net
+	https://github.com/Arisotura/melonDS
+"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
+else
+	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+	KEYWORDS="~amd64"
+	S="${WORKDIR}/${MY_P}"
+fi
+
+IUSE="+jit +opengl"
+LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
+SLOT="0"
+
+DEPEND="
+	app-arch/libarchive
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	media-libs/libsdl2[sound,video]
+	net-libs/libpcap
+	net-libs/libslirp
+	opengl? ( media-libs/libepoxy )
+"
+RDEPEND="${DEPEND}"
+
+# used for JIT recompiler
+QA_EXECSTACK="usr/bin/melonDS"
+
+src_prepare() {
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_JIT=$(usex jit)
+		-DENABLE_OGLRENDERER=$(usex opengl)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	tc-export AR
+	cmake_src_compile
+}
+
+src_install() {
+	# install teakra
+	dolib.so "${BUILD_DIR}/src/teakra/src/libteakra.so"
+
+	cmake_src_install
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	elog "You need the following files in order to run melonDS:"
+	elog "- bios7.bin"
+	elog "- bios9.bin"
+	elog "- firmware.bin"
+	elog "- romlist.bin"
+	elog "Place them in ~/.config/melonDS"
+	elog "Those files can be found somewhere on the Internet ;-)"
+}

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
new file mode 100644
index 000000000000..840aa5476022
--- /dev/null
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -0,0 +1,83 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# NOTICE:
+# melonds bundles teakra, its upstream haven't had a release since 2020
+
+EAPI=8
+
+MY_PN="melonDS"
+MY_P="${MY_PN}-${PV}"
+
+inherit cmake flag-o-matic toolchain-funcs xdg
+
+DESCRIPTION="Nintendo DS emulator, sorta"
+HOMEPAGE="
+	http://melonds.kuribo64.net
+	https://github.com/Arisotura/melonDS
+"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
+else
+	SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+	KEYWORDS="~amd64"
+	S="${WORKDIR}/${MY_P}"
+fi
+
+IUSE="+jit +opengl"
+LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
+SLOT="0"
+
+DEPEND="
+	app-arch/libarchive
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	media-libs/libsdl2[sound,video]
+	net-libs/libpcap
+	net-libs/libslirp
+	opengl? ( media-libs/libepoxy )
+"
+RDEPEND="${DEPEND}"
+
+# used for JIT recompiler
+QA_EXECSTACK="usr/bin/melonDS"
+
+src_prepare() {
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_JIT=$(usex jit)
+		-DENABLE_OGLRENDERER=$(usex opengl)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	tc-export AR
+	cmake_src_compile
+}
+
+src_install() {
+	# install teakra
+	dolib.so "${BUILD_DIR}/src/teakra/src/libteakra.so"
+
+	cmake_src_install
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	elog "You need the following files in order to run melonDS:"
+	elog "- bios7.bin"
+	elog "- bios9.bin"
+	elog "- firmware.bin"
+	elog "- romlist.bin"
+	elog "Place them in ~/.config/melonDS"
+	elog "Those files can be found somewhere on the Internet ;-)"
+}

diff --git a/games-emulation/melonds/metadata.xml b/games-emulation/melonds/metadata.xml
new file mode 100644
index 000000000000..598e25db79ba
--- /dev/null
+++ b/games-emulation/melonds/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>xgqt@gentoo.org</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/Arisotura/melonDS/issues</bugs-to>
+    <remote-id type="github">Arisotura/melonDS</remote-id>
+  </upstream>
+</pkgmetadata>


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

end of thread, other threads:[~2024-09-28  9:38 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-06 19:31 [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2024-09-28  9:38 Sam James
2024-08-17 13:27 Maciej Barć
2024-08-17 13:27 Maciej Barć
2024-04-11  1:38 Maciej Barć
2024-02-03 19:09 Sam James
2024-01-01 20:29 Maciej Barć
2024-01-01 20:29 Maciej Barć
2023-05-05 12:03 Maciej Barć
2023-05-05 12:03 Maciej Barć
2023-05-03 11:16 Sam James
2023-04-05  2:41 Maciej Barć
2023-04-05  2:41 Maciej Barć
2022-11-06 13:54 Maciej Barć
2022-11-06  7:34 Maciej Barć
2022-11-04  1:45 Maciej Barć
2022-11-04  1:45 Maciej Barć
2022-07-24 16:24 Sam James
2022-07-23 17:51 Maciej Barć
2022-05-22  1:42 Maciej Barć
2022-03-09 20:39 Maciej Barć
2022-03-09 20:39 Maciej Barć
2022-03-08 13:59 Maciej Barć
2021-11-26 14:31 Maciej Barć
2021-11-26 10:01 Maciej Barć

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