public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2019-10-28 21:38 James Le Cuirot
  0 siblings, 0 replies; 17+ messages in thread
From: James Le Cuirot @ 2019-10-28 21:38 UTC (permalink / raw
  To: gentoo-commits

commit:     149de4654c7c9b40216e239e06debccbc09b8f99
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 28 21:34:00 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 21:38:37 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=149de465

games-emulation/mednafen: Call pax-mark unconditionally

This is what we normally do.

Closes: https://bugs.gentoo.org/698276
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-emulation/mednafen/mednafen-0.9.46.ebuild | 9 +++------
 games-emulation/mednafen/metadata.xml           | 1 -
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/games-emulation/mednafen/mednafen-0.9.46.ebuild b/games-emulation/mednafen/mednafen-0.9.46.ebuild
index a42d9936b35..e789c94b324 100644
--- a/games-emulation/mednafen/mednafen-0.9.46.ebuild
+++ b/games-emulation/mednafen/mednafen-0.9.46.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa altivec cjk debugger jack nls pax_kernel"
+IUSE="alsa altivec cjk debugger jack nls"
 
 RDEPEND="
 	dev-libs/libcdio
@@ -108,8 +108,5 @@ src_configure() {
 src_install() {
 	default
 	dodoc Documentation/cheats.txt
-
-	if use pax_kernel; then
-		pax-mark m "${ED%/}"/usr/bin/mednafen || die
-	fi
+	pax-mark m "${ED}"usr/bin/mednafen
 }

diff --git a/games-emulation/mednafen/metadata.xml b/games-emulation/mednafen/metadata.xml
index 0afad2b3f24..5c1044a50bb 100644
--- a/games-emulation/mednafen/metadata.xml
+++ b/games-emulation/mednafen/metadata.xml
@@ -7,7 +7,6 @@
 	</maintainer>
 	<use>
 		<flag name="debugger">Build with internal debugger</flag>
-		<flag name="pax_kernel">Triggers a paxmarking of the binary</flag>
 	</use>
 	<upstream>
 		<remote-id type="sourceforge">mednafen</remote-id>


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2024-05-12 20:25 Ionen Wolkens
  0 siblings, 0 replies; 17+ messages in thread
From: Ionen Wolkens @ 2024-05-12 20:25 UTC (permalink / raw
  To: gentoo-commits

commit:     717d620a6a6b99f57637aa4caa445f630b7241ea
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 19:56:55 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun May 12 19:56:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=717d620a

games-emulation/mednafen: drop 1.29.0-r1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/mednafen/Manifest                  |  1 -
 games-emulation/mednafen/mednafen-1.29.0-r1.ebuild | 80 ----------------------
 2 files changed, 81 deletions(-)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 7952500722a8..b60a316219a5 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,2 +1 @@
-DIST mednafen-1.29.0.tar.xz 3512784 BLAKE2B bea5ecfe00f97d1cf81eccfe4264d8fea666c9c8543449ca8c1e4e064f89a100f6bbe77b23d42d5d9c4a7e005792006d599852a201f1d95a756742bc58ecda81 SHA512 375f0fb4f12907faf56b4e9ecdc44c1655b0660a3773240fe3118f2b261e171479b8eb254299f899fc442b54041c941eab2a5f343aec559d9731c3e92cde0569
 DIST mednafen-1.32.1.tar.xz 3571236 BLAKE2B 1cbc184b180c51ebfbdc5e9979f1767a19c4125b0c0067f74f3b8800cccc4b04c577e4602143049e0a85628a8b50c9c69a52134838a15a9dd6d1ab293b5e5715 SHA512 5a99c62561823ba9a59d4dfd3b454f87989c83b873f61d8d25e44af7e8fbf25a7513d26c7566672538a62aac400281f611f2db943e88fe839cd05d088087f8d9

diff --git a/games-emulation/mednafen/mednafen-1.29.0-r1.ebuild b/games-emulation/mednafen/mednafen-1.29.0-r1.ebuild
deleted file mode 100644
index 773ebec0dd22..000000000000
--- a/games-emulation/mednafen/mednafen-1.29.0-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic pax-utils toolchain-funcs
-
-DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
-HOMEPAGE="https://mednafen.github.io/"
-SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="alsa cpu_flags_ppc_altivec flac jack"
-
-RDEPEND="
-	app-arch/zstd:=
-	dev-libs/lzo:2
-	dev-libs/trio
-	media-libs/libsdl2[joystick,opengl,video]
-	media-libs/tremor
-	media-sound/musepack-tools
-	sys-libs/zlib:=[minizip]
-	virtual/libintl
-	alsa? ( media-libs/alsa-lib )
-	flac? ( media-libs/flac:= )
-	jack? ( virtual/jack )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	sys-devel/gettext
-	virtual/pkgconfig"
-
-src_prepare() {
-	default
-
-	# don't let the build system mess with CFLAGS more than necessary,
-	# most are questionable (see README.PORTING/configure.ac comments)
-	# -fwrapv: kept for bug #539992
-	sed -e '/CC_OPT.*CODEGEN_FLAGS/{/-fwrapv/!d}' \
-		-e '/CC_OPT.*NOPICPIE_FLAGS/d' \
-		-e '/CC_OPT.*NO_STACK_PROTECTOR_FLAGS/d' \
-		-e '/CC_OPT.*OPTIMIZER_FLAGS/c\:' \
-		-e '/CC_OPT.*-mtune.*SS_EXTRA_FLAGS/d' \
-		-e '/LINK_FLAG.*NOPICPIE_LDFLAGS/d' \
-		-i configure.ac || die
-	eautoreconf
-}
-
-src_configure() {
-	# disable unnecessary warnings not to confuse users (see src/types.h)
-	append-cppflags -DMDFN_DISABLE_{NO_OPT,PICPIE}_ERRWARN
-
-	local myeconfargs=(
-		$(use_enable alsa)
-		$(use_enable cpu_flags_ppc_altivec altivec)
-		$(use_enable jack)
-		$(use_with flac libflac)
-		--with-external-{libzstd,lzo,mpcdec,tremor,trio}
-	)
-
-	econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-	emake AR="$(tc-getAR)"
-}
-
-src_install() {
-	local DOCS=(
-		ChangeLog
-		Documentation/{cheats.txt,fname_format.txt,modules.def,settings.def}
-	)
-	local HTML_DOCS=( Documentation/*.{css,html,png} )
-
-	default
-
-	pax-mark m "${ED}"/usr/bin/mednafen
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2024-04-26 21:01 Sam James
  0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2024-04-26 21:01 UTC (permalink / raw
  To: gentoo-commits

commit:     f267fc7799c9306a3af331c5a180738e5dd1b8d4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 26 21:01:10 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 21:01:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f267fc77

games-emulation/mednafen: Stabilize 1.32.1 amd64, #930726

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

 games-emulation/mednafen/mednafen-1.32.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/mednafen/mednafen-1.32.1.ebuild b/games-emulation/mednafen/mednafen-1.32.1.ebuild
index 779c7413188c..f6f7bc4baa2d 100644
--- a/games-emulation/mednafen/mednafen-1.32.1.ebuild
+++ b/games-emulation/mednafen/mednafen-1.32.1.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/${PN}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="alsa cpu_flags_ppc_altivec flac jack"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2024-04-06 20:20 Ionen Wolkens
  0 siblings, 0 replies; 17+ messages in thread
From: Ionen Wolkens @ 2024-04-06 20:20 UTC (permalink / raw
  To: gentoo-commits

commit:     6470e98608038f2d859c90bb7d14e4434e79b30f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  6 20:01:39 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Apr  6 20:13:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6470e986

games-emulation/mednafen: add 1.32.1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/mednafen/Manifest               |  1 +
 games-emulation/mednafen/mednafen-1.32.1.ebuild | 82 +++++++++++++++++++++++++
 2 files changed, 83 insertions(+)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index d8520a59a041..7952500722a8 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1 +1,2 @@
 DIST mednafen-1.29.0.tar.xz 3512784 BLAKE2B bea5ecfe00f97d1cf81eccfe4264d8fea666c9c8543449ca8c1e4e064f89a100f6bbe77b23d42d5d9c4a7e005792006d599852a201f1d95a756742bc58ecda81 SHA512 375f0fb4f12907faf56b4e9ecdc44c1655b0660a3773240fe3118f2b261e171479b8eb254299f899fc442b54041c941eab2a5f343aec559d9731c3e92cde0569
+DIST mednafen-1.32.1.tar.xz 3571236 BLAKE2B 1cbc184b180c51ebfbdc5e9979f1767a19c4125b0c0067f74f3b8800cccc4b04c577e4602143049e0a85628a8b50c9c69a52134838a15a9dd6d1ab293b5e5715 SHA512 5a99c62561823ba9a59d4dfd3b454f87989c83b873f61d8d25e44af7e8fbf25a7513d26c7566672538a62aac400281f611f2db943e88fe839cd05d088087f8d9

diff --git a/games-emulation/mednafen/mednafen-1.32.1.ebuild b/games-emulation/mednafen/mednafen-1.32.1.ebuild
new file mode 100644
index 000000000000..779c7413188c
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-1.32.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic pax-utils toolchain-funcs
+
+DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
+HOMEPAGE="https://mednafen.github.io/"
+SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
+S=${WORKDIR}/${PN}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa cpu_flags_ppc_altivec flac jack"
+
+RDEPEND="
+	app-arch/zstd:=
+	dev-libs/lzo:2
+	dev-libs/trio
+	media-libs/libsdl2[joystick,opengl,video]
+	media-libs/tremor
+	media-sound/musepack-tools
+	sys-libs/zlib:=[minizip]
+	virtual/libintl
+	alsa? ( media-libs/alsa-lib )
+	flac? ( media-libs/flac:= )
+	jack? ( virtual/jack )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	sys-devel/gettext
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	default
+
+	# do not let the build system mess with *FLAGS more than necessary,
+	# most are questionable and leaving it up to users to pick
+	# (please report if any skipped flags cause runtime issues)
+	sed -e '/APPEND_COMPILE_.*CODEGEN_FLAGS/d' \
+		-e '/APPEND_COMPILE_.*NOPICPIE_FLAGS/d' \
+		-e '/APPEND_COMPILE_.*NO_STACK_PROTECTOR_FLAGS/d' \
+		-e '/APPEND_COMPILE_.*OPTIMIZER_FLAGS/c\:' \
+		-e '/APPEND_COMPILE_.*-mtune.*SS_EXTRA_FLAGS/d' \
+		-e '/LINK_FLAG.*NOPICPIE_LDFLAGS/d' \
+		-i configure.ac || die
+	eautoreconf
+}
+
+src_configure() {
+	# disable unnecessary warnings not to confuse users (see src/types.h)
+	append-cppflags -DMDFN_DISABLE_{NO_OPT,PICPIE}_ERRWARN
+
+	local myeconfargs=(
+		$(use_enable alsa)
+		$(use_enable cpu_flags_ppc_altivec altivec)
+		$(use_enable jack)
+		$(use_with flac libflac)
+		--with-external-{libzstd,lzo,mpcdec,tremor,trio}
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+}
+
+src_install() {
+	local DOCS=(
+		ChangeLog
+		Documentation/{cheats.txt,fname_format.txt,modules.def,settings.def}
+	)
+	local HTML_DOCS=( Documentation/*.{css,html,png} )
+
+	default
+
+	pax-mark m "${ED}"/usr/bin/mednafen
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2022-11-29  6:58 Jakov Smolić
  0 siblings, 0 replies; 17+ messages in thread
From: Jakov Smolić @ 2022-11-29  6:58 UTC (permalink / raw
  To: gentoo-commits

commit:     d1e026c44728bbdc41d77e094588947c62b75248
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 06:57:10 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 06:57:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e026c4

games-emulation/mednafen: Stabilize 1.29.0-r1 amd64, #883037

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 games-emulation/mednafen/mednafen-1.29.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/mednafen/mednafen-1.29.0-r1.ebuild b/games-emulation/mednafen/mednafen-1.29.0-r1.ebuild
index 0748b73cc530..773ebec0dd22 100644
--- a/games-emulation/mednafen/mednafen-1.29.0-r1.ebuild
+++ b/games-emulation/mednafen/mednafen-1.29.0-r1.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${PN}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="alsa cpu_flags_ppc_altivec flac jack"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2022-02-16  6:58 Ionen Wolkens
  0 siblings, 0 replies; 17+ messages in thread
From: Ionen Wolkens @ 2022-02-16  6:58 UTC (permalink / raw
  To: gentoo-commits

commit:     608034ccecb53b754774fb3b9d2c2050240b9b80
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 16 05:53:53 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Feb 16 06:55:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=608034cc

games-emulation/mednafen: drop 1.27.1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/mednafen/Manifest               |  1 -
 games-emulation/mednafen/mednafen-1.27.1.ebuild | 76 -------------------------
 2 files changed, 77 deletions(-)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 03d23eaad428..d8520a59a041 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,2 +1 @@
-DIST mednafen-1.27.1.tar.xz 3363540 BLAKE2B f74c251300af2348db00d68ef2cd998bdf4d6fb06873e03e0027d836b5b1217901b1e2cf922877b1db4c278ba4cc2674e4875a17fff52a3b8be5a447670a6385 SHA512 f55d86baa8c77fc98aae63a38235eb64f64131f180c40ed1ac7cd2ad845230348fbba05643eb5e6af203e56c39c8011b632d2bcecbd2c9f2c19b2447f6b99e83
 DIST mednafen-1.29.0.tar.xz 3512784 BLAKE2B bea5ecfe00f97d1cf81eccfe4264d8fea666c9c8543449ca8c1e4e064f89a100f6bbe77b23d42d5d9c4a7e005792006d599852a201f1d95a756742bc58ecda81 SHA512 375f0fb4f12907faf56b4e9ecdc44c1655b0660a3773240fe3118f2b261e171479b8eb254299f899fc442b54041c941eab2a5f343aec559d9731c3e92cde0569

diff --git a/games-emulation/mednafen/mednafen-1.27.1.ebuild b/games-emulation/mednafen/mednafen-1.27.1.ebuild
deleted file mode 100644
index ff0f36561a36..000000000000
--- a/games-emulation/mednafen/mednafen-1.27.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic pax-utils toolchain-funcs
-
-DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
-HOMEPAGE="https://mednafen.github.io/"
-SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa cpu_flags_ppc_altivec flac jack"
-
-RDEPEND="
-	dev-libs/lzo:2
-	dev-libs/trio
-	media-libs/libsdl2[joystick,opengl,video]
-	media-libs/tremor
-	media-sound/musepack-tools
-	sys-libs/zlib:=[minizip]
-	virtual/libintl
-	alsa? ( media-libs/alsa-lib )
-	flac? ( media-libs/flac )
-	jack? ( virtual/jack )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	sys-devel/gettext
-	virtual/pkgconfig"
-
-src_prepare() {
-	default
-
-	# don't let the build system mess with CFLAGS more than necessary,
-	# most are questionable (see README.PORTING/configure.ac comments)
-	# -fwrapv: kept for bug #539992
-	sed -e '/CC_OPT.*CODEGEN_FLAGS/{/-fwrapv/!d}' \
-		-e '/CC_OPT.*NO_STACK_PROTECTOR_FLAGS/d' \
-		-e '/CC_OPT.*OPTIMIZER_FLAGS/c\:' \
-		-e '/CC_OPT.*-mtune.*SS_EXTRA_FLAGS/d' \
-		-i configure.ac || die
-	eautoreconf
-}
-
-src_configure() {
-	# disable unnecessary warnings not to confuse users (see src/types.h)
-	append-cppflags -DMDFN_DISABLE_{NO_OPT,PICPIE}_ERRWARN
-
-	local myeconfargs=(
-		$(use_enable alsa)
-		$(use_enable cpu_flags_ppc_altivec altivec)
-		$(use_enable jack)
-		$(use_with flac libflac)
-		--with-external-{lzo,mpcdec,tremor,trio}
-	)
-	econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-	emake AR="$(tc-getAR)"
-}
-
-src_install() {
-	local DOCS=(
-		ChangeLog
-		Documentation/{cheats.txt,fname_format.txt,modules.def,settings.def}
-	)
-	local HTML_DOCS=( Documentation/*.{css,html,png} )
-
-	default
-
-	pax-mark m "${ED}"/usr/bin/mednafen
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2022-01-19 16:45 Ionen Wolkens
  0 siblings, 0 replies; 17+ messages in thread
From: Ionen Wolkens @ 2022-01-19 16:45 UTC (permalink / raw
  To: gentoo-commits

commit:     2f67555306927d6bf6e93328a2be6c45d654842b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 19 16:44:48 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jan 19 16:45:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f675553

games-emulation/mednafen: add 1.29.0

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/mednafen/Manifest               |  1 +
 games-emulation/mednafen/mednafen-1.29.0.ebuild | 80 +++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 5ef17b7c8d8c..03d23eaad428 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1 +1,2 @@
 DIST mednafen-1.27.1.tar.xz 3363540 BLAKE2B f74c251300af2348db00d68ef2cd998bdf4d6fb06873e03e0027d836b5b1217901b1e2cf922877b1db4c278ba4cc2674e4875a17fff52a3b8be5a447670a6385 SHA512 f55d86baa8c77fc98aae63a38235eb64f64131f180c40ed1ac7cd2ad845230348fbba05643eb5e6af203e56c39c8011b632d2bcecbd2c9f2c19b2447f6b99e83
+DIST mednafen-1.29.0.tar.xz 3512784 BLAKE2B bea5ecfe00f97d1cf81eccfe4264d8fea666c9c8543449ca8c1e4e064f89a100f6bbe77b23d42d5d9c4a7e005792006d599852a201f1d95a756742bc58ecda81 SHA512 375f0fb4f12907faf56b4e9ecdc44c1655b0660a3773240fe3118f2b261e171479b8eb254299f899fc442b54041c941eab2a5f343aec559d9731c3e92cde0569

diff --git a/games-emulation/mednafen/mednafen-1.29.0.ebuild b/games-emulation/mednafen/mednafen-1.29.0.ebuild
new file mode 100644
index 000000000000..a57c4dde457d
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-1.29.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic pax-utils toolchain-funcs
+
+DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
+HOMEPAGE="https://mednafen.github.io/"
+SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa cpu_flags_ppc_altivec flac jack"
+
+RDEPEND="
+	app-arch/zstd:=
+	dev-libs/lzo:2
+	dev-libs/trio
+	media-libs/libsdl2[joystick,opengl,video]
+	media-libs/tremor
+	media-sound/musepack-tools
+	sys-libs/zlib:=[minizip]
+	virtual/libintl
+	alsa? ( media-libs/alsa-lib )
+	flac? ( media-libs/flac )
+	jack? ( virtual/jack )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	sys-devel/gettext
+	virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	# don't let the build system mess with CFLAGS more than necessary,
+	# most are questionable (see README.PORTING/configure.ac comments)
+	# -fwrapv: kept for bug #539992
+	sed -e '/CC_OPT.*CODEGEN_FLAGS/{/-fwrapv/!d}' \
+		-e '/CC_OPT.*NOPICPIE_FLAGS/d' \
+		-e '/CC_OPT.*NO_STACK_PROTECTOR_FLAGS/d' \
+		-e '/CC_OPT.*OPTIMIZER_FLAGS/c\:' \
+		-e '/CC_OPT.*-mtune.*SS_EXTRA_FLAGS/d' \
+		-e '/LINK_FLAG.*NOPICPIE_LDFLAGS/d' \
+		-i configure.ac || die
+	eautoreconf
+}
+
+src_configure() {
+	# disable unnecessary warnings not to confuse users (see src/types.h)
+	append-cppflags -DMDFN_DISABLE_{NO_OPT,PICPIE}_ERRWARN
+
+	local myeconfargs=(
+		$(use_enable alsa)
+		$(use_enable cpu_flags_ppc_altivec altivec)
+		$(use_enable jack)
+		$(use_with flac libflac)
+		--with-external-{libzstd,lzo,mpcdec,tremor,trio}
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+}
+
+src_install() {
+	local DOCS=(
+		ChangeLog
+		Documentation/{cheats.txt,fname_format.txt,modules.def,settings.def}
+	)
+	local HTML_DOCS=( Documentation/*.{css,html,png} )
+
+	default
+
+	pax-mark m "${ED}"/usr/bin/mednafen
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2021-06-23  2:24 Ionen Wolkens
  0 siblings, 0 replies; 17+ messages in thread
From: Ionen Wolkens @ 2021-06-23  2:24 UTC (permalink / raw
  To: gentoo-commits

commit:     6c42beb1ae42791f3f752ea6d96787ea6b7ea1b0
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 23:45:29 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jun 23 02:22:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c42beb1

games-emulation/mednafen: drop 1.26.1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/mednafen/Manifest               |  1 -
 games-emulation/mednafen/mednafen-1.26.1.ebuild | 74 -------------------------
 2 files changed, 75 deletions(-)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 3aabde11efd..5ef17b7c8d8 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,2 +1 @@
-DIST mednafen-1.26.1.tar.xz 3319756 BLAKE2B d306a0754ed0c64a99cee4eacfa47f5f46ca059026bfc2ef6bfff4be82e914a2882a864538c8cb6bb948cdb9bd53651d931b033446015ad06be309893a2bfef7 SHA512 c91db3967c09a475fcd3410eb6892a99f3cf2ca2c5a78173669aa52c2e588819595d1d140e0c1888f48885327a9381c64cfb8f2074be8067984a4414c6f282bf
 DIST mednafen-1.27.1.tar.xz 3363540 BLAKE2B f74c251300af2348db00d68ef2cd998bdf4d6fb06873e03e0027d836b5b1217901b1e2cf922877b1db4c278ba4cc2674e4875a17fff52a3b8be5a447670a6385 SHA512 f55d86baa8c77fc98aae63a38235eb64f64131f180c40ed1ac7cd2ad845230348fbba05643eb5e6af203e56c39c8011b632d2bcecbd2c9f2c19b2447f6b99e83

diff --git a/games-emulation/mednafen/mednafen-1.26.1.ebuild b/games-emulation/mednafen/mednafen-1.26.1.ebuild
deleted file mode 100644
index 1fb74cdae5e..00000000000
--- a/games-emulation/mednafen/mednafen-1.26.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic pax-utils toolchain-funcs
-
-DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
-HOMEPAGE="https://mednafen.github.io/"
-SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa cpu_flags_ppc_altivec jack +sndfile"
-
-RDEPEND="
-	dev-libs/lzo:2
-	dev-libs/trio
-	media-libs/libsdl2[joystick,opengl,video]
-	media-libs/tremor
-	media-sound/musepack-tools
-	sys-libs/zlib:=[minizip]
-	virtual/libintl
-	alsa? ( media-libs/alsa-lib )
-	jack? ( virtual/jack )
-	sndfile? ( media-libs/libsndfile )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	sys-devel/gettext
-	virtual/pkgconfig"
-
-src_prepare() {
-	default
-
-	# don't let the build system mess with CFLAGS more than necessary,
-	# most are questionable (see README.PORTING/configure.ac comments)
-	# -fwrapv: kept for bug #539992
-	sed -e '/CC_OPT.*CODEGEN_FLAGS/{/-fwrapv/!d}' \
-		-e '/CC_OPT.*NO_STACK_PROTECTOR_FLAGS/d' \
-		-e '/CC_OPT.*OPTIMIZER_FLAGS/c\:' \
-		-e '/CC_OPT.*-mtune.*SS_EXTRA_FLAGS/d' \
-		-i configure.ac || die
-	eautoreconf
-}
-
-src_configure() {
-	# disable unnecessary warnings not to confuse users (see src/types.h)
-	append-cppflags -DMDFN_DISABLE_{NO_OPT,PICPIE}_ERRWARN
-
-	local myeconfargs=(
-		$(use_enable alsa)
-		$(use_enable cpu_flags_ppc_altivec altivec)
-		$(use_enable jack)
-		$(use_with sndfile libsndfile)
-		--with-external-{lzo,mpcdec,tremor,trio}
-	)
-	econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-	emake AR="$(tc-getAR)"
-}
-
-src_install() {
-	local DOCS=(
-		ChangeLog
-		Documentation/{cheats.txt,fname_format.txt,modules.def,settings.def}
-	)
-	local HTML_DOCS=( Documentation/*.{css,html,png} )
-	default
-	pax-mark m "${ED}"/usr/bin/mednafen
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2021-06-15 21:34 Ionen Wolkens
  0 siblings, 0 replies; 17+ messages in thread
From: Ionen Wolkens @ 2021-06-15 21:34 UTC (permalink / raw
  To: gentoo-commits

commit:     1ca9cc16cc005f0933cc75f7bf7a50e8f3141cd2
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 15 21:32:10 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 15 21:33:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca9cc16

games-emulation/mednafen: add 1.27.1

Removes support for libsndfile and adds flac in its place.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/mednafen/Manifest               |  1 +
 games-emulation/mednafen/mednafen-1.27.1.ebuild | 76 +++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index dff999e5abb..3aabde11efd 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1 +1,2 @@
 DIST mednafen-1.26.1.tar.xz 3319756 BLAKE2B d306a0754ed0c64a99cee4eacfa47f5f46ca059026bfc2ef6bfff4be82e914a2882a864538c8cb6bb948cdb9bd53651d931b033446015ad06be309893a2bfef7 SHA512 c91db3967c09a475fcd3410eb6892a99f3cf2ca2c5a78173669aa52c2e588819595d1d140e0c1888f48885327a9381c64cfb8f2074be8067984a4414c6f282bf
+DIST mednafen-1.27.1.tar.xz 3363540 BLAKE2B f74c251300af2348db00d68ef2cd998bdf4d6fb06873e03e0027d836b5b1217901b1e2cf922877b1db4c278ba4cc2674e4875a17fff52a3b8be5a447670a6385 SHA512 f55d86baa8c77fc98aae63a38235eb64f64131f180c40ed1ac7cd2ad845230348fbba05643eb5e6af203e56c39c8011b632d2bcecbd2c9f2c19b2447f6b99e83

diff --git a/games-emulation/mednafen/mednafen-1.27.1.ebuild b/games-emulation/mednafen/mednafen-1.27.1.ebuild
new file mode 100644
index 00000000000..ff0f36561a3
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-1.27.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic pax-utils toolchain-funcs
+
+DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
+HOMEPAGE="https://mednafen.github.io/"
+SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa cpu_flags_ppc_altivec flac jack"
+
+RDEPEND="
+	dev-libs/lzo:2
+	dev-libs/trio
+	media-libs/libsdl2[joystick,opengl,video]
+	media-libs/tremor
+	media-sound/musepack-tools
+	sys-libs/zlib:=[minizip]
+	virtual/libintl
+	alsa? ( media-libs/alsa-lib )
+	flac? ( media-libs/flac )
+	jack? ( virtual/jack )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	sys-devel/gettext
+	virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	# don't let the build system mess with CFLAGS more than necessary,
+	# most are questionable (see README.PORTING/configure.ac comments)
+	# -fwrapv: kept for bug #539992
+	sed -e '/CC_OPT.*CODEGEN_FLAGS/{/-fwrapv/!d}' \
+		-e '/CC_OPT.*NO_STACK_PROTECTOR_FLAGS/d' \
+		-e '/CC_OPT.*OPTIMIZER_FLAGS/c\:' \
+		-e '/CC_OPT.*-mtune.*SS_EXTRA_FLAGS/d' \
+		-i configure.ac || die
+	eautoreconf
+}
+
+src_configure() {
+	# disable unnecessary warnings not to confuse users (see src/types.h)
+	append-cppflags -DMDFN_DISABLE_{NO_OPT,PICPIE}_ERRWARN
+
+	local myeconfargs=(
+		$(use_enable alsa)
+		$(use_enable cpu_flags_ppc_altivec altivec)
+		$(use_enable jack)
+		$(use_with flac libflac)
+		--with-external-{lzo,mpcdec,tremor,trio}
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+}
+
+src_install() {
+	local DOCS=(
+		ChangeLog
+		Documentation/{cheats.txt,fname_format.txt,modules.def,settings.def}
+	)
+	local HTML_DOCS=( Documentation/*.{css,html,png} )
+
+	default
+
+	pax-mark m "${ED}"/usr/bin/mednafen
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2021-06-02 10:56 Ionen Wolkens
  0 siblings, 0 replies; 17+ messages in thread
From: Ionen Wolkens @ 2021-06-02 10:56 UTC (permalink / raw
  To: gentoo-commits

commit:     487ce813759ee430f1b0bd9e4011d073a6b176d4
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 09:25:20 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jun  2 10:53:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=487ce813

games-emulation/mednafen: drop 0.9.46

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/mednafen/Manifest               |   1 -
 games-emulation/mednafen/mednafen-0.9.46.ebuild | 112 ------------------------
 games-emulation/mednafen/metadata.xml           |   3 -
 3 files changed, 116 deletions(-)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 73bc534957c..dff999e5abb 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,2 +1 @@
-DIST mednafen-0.9.46.tar.xz 3187988 BLAKE2B c33da02bfb0cce37e9029efc98d11e233686c41c7ecb51110a3fe805b3a13f2fef293dd86b7bc7a3ff172f7f0f507e07804a2927e5b41c1927ca52673f068dfb SHA512 ea624f076922570001393d5d04cc1b20b3d005d31de4095ee5c7a985be2b61e8d3aa5e78c64e751e8233adc89a31be955372caeb2818d0a5cc71ba9380931620
 DIST mednafen-1.26.1.tar.xz 3319756 BLAKE2B d306a0754ed0c64a99cee4eacfa47f5f46ca059026bfc2ef6bfff4be82e914a2882a864538c8cb6bb948cdb9bd53651d931b033446015ad06be309893a2bfef7 SHA512 c91db3967c09a475fcd3410eb6892a99f3cf2ca2c5a78173669aa52c2e588819595d1d140e0c1888f48885327a9381c64cfb8f2074be8067984a4414c6f282bf

diff --git a/games-emulation/mednafen/mednafen-0.9.46.ebuild b/games-emulation/mednafen/mednafen-0.9.46.ebuild
deleted file mode 100644
index e789c94b324..00000000000
--- a/games-emulation/mednafen/mednafen-0.9.46.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic pax-utils
-
-DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
-HOMEPAGE="https://mednafen.github.io/"
-SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa altivec cjk debugger jack nls"
-
-RDEPEND="
-	dev-libs/libcdio
-	>=dev-libs/lzo-2.10
-	media-libs/libsdl[sound,joystick,opengl,video]
-	media-libs/libsndfile
-	sys-libs/zlib[minizip]
-	virtual/opengl
-	alsa? ( media-libs/alsa-lib )
-	jack? ( media-sound/jack-audio-connection-kit )
-	nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/${PN}
-
-pkg_pretend() {
-	if has ccache ${FEATURES}; then
-		ewarn
-		ewarn "If you experience build failure, try turning off ccache in FEATURES."
-		ewarn
-	fi
-}
-
-src_prepare() {
-	default
-
-	# Unfortunately, upstream is insane and thinks mucking with CFLAGS is okay, if
-	# it prevents "users who don't understand the consequences of what they're doing".
-	# We use sed's here, as they're more forward-compatible than patches which need to
-	# be constantly rebased. DO NOT REPLACE THEM UNLESS YOU HAVE PERMISSION FROM GAMES.
-	sed -e '/-fno-fast-math/d' \
-		-e '/-fno-unsafe-math-optimizations/d' \
-		-e '/-fno-aggressive-loop-optimizations/d' \
-		-e '/-fno-ipa-icf/d' \
-		-e '/-fno-printf-return-value/d' \
-		-e '/-fomit-frame-pointer/d' \
-		-e '/-fno-pic/d' \
-		-e '/-fno-pie/d' \
-		-e '/-fno-PIC/d' \
-		-e '/-fno-PIE/d' \
-		-e '/-nopie/d' \
-		-e '/-no-pie/d' \
-		-e '/-fno-stack-protector/d' \
-		-e '/-fno-stack-protector-all/d' \
-		-e '/-fno-stack-protector-strong/d' \
-		-e '/-mtune=haswell/d' \
-		-i configure.ac || die
-
-	# Furthermore, upstream is also insane about bundling libraries and considers it
-	# "an aesthetics issue" and is even unwilling to make unbundling optional.
-	# Libs to unbundle: minilzo, minizip
-	sed -e '/PKG_PROG_PKG_CONFIG/a PKG_CHECK_MODULES([LZO], [lzo2])' \
-		-i configure.ac || die
-	sed -e '/bin_PROGRAMS/a mednafen_CPPFLAGS = \$(LZO_CFLAGS)' \
-		-i src/Makefile.am || die
-	sed -e 's:"compress/minilzo.h":<lzo1x.h>:' \
-		-i src/{mednafen,qtrecord}.cpp || die
-	sed -e 's:compress/ioapi.c::' \
-		-e 's:compress/unzip.c::' \
-		-e 's:compress/minilzo.c::' \
-		-i src/compress/Makefile.am.inc || die
-	sed -e 's:"compress/unzip.h":<minizip/unzip.h>:' \
-		-i src/file.cpp || die
-	sed -e 's:\(mednafen_LDADD.*trio/libtrio\.a\):\1 -lminizip \$(LZO_LIBS):' \
-		-i src/Makefile.am || die
-	# delete bundled files just to be sure...
-	rm src/compress/{ioapi.?,*lzo*,unzip.?} || die
-
-	# The insanity continues... upstream now believes it needs to
-	# warn users when compiling with -fPIC/-fPIE enabled
-	sed -e '/Compiling with position-independent code generation enabled is not recommended, for performance reasons/d' \
-		-i src/types.h || die
-
-	eautoreconf
-}
-
-src_configure() {
-	# very dodgy code (bug #539992)
-	strip-flags
-	append-flags -fomit-frame-pointer -fwrapv
-
-	econf \
-		$(use_enable alsa) \
-		$(use_enable altivec) \
-		$(use_enable cjk cjk-fonts) \
-		$(use_enable debugger) \
-		$(use_enable jack) \
-		$(use_enable nls)
-}
-
-src_install() {
-	default
-	dodoc Documentation/cheats.txt
-	pax-mark m "${ED}"usr/bin/mednafen
-}

diff --git a/games-emulation/mednafen/metadata.xml b/games-emulation/mednafen/metadata.xml
index 5c1044a50bb..8c07f220d0d 100644
--- a/games-emulation/mednafen/metadata.xml
+++ b/games-emulation/mednafen/metadata.xml
@@ -5,9 +5,6 @@
 		<email>games@gentoo.org</email>
 		<name>Gentoo Games Project</name>
 	</maintainer>
-	<use>
-		<flag name="debugger">Build with internal debugger</flag>
-	</use>
 	<upstream>
 		<remote-id type="sourceforge">mednafen</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2021-05-09  4:42 Sam James
  0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2021-05-09  4:42 UTC (permalink / raw
  To: gentoo-commits

commit:     2383e92ad2432f5f67efd97675c7c34709b71a76
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sun Apr 25 06:31:30 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May  9 04:42:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2383e92a

games-emulation/mednafen: add 1.26.1 with reworked ebuild

Notable ebuild changes:
- EAPI-7
- libsdl -> libsdl2
- finally use virtual/jack (jack2 tested fine)
- use more aggressive sed for configure.ac's CFLAGS given upstream
  been adding yet more unnecessary compiler options such as attempts
  to disable spectre mitigation
- tentatively removed strip-flags (referenced bug #539992 was only
  because of lacking -fwrapv, but strip was added with it)
- tentatively removed ccache check (no explanation found, seems fine)
- use new --with-external-{lzo,mpcdec,tremor,trio} to unbundle
- pic/pie warning is now non-fatal but is repeated so much that used
  the new defines to disable anyway
- IUSE changes:
  > altivec: converted to cpu_flags_ppc_altivec (untested)
  > sndfile: added for libsndfile to be optional
  > cjk/debugger: removed (these are enabled by default, have
    no dependencies, and don't have a big impact on size)
- install html docs, the only viable source of usage information
 (README(s) are just build instructions)

Closes: https://bugs.gentoo.org/670672
Closes: https://bugs.gentoo.org/684088
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/mednafen/Manifest               |  1 +
 games-emulation/mednafen/mednafen-1.26.1.ebuild | 74 +++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 5f30b0b2339..73bc534957c 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1 +1,2 @@
 DIST mednafen-0.9.46.tar.xz 3187988 BLAKE2B c33da02bfb0cce37e9029efc98d11e233686c41c7ecb51110a3fe805b3a13f2fef293dd86b7bc7a3ff172f7f0f507e07804a2927e5b41c1927ca52673f068dfb SHA512 ea624f076922570001393d5d04cc1b20b3d005d31de4095ee5c7a985be2b61e8d3aa5e78c64e751e8233adc89a31be955372caeb2818d0a5cc71ba9380931620
+DIST mednafen-1.26.1.tar.xz 3319756 BLAKE2B d306a0754ed0c64a99cee4eacfa47f5f46ca059026bfc2ef6bfff4be82e914a2882a864538c8cb6bb948cdb9bd53651d931b033446015ad06be309893a2bfef7 SHA512 c91db3967c09a475fcd3410eb6892a99f3cf2ca2c5a78173669aa52c2e588819595d1d140e0c1888f48885327a9381c64cfb8f2074be8067984a4414c6f282bf

diff --git a/games-emulation/mednafen/mednafen-1.26.1.ebuild b/games-emulation/mednafen/mednafen-1.26.1.ebuild
new file mode 100644
index 00000000000..1fb74cdae5e
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-1.26.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic pax-utils toolchain-funcs
+
+DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
+HOMEPAGE="https://mednafen.github.io/"
+SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa cpu_flags_ppc_altivec jack +sndfile"
+
+RDEPEND="
+	dev-libs/lzo:2
+	dev-libs/trio
+	media-libs/libsdl2[joystick,opengl,video]
+	media-libs/tremor
+	media-sound/musepack-tools
+	sys-libs/zlib:=[minizip]
+	virtual/libintl
+	alsa? ( media-libs/alsa-lib )
+	jack? ( virtual/jack )
+	sndfile? ( media-libs/libsndfile )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	sys-devel/gettext
+	virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	# don't let the build system mess with CFLAGS more than necessary,
+	# most are questionable (see README.PORTING/configure.ac comments)
+	# -fwrapv: kept for bug #539992
+	sed -e '/CC_OPT.*CODEGEN_FLAGS/{/-fwrapv/!d}' \
+		-e '/CC_OPT.*NO_STACK_PROTECTOR_FLAGS/d' \
+		-e '/CC_OPT.*OPTIMIZER_FLAGS/c\:' \
+		-e '/CC_OPT.*-mtune.*SS_EXTRA_FLAGS/d' \
+		-i configure.ac || die
+	eautoreconf
+}
+
+src_configure() {
+	# disable unnecessary warnings not to confuse users (see src/types.h)
+	append-cppflags -DMDFN_DISABLE_{NO_OPT,PICPIE}_ERRWARN
+
+	local myeconfargs=(
+		$(use_enable alsa)
+		$(use_enable cpu_flags_ppc_altivec altivec)
+		$(use_enable jack)
+		$(use_with sndfile libsndfile)
+		--with-external-{lzo,mpcdec,tremor,trio}
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+}
+
+src_install() {
+	local DOCS=(
+		ChangeLog
+		Documentation/{cheats.txt,fname_format.txt,modules.def,settings.def}
+	)
+	local HTML_DOCS=( Documentation/*.{css,html,png} )
+	default
+	pax-mark m "${ED}"/usr/bin/mednafen
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2017-08-13 12:36 David Seifert
  0 siblings, 0 replies; 17+ messages in thread
From: David Seifert @ 2017-08-13 12:36 UTC (permalink / raw
  To: gentoo-commits

commit:     4c63abe9dafbe211dfc940bc06dfe9df77b83482
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 13 12:35:55 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 12:35:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c63abe9

games-emulation/mednafen: Version bump to 0.9.46

* Also remove the annoying PIC checks

Bug: https://bugs.gentoo.org/show_bug.cgi?id=624482
Package-Manager: Portage-2.3.6, Repoman-2.3.3

 games-emulation/mednafen/Manifest               |   1 +
 games-emulation/mednafen/mednafen-0.9.46.ebuild | 115 ++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index f2335b196f6..ee6acd5c26a 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,3 +1,4 @@
 DIST mednafen-0.9.41.tar.xz 3148348 SHA256 74736b9b52a7ba6270b67ae8e6c876a887e0e26a00a7d96bdd49af17992aac47 SHA512 d3c7707874eabbec41e5b725813d16e599f3ad89ecbd9c8e1264184d74ab2bf7a21a3f6fe177b6bc429f7bd56f9eea17a9a6fefce8e70b82e87a93d75f5d39c9 WHIRLPOOL f754a45f46a5cd18117b1b710dd7fed5ebcfb311bf4ed4b7961c99636c13559db75f83cf7b34122fb403b7794ddeec6af79469bb7743cb60a7840ffe807fa2d7
 DIST mednafen-0.9.45.1.tar.xz 3183380 SHA256 f95f68acc14f9b30b201e15b8205d85ac9dc7e581ea6b61e225e990491f01e69 SHA512 b49b7638166dfb20d43c3278e7084e99e535dc9c2c1e3ecad82ebf41a1dddbeca9350dfcc26eb43d1661cbe5aa3ba4cde3010ca5680ae9398dc160cbe11d6726 WHIRLPOOL b63568d3a6a4aa055c6a1a576ad74d9bdd4ffcb8fdb41a44dedf390a591eb2f21a382d638df7343927b1a95f236ef9ab505cbc7cb0bb2f1c25406730252223bc
 DIST mednafen-0.9.45.tar.xz 3184340 SHA256 49715544a5eb7a678f7f01994f38aa14e2192f00d201684184665665073a600e SHA512 d2d61eef0a5ab2c3109fb3c4fbdb2509504c61ffaab14a51e413204f08a622e47c116c7333866a3406a1fa7ac4bf68349c0212bc9fcb544d4953898b03a2fb71 WHIRLPOOL 3e8466852d8c04207a307ac2d74c5d9b76b51d0f9cd2c0ae16f59d57ae884dec8fd8d62454996c574f25a530ac568f7a2c884657b2f6b85d0810dc1fb51ad9e0
+DIST mednafen-0.9.46.tar.xz 3187988 SHA256 674faf42bdb0ad5649aea65da266b0be3428995caaa7be183fc6d3ed7732467a SHA512 ea624f076922570001393d5d04cc1b20b3d005d31de4095ee5c7a985be2b61e8d3aa5e78c64e751e8233adc89a31be955372caeb2818d0a5cc71ba9380931620 WHIRLPOOL f3e02ea2c4511206987c7c1d500d573ec4e166a03db1c35ae12ddadffb5644ce2e26e336b6c27d3a3a7fc4edbbd5b0c34aa3ce5d941d222afb16ab2601701578

diff --git a/games-emulation/mednafen/mednafen-0.9.46.ebuild b/games-emulation/mednafen/mednafen-0.9.46.ebuild
new file mode 100644
index 00000000000..a42d9936b35
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-0.9.46.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic pax-utils
+
+DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
+HOMEPAGE="https://mednafen.github.io/"
+SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa altivec cjk debugger jack nls pax_kernel"
+
+RDEPEND="
+	dev-libs/libcdio
+	>=dev-libs/lzo-2.10
+	media-libs/libsdl[sound,joystick,opengl,video]
+	media-libs/libsndfile
+	sys-libs/zlib[minizip]
+	virtual/opengl
+	alsa? ( media-libs/alsa-lib )
+	jack? ( media-sound/jack-audio-connection-kit )
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+pkg_pretend() {
+	if has ccache ${FEATURES}; then
+		ewarn
+		ewarn "If you experience build failure, try turning off ccache in FEATURES."
+		ewarn
+	fi
+}
+
+src_prepare() {
+	default
+
+	# Unfortunately, upstream is insane and thinks mucking with CFLAGS is okay, if
+	# it prevents "users who don't understand the consequences of what they're doing".
+	# We use sed's here, as they're more forward-compatible than patches which need to
+	# be constantly rebased. DO NOT REPLACE THEM UNLESS YOU HAVE PERMISSION FROM GAMES.
+	sed -e '/-fno-fast-math/d' \
+		-e '/-fno-unsafe-math-optimizations/d' \
+		-e '/-fno-aggressive-loop-optimizations/d' \
+		-e '/-fno-ipa-icf/d' \
+		-e '/-fno-printf-return-value/d' \
+		-e '/-fomit-frame-pointer/d' \
+		-e '/-fno-pic/d' \
+		-e '/-fno-pie/d' \
+		-e '/-fno-PIC/d' \
+		-e '/-fno-PIE/d' \
+		-e '/-nopie/d' \
+		-e '/-no-pie/d' \
+		-e '/-fno-stack-protector/d' \
+		-e '/-fno-stack-protector-all/d' \
+		-e '/-fno-stack-protector-strong/d' \
+		-e '/-mtune=haswell/d' \
+		-i configure.ac || die
+
+	# Furthermore, upstream is also insane about bundling libraries and considers it
+	# "an aesthetics issue" and is even unwilling to make unbundling optional.
+	# Libs to unbundle: minilzo, minizip
+	sed -e '/PKG_PROG_PKG_CONFIG/a PKG_CHECK_MODULES([LZO], [lzo2])' \
+		-i configure.ac || die
+	sed -e '/bin_PROGRAMS/a mednafen_CPPFLAGS = \$(LZO_CFLAGS)' \
+		-i src/Makefile.am || die
+	sed -e 's:"compress/minilzo.h":<lzo1x.h>:' \
+		-i src/{mednafen,qtrecord}.cpp || die
+	sed -e 's:compress/ioapi.c::' \
+		-e 's:compress/unzip.c::' \
+		-e 's:compress/minilzo.c::' \
+		-i src/compress/Makefile.am.inc || die
+	sed -e 's:"compress/unzip.h":<minizip/unzip.h>:' \
+		-i src/file.cpp || die
+	sed -e 's:\(mednafen_LDADD.*trio/libtrio\.a\):\1 -lminizip \$(LZO_LIBS):' \
+		-i src/Makefile.am || die
+	# delete bundled files just to be sure...
+	rm src/compress/{ioapi.?,*lzo*,unzip.?} || die
+
+	# The insanity continues... upstream now believes it needs to
+	# warn users when compiling with -fPIC/-fPIE enabled
+	sed -e '/Compiling with position-independent code generation enabled is not recommended, for performance reasons/d' \
+		-i src/types.h || die
+
+	eautoreconf
+}
+
+src_configure() {
+	# very dodgy code (bug #539992)
+	strip-flags
+	append-flags -fomit-frame-pointer -fwrapv
+
+	econf \
+		$(use_enable alsa) \
+		$(use_enable altivec) \
+		$(use_enable cjk cjk-fonts) \
+		$(use_enable debugger) \
+		$(use_enable jack) \
+		$(use_enable nls)
+}
+
+src_install() {
+	default
+	dodoc Documentation/cheats.txt
+
+	if use pax_kernel; then
+		pax-mark m "${ED%/}"/usr/bin/mednafen || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2017-06-11 21:44 David Seifert
  0 siblings, 0 replies; 17+ messages in thread
From: David Seifert @ 2017-06-11 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     47317dda016efa5a285c0e8c63559410159e16ab
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 11 21:40:01 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 21:43:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47317dda

games-emulation/mednafen: Bump to 0.9.45.1

* Also depend on at least lzo-2.10

Bug: https://bugs.gentoo.org/show_bug.cgi?id=621214

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 games-emulation/mednafen/Manifest                 |   1 +
 games-emulation/mednafen/mednafen-0.9.45.1.ebuild | 109 ++++++++++++++++++++++
 2 files changed, 110 insertions(+)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 741027eccbc..f2335b196f6 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,2 +1,3 @@
 DIST mednafen-0.9.41.tar.xz 3148348 SHA256 74736b9b52a7ba6270b67ae8e6c876a887e0e26a00a7d96bdd49af17992aac47 SHA512 d3c7707874eabbec41e5b725813d16e599f3ad89ecbd9c8e1264184d74ab2bf7a21a3f6fe177b6bc429f7bd56f9eea17a9a6fefce8e70b82e87a93d75f5d39c9 WHIRLPOOL f754a45f46a5cd18117b1b710dd7fed5ebcfb311bf4ed4b7961c99636c13559db75f83cf7b34122fb403b7794ddeec6af79469bb7743cb60a7840ffe807fa2d7
+DIST mednafen-0.9.45.1.tar.xz 3183380 SHA256 f95f68acc14f9b30b201e15b8205d85ac9dc7e581ea6b61e225e990491f01e69 SHA512 b49b7638166dfb20d43c3278e7084e99e535dc9c2c1e3ecad82ebf41a1dddbeca9350dfcc26eb43d1661cbe5aa3ba4cde3010ca5680ae9398dc160cbe11d6726 WHIRLPOOL b63568d3a6a4aa055c6a1a576ad74d9bdd4ffcb8fdb41a44dedf390a591eb2f21a382d638df7343927b1a95f236ef9ab505cbc7cb0bb2f1c25406730252223bc
 DIST mednafen-0.9.45.tar.xz 3184340 SHA256 49715544a5eb7a678f7f01994f38aa14e2192f00d201684184665665073a600e SHA512 d2d61eef0a5ab2c3109fb3c4fbdb2509504c61ffaab14a51e413204f08a622e47c116c7333866a3406a1fa7ac4bf68349c0212bc9fcb544d4953898b03a2fb71 WHIRLPOOL 3e8466852d8c04207a307ac2d74c5d9b76b51d0f9cd2c0ae16f59d57ae884dec8fd8d62454996c574f25a530ac568f7a2c884657b2f6b85d0810dc1fb51ad9e0

diff --git a/games-emulation/mednafen/mednafen-0.9.45.1.ebuild b/games-emulation/mednafen/mednafen-0.9.45.1.ebuild
new file mode 100644
index 00000000000..ebccdfa5d87
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-0.9.45.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic pax-utils
+
+DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
+HOMEPAGE="https://mednafen.github.io/"
+SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa altivec cjk debugger jack nls pax_kernel"
+
+RDEPEND="
+	dev-libs/libcdio
+	>=dev-libs/lzo-2.10
+	media-libs/libsdl[sound,joystick,opengl,video]
+	media-libs/libsndfile
+	sys-libs/zlib[minizip]
+	virtual/opengl
+	alsa? ( media-libs/alsa-lib )
+	jack? ( media-sound/jack-audio-connection-kit )
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+pkg_pretend() {
+	if has ccache ${FEATURES}; then
+		ewarn
+		ewarn "If you experience build failure, try turning off ccache in FEATURES."
+		ewarn
+	fi
+}
+
+src_prepare() {
+	default
+
+	# Unfortunately, upstream is insane and thinks mucking with CFLAGS is okay, if
+	# it prevents "users who don't understand the consequences of what they're doing".
+	# We use sed's here, as they're more forward-compatible than patches which need to
+	# be constantly rebased. DO NOT REPLACE THEM UNLESS YOU HAVE PERMISSION FROM GAMES.
+	sed -e '/-fno-fast-math/d' \
+		-e '/-fno-unsafe-math-optimizations/d' \
+		-e '/-fno-aggressive-loop-optimizations/d' \
+		-e '/-fno-ipa-icf/d' \
+		-e '/-fno-printf-return-value/d' \
+		-e '/-fomit-frame-pointer/d' \
+		-e '/-fno-pic/d' \
+		-e '/-fno-pie/d' \
+		-e '/-fno-PIC/d' \
+		-e '/-fno-PIE/d' \
+		-e '/-nopie/d' \
+		-e '/-no-pie/d' \
+		-e '/-fno-stack-protector/d' \
+		-e '/-fno-stack-protector-all/d' \
+		-e '/-fno-stack-protector-strong/d' \
+		-e '/-mtune=haswell/d' \
+		-i configure.ac || die
+
+	# Furthermore, upstream is also insane about bundling libraries and considers it
+	# "an aesthetics issue" and is even unwilling to make unbundling optional.
+	# Libs to unbundle: minilzo, minizip
+	sed -e '/PKG_PROG_PKG_CONFIG/a PKG_CHECK_MODULES([LZO], [lzo2])' \
+		-i configure.ac || die
+	sed -e '/bin_PROGRAMS/a mednafen_CPPFLAGS = \$(LZO_CFLAGS)' \
+		-i src/Makefile.am || die
+	sed -e 's:"compress/minilzo.h":<lzo1x.h>:' \
+		-i src/{mednafen,qtrecord}.cpp || die
+	sed -e 's:compress/ioapi.c::' \
+		-e 's:compress/unzip.c::' \
+		-e 's:compress/minilzo.c::' \
+		-i src/compress/Makefile.am.inc || die
+	sed -e 's:"compress/unzip.h":<minizip/unzip.h>:' \
+		-i src/file.cpp || die
+	sed -e 's:\(mednafen_LDADD.*trio/libtrio\.a\):\1 -lminizip \$(LZO_LIBS):' \
+		-i src/Makefile.am || die
+	# delete bundled files just to be sure...
+	rm src/compress/{ioapi.?,*lzo*,unzip.?} || die
+
+	eautoreconf
+}
+
+src_configure() {
+	# very sensitive code (bug #539992)
+	strip-flags
+	append-flags -fomit-frame-pointer -fwrapv
+	econf \
+		$(use_enable alsa) \
+		$(use_enable altivec) \
+		$(use_enable cjk cjk-fonts) \
+		$(use_enable debugger) \
+		$(use_enable jack) \
+		$(use_enable nls)
+}
+
+src_install() {
+	default
+	dodoc Documentation/cheats.txt
+
+	if use pax_kernel; then
+		pax-mark m "${ED%/}"/usr/bin/mednafen || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2017-06-05 20:19 David Seifert
  0 siblings, 0 replies; 17+ messages in thread
From: David Seifert @ 2017-06-05 20:19 UTC (permalink / raw
  To: gentoo-commits

commit:     4a6b55e5b46db4487b418e68800ecf20ccbdae17
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  5 20:16:14 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Jun  5 20:19:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a6b55e5

games-emulation/mednafen: Version bump to 0.9.45

* Only use sed's instead of patches from now on,
  due to the bundling/CFLAGS insanity of upstream.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=612120
Bug: https://bugs.gentoo.org/show_bug.cgi?id=618380
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 games-emulation/mednafen/Manifest               |   1 +
 games-emulation/mednafen/mednafen-0.9.45.ebuild | 109 ++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 4fa53d1142b..741027eccbc 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1 +1,2 @@
 DIST mednafen-0.9.41.tar.xz 3148348 SHA256 74736b9b52a7ba6270b67ae8e6c876a887e0e26a00a7d96bdd49af17992aac47 SHA512 d3c7707874eabbec41e5b725813d16e599f3ad89ecbd9c8e1264184d74ab2bf7a21a3f6fe177b6bc429f7bd56f9eea17a9a6fefce8e70b82e87a93d75f5d39c9 WHIRLPOOL f754a45f46a5cd18117b1b710dd7fed5ebcfb311bf4ed4b7961c99636c13559db75f83cf7b34122fb403b7794ddeec6af79469bb7743cb60a7840ffe807fa2d7
+DIST mednafen-0.9.45.tar.xz 3184340 SHA256 49715544a5eb7a678f7f01994f38aa14e2192f00d201684184665665073a600e SHA512 d2d61eef0a5ab2c3109fb3c4fbdb2509504c61ffaab14a51e413204f08a622e47c116c7333866a3406a1fa7ac4bf68349c0212bc9fcb544d4953898b03a2fb71 WHIRLPOOL 3e8466852d8c04207a307ac2d74c5d9b76b51d0f9cd2c0ae16f59d57ae884dec8fd8d62454996c574f25a530ac568f7a2c884657b2f6b85d0810dc1fb51ad9e0

diff --git a/games-emulation/mednafen/mednafen-0.9.45.ebuild b/games-emulation/mednafen/mednafen-0.9.45.ebuild
new file mode 100644
index 00000000000..0c89b4e3892
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-0.9.45.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic pax-utils
+
+DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL"
+HOMEPAGE="https://mednafen.github.io/"
+SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa altivec cjk debugger jack nls pax_kernel"
+
+RDEPEND="
+	dev-libs/libcdio
+	dev-libs/lzo
+	media-libs/libsdl[sound,joystick,opengl,video]
+	media-libs/libsndfile
+	sys-libs/zlib[minizip]
+	virtual/opengl
+	alsa? ( media-libs/alsa-lib )
+	jack? ( media-sound/jack-audio-connection-kit )
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+pkg_pretend() {
+	if has ccache ${FEATURES}; then
+		ewarn
+		ewarn "If you experience build failure, try turning off ccache in FEATURES."
+		ewarn
+	fi
+}
+
+src_prepare() {
+	default
+
+	# Unfortunately, upstream is insane and thinks mucking with CFLAGS is okay, if
+	# it prevents "users who don't understand the consequences of what they're doing".
+	# We use sed's here, as they're more forward-compatible than patches which need to
+	# be constantly rebased. DO NOT REPLACE THEM UNLESS YOU HAVE PERMISSION FROM GAMES.
+	sed -e '/-fno-fast-math/d' \
+		-e '/-fno-unsafe-math-optimizations/d' \
+		-e '/-fno-aggressive-loop-optimizations/d' \
+		-e '/-fno-ipa-icf/d' \
+		-e '/-fno-printf-return-value/d' \
+		-e '/-fomit-frame-pointer/d' \
+		-e '/-fno-pic/d' \
+		-e '/-fno-pie/d' \
+		-e '/-fno-PIC/d' \
+		-e '/-fno-PIE/d' \
+		-e '/-nopie/d' \
+		-e '/-no-pie/d' \
+		-e '/-fno-stack-protector/d' \
+		-e '/-fno-stack-protector-all/d' \
+		-e '/-fno-stack-protector-strong/d' \
+		-e '/-mtune=haswell/d' \
+		-i configure.ac || die
+
+	# Furthermore, upstream is also insane about bundling libraries and considers it
+	# "an aesthetics issue" and is even unwilling to make unbundling optional.
+	# Libs to unbundle: minilzo, minizip
+	sed -e '/PKG_PROG_PKG_CONFIG/a PKG_CHECK_MODULES([LZO], [lzo2])' \
+		-i configure.ac || die
+	sed -e '/bin_PROGRAMS/a mednafen_CPPFLAGS = \$(LZO_CFLAGS)' \
+		-i src/Makefile.am || die
+	sed -e 's:"compress/minilzo.h":<lzo1x.h>:' \
+		-i src/{mednafen,qtrecord}.cpp || die
+	sed -e 's:compress/ioapi.c::' \
+		-e 's:compress/unzip.c::' \
+		-e 's:compress/minilzo.c::' \
+		-i src/compress/Makefile.am.inc || die
+	sed -e 's:"compress/unzip.h":<minizip/unzip.h>:' \
+		-i src/file.cpp || die
+	sed -e 's:\(mednafen_LDADD.*trio/libtrio\.a\):\1 -lminizip \$(LZO_LIBS):' \
+		-i src/Makefile.am || die
+	# delete bundled files just to be sure...
+	rm src/compress/{ioapi.?,*lzo*,unzip.?} || die
+
+	eautoreconf
+}
+
+src_configure() {
+	# very sensitive code (bug #539992)
+	strip-flags
+	append-flags -fomit-frame-pointer -fwrapv
+	econf \
+		$(use_enable alsa) \
+		$(use_enable altivec) \
+		$(use_enable cjk cjk-fonts) \
+		$(use_enable debugger) \
+		$(use_enable jack) \
+		$(use_enable nls)
+}
+
+src_install() {
+	default
+	dodoc Documentation/cheats.txt
+
+	if use pax_kernel; then
+		pax-mark m "${ED%/}"/usr/bin/mednafen || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2017-01-22 15:01 Agostino Sarubbo
  0 siblings, 0 replies; 17+ messages in thread
From: Agostino Sarubbo @ 2017-01-22 15:01 UTC (permalink / raw
  To: gentoo-commits

commit:     2d04fe739909659408dbff506aee10ad5063845e
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 22 15:00:12 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 15:00:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d04fe73

games-emulation/mednafen: x86 stable wrt bug #515296

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 games-emulation/mednafen/mednafen-0.9.41.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/mednafen/mednafen-0.9.41.ebuild b/games-emulation/mednafen/mednafen-0.9.41.ebuild
index dd425d3..45d4f23 100644
--- a/games-emulation/mednafen/mednafen-0.9.41.ebuild
+++ b/games-emulation/mednafen/mednafen-0.9.41.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="alsa altivec cjk debugger jack nls pax_kernel"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2017-01-22 14:53 Agostino Sarubbo
  0 siblings, 0 replies; 17+ messages in thread
From: Agostino Sarubbo @ 2017-01-22 14:53 UTC (permalink / raw
  To: gentoo-commits

commit:     bfeb27b42b0a49bc84d6495d5cbfaaa6ccb106eb
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 22 14:52:59 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 14:52:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfeb27b4

games-emulation/mednafen: amd64 stable wrt bug #515296

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 games-emulation/mednafen/mednafen-0.9.41.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/mednafen/mednafen-0.9.41.ebuild b/games-emulation/mednafen/mednafen-0.9.41.ebuild
index f6bab68..dd425d3 100644
--- a/games-emulation/mednafen/mednafen-0.9.41.ebuild
+++ b/games-emulation/mednafen/mednafen-0.9.41.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="alsa altivec cjk debugger jack nls pax_kernel"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/
@ 2016-02-01  8:14 Agostino Sarubbo
  0 siblings, 0 replies; 17+ messages in thread
From: Agostino Sarubbo @ 2016-02-01  8:14 UTC (permalink / raw
  To: gentoo-commits

commit:     05bd0220d13f8ea889cab1ba8469663f08587803
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  1 08:13:29 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Feb  1 08:13:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05bd0220

games-emulation/mednafen: amd64 stable wrt bug #573226

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 games-emulation/mednafen/mednafen-0.9.38.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/mednafen/mednafen-0.9.38.7.ebuild b/games-emulation/mednafen/mednafen-0.9.38.7.ebuild
index 025d9ca..0c89819 100644
--- a/games-emulation/mednafen/mednafen-0.9.38.7.ebuild
+++ b/games-emulation/mednafen/mednafen-0.9.38.7.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://mednafen.fobby.net/releases/files/${P}.tar.bz2"
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="alsa altivec cjk debugger jack nls pax_kernel"
 
 RDEPEND="virtual/opengl


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

end of thread, other threads:[~2024-05-12 20:26 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-28 21:38 [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/ James Le Cuirot
  -- strict thread matches above, loose matches on Subject: below --
2024-05-12 20:25 Ionen Wolkens
2024-04-26 21:01 Sam James
2024-04-06 20:20 Ionen Wolkens
2022-11-29  6:58 Jakov Smolić
2022-02-16  6:58 Ionen Wolkens
2022-01-19 16:45 Ionen Wolkens
2021-06-23  2:24 Ionen Wolkens
2021-06-15 21:34 Ionen Wolkens
2021-06-02 10:56 Ionen Wolkens
2021-05-09  4:42 Sam James
2017-08-13 12:36 David Seifert
2017-06-11 21:44 David Seifert
2017-06-05 20:19 David Seifert
2017-01-22 15:01 Agostino Sarubbo
2017-01-22 14:53 Agostino Sarubbo
2016-02-01  8:14 Agostino Sarubbo

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