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

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

games-emulation/mednafen: drop 1.29.0-r1

Signed-off-by: Ionen Wolkens  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 
1cbc184b180c51ebfbdc5e9979f1767a19c4125b0c0067f74f3b88004b04c577e4602143049e0a85628a8b50c9c69a52134838a15a9dd6d1ab293b5e5715
 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..
--- 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
-}



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

2024-04-29 Thread Joonas Niilola
commit: 625db2bd3caa75a925e730e561f3a86544632e42
Author: orbea  riseup  net>
AuthorDate: Sat Apr  6 01:00:24 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 29 08:45:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625db2bd

games-emulation/mednafen-jg: add 1.32.1

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

 games-emulation/mednafen-jg/Manifest   |  1 +
 .../mednafen-jg/mednafen-jg-1.32.1.ebuild  | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/games-emulation/mednafen-jg/Manifest 
b/games-emulation/mednafen-jg/Manifest
index 8aa3b34b6bba..42a33ddd0518 100644
--- a/games-emulation/mednafen-jg/Manifest
+++ b/games-emulation/mednafen-jg/Manifest
@@ -1,2 +1,3 @@
 DIST mednafen-1.31.0.tar.bz2 4400375 BLAKE2B 
691d449f55cf2702bdeed06470a1e56507ee09407929e1d742996f54212146a2cdd96e6e31a30ca8d94e807ea95c3a2766297df0f0a38e9c1d28e6615705b536
 SHA512 
908bdd717b916066f3fca46019fa70c789adf0b159250d3ea3b485ca30c8e41e1b86274bf857530943189461ec8165dcd5242456cbf2e259341731af33f00dfa
 DIST mednafen-1.32.0.tar.bz2 4427616 BLAKE2B 
71a210de8fc3de9169c1f839b942ccf83adeca66863868db4eaba1290c31eb874c7a941a19b5d7ae79464f505e785c5c45949f497b1ba5fc98449dcecad19b47
 SHA512 
9f4b4afa493c4f08c7c6d6867f58f267f60e1d9c7a341f187c8f7b048a894e532f507a484d2bf12e68156625388923e7091e555c43ef0dd5547e644c8a8c4fea
+DIST mednafen-1.32.1.tar.bz2 4428510 BLAKE2B 
b85ef506e9d0f76b08469f12dc1f57e0cdb789c9b36b50ad03ed1dbbc9640e2109a37f639acb5d9f7f8d17f97f9aca97700c75ffcfcd53c3a8098fb7f0d3d128
 SHA512 
1cbf88a3f95ead46cd4e106a701e7adefd54cd1869394e6e907f89370ba434b3999d8a5372e5f2ded43135716aed739fb5313f680687de20f1c4b8e74af54b60

diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.32.1.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-1.32.1.ebuild
new file mode 100644
index ..20d7f90f9bd8
--- /dev/null
+++ b/games-emulation/mednafen-jg/mednafen-jg-1.32.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Port of Mednafen"
+HOMEPAGE="https://gitlab.com/jgemu/mednafen";
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git";
+else
+   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2";
+   S="${WORKDIR}/${MY_P}"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="BSD GPL-2 GPL-2+ LGPL-2.1+ ZLIB"
+SLOT="1"
+IUSE="cpu_flags_x86_avx"
+
+DEPEND="
+   app-arch/zstd
+   dev-libs/lzo:2
+   >=dev-libs/trio-1.17
+   media-libs/flac
+   media-libs/jg:1=
+   sys-libs/zlib:=[minizip]
+"
+RDEPEND="
+   ${DEPEND}
+   games-emulation/jgrf
+"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+
+   cd jollygood/conf || die
+   eautoreconf
+}
+
+src_configure() {
+   cd jollygood/conf || die
+   econf $(use_enable cpu_flags_x86_avx avx)
+}
+
+src_compile() {
+   emake -C jollygood \
+   CC="$(tc-getCC)" \
+   CXX="$(tc-getCXX)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+   USE_EXTERNAL_TRIO=1
+}
+
+src_install() {
+   emake -C jollygood install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}"/usr \
+   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+   USE_EXTERNAL_TRIO=1
+}



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

2024-04-29 Thread Joonas Niilola
commit: 379d4781663b3e0ff2da3db9b297415f6ce1607c
Author: orbea  riseup  net>
AuthorDate: Sat Apr  6 01:02:13 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 29 08:45:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=379d4781

games-emulation/mednafen-jg: drop 1.31.0

Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35976
Signed-off-by: Joonas Niilola  gentoo.org>

 games-emulation/mednafen-jg/Manifest   |  1 -
 .../mednafen-jg/mednafen-jg-1.31.0.ebuild  | 67 --
 2 files changed, 68 deletions(-)

diff --git a/games-emulation/mednafen-jg/Manifest 
b/games-emulation/mednafen-jg/Manifest
index 42a33ddd0518..16df541909b1 100644
--- a/games-emulation/mednafen-jg/Manifest
+++ b/games-emulation/mednafen-jg/Manifest
@@ -1,3 +1,2 @@
-DIST mednafen-1.31.0.tar.bz2 4400375 BLAKE2B 
691d449f55cf2702bdeed06470a1e56507ee09407929e1d742996f54212146a2cdd96e6e31a30ca8d94e807ea95c3a2766297df0f0a38e9c1d28e6615705b536
 SHA512 
908bdd717b916066f3fca46019fa70c789adf0b159250d3ea3b485ca30c8e41e1b86274bf857530943189461ec8165dcd5242456cbf2e259341731af33f00dfa
 DIST mednafen-1.32.0.tar.bz2 4427616 BLAKE2B 
71a210de8fc3de9169c1f839b942ccf83adeca66863868db4eaba1290c31eb874c7a941a19b5d7ae79464f505e785c5c45949f497b1ba5fc98449dcecad19b47
 SHA512 
9f4b4afa493c4f08c7c6d6867f58f267f60e1d9c7a341f187c8f7b048a894e532f507a484d2bf12e68156625388923e7091e555c43ef0dd5547e644c8a8c4fea
 DIST mednafen-1.32.1.tar.bz2 4428510 BLAKE2B 
b85ef506e9d0f76b08469f12dc1f57e0cdb789c9b36b50ad03ed1dbbc9640e2109a37f639acb5d9f7f8d17f97f9aca97700c75ffcfcd53c3a8098fb7f0d3d128
 SHA512 
1cbf88a3f95ead46cd4e106a701e7adefd54cd1869394e6e907f89370ba434b3999d8a5372e5f2ded43135716aed739fb5313f680687de20f1c4b8e74af54b60

diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
deleted file mode 100644
index 5e9c6ff7b616..
--- a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs
-
-MY_PN=${PN%-*}
-MY_P=${MY_PN}-${PV}
-DESCRIPTION="Jolly Good Port of Mednafen"
-HOMEPAGE="https://gitlab.com/jgemu/mednafen";
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git";
-else
-   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2";
-   S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-fi
-
-LICENSE="BSD GPL-2 GPL-2+ LGPL-2.1+ ZLIB"
-SLOT="1"
-
-DEPEND="
-   app-arch/zstd
-   dev-libs/lzo:2
-   >=dev-libs/trio-1.17
-   media-libs/flac
-   media-libs/jg:1=
-   sys-libs/zlib:=[minizip]
-"
-RDEPEND="
-   ${DEPEND}
-   games-emulation/jgrf
-"
-BDEPEND="
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   default
-
-   cd jollygood/conf || die
-   eautoreconf
-}
-
-src_configure() {
-   cd jollygood/conf || die
-   econf
-}
-
-src_compile() {
-   emake -C jollygood \
-   CC="$(tc-getCC)" \
-   CXX="$(tc-getCXX)" \
-   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-   USE_EXTERNAL_TRIO=1
-}
-
-src_install() {
-   emake -C jollygood install \
-   DESTDIR="${D}" \
-   PREFIX="${EPREFIX}"/usr \
-   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
-   LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
-   USE_EXTERNAL_TRIO=1
-}



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

2024-04-26 Thread Sam James
commit: f267fc7799c9306a3af331c5a180738e5dd1b8d4
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 26 21:01:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 26 21:01:10 2024 +
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  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="



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

2024-04-06 Thread Ionen Wolkens
commit: 6470e98608038f2d859c90bb7d14e4434e79b30f
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Apr  6 20:01:39 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Apr  6 20:13:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6470e986

games-emulation/mednafen: add 1.32.1

Signed-off-by: Ionen Wolkens  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 
1cbc184b180c51ebfbdc5e9979f1767a19c4125b0c0067f74f3b88004b04c577e4602143049e0a85628a8b50c9c69a52134838a15a9dd6d1ab293b5e5715
 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 ..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
+}



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

2024-02-23 Thread Joonas Niilola
commit: 9f87f1126cc291b0275205028a5dacd3b6cc3c54
Author: orbea  riseup  net>
AuthorDate: Sat Feb 24 00:14:29 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Feb 24 07:06:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f87f112

games-emulation/mednafen-jg: update maintainers

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

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

diff --git a/games-emulation/mednafen-jg/metadata.xml 
b/games-emulation/mednafen-jg/metadata.xml
index 56f2412511f5..9e58d71f9c1a 100644
--- a/games-emulation/mednafen-jg/metadata.xml
+++ b/games-emulation/mednafen-jg/metadata.xml
@@ -5,9 +5,9 @@
or...@riseup.net
orbea

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


The Jolly Good API port of Mednafen has emulators for



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

2024-01-20 Thread Sam James
commit: b2967d6aa8b9bb15ff4ace5b8da3f1594fd4ce22
Author: orbea  riseup  net>
AuthorDate: Tue Jan  9 21:03:30 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 03:59:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2967d6a

games-emulation/mednafen-jg: add 1.32.0

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

 games-emulation/mednafen-jg/Manifest   |  1 +
 .../mednafen-jg/mednafen-jg-1.32.0.ebuild  | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/games-emulation/mednafen-jg/Manifest 
b/games-emulation/mednafen-jg/Manifest
index 26455fef4a44..8aa3b34b6bba 100644
--- a/games-emulation/mednafen-jg/Manifest
+++ b/games-emulation/mednafen-jg/Manifest
@@ -1 +1,2 @@
 DIST mednafen-1.31.0.tar.bz2 4400375 BLAKE2B 
691d449f55cf2702bdeed06470a1e56507ee09407929e1d742996f54212146a2cdd96e6e31a30ca8d94e807ea95c3a2766297df0f0a38e9c1d28e6615705b536
 SHA512 
908bdd717b916066f3fca46019fa70c789adf0b159250d3ea3b485ca30c8e41e1b86274bf857530943189461ec8165dcd5242456cbf2e259341731af33f00dfa
+DIST mednafen-1.32.0.tar.bz2 4427616 BLAKE2B 
71a210de8fc3de9169c1f839b942ccf83adeca66863868db4eaba1290c31eb874c7a941a19b5d7ae79464f505e785c5c45949f497b1ba5fc98449dcecad19b47
 SHA512 
9f4b4afa493c4f08c7c6d6867f58f267f60e1d9c7a341f187c8f7b048a894e532f507a484d2bf12e68156625388923e7091e555c43ef0dd5547e644c8a8c4fea

diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.32.0.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-1.32.0.ebuild
new file mode 100644
index ..20d7f90f9bd8
--- /dev/null
+++ b/games-emulation/mednafen-jg/mednafen-jg-1.32.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Port of Mednafen"
+HOMEPAGE="https://gitlab.com/jgemu/mednafen";
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git";
+else
+   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2";
+   S="${WORKDIR}/${MY_P}"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="BSD GPL-2 GPL-2+ LGPL-2.1+ ZLIB"
+SLOT="1"
+IUSE="cpu_flags_x86_avx"
+
+DEPEND="
+   app-arch/zstd
+   dev-libs/lzo:2
+   >=dev-libs/trio-1.17
+   media-libs/flac
+   media-libs/jg:1=
+   sys-libs/zlib:=[minizip]
+"
+RDEPEND="
+   ${DEPEND}
+   games-emulation/jgrf
+"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+
+   cd jollygood/conf || die
+   eautoreconf
+}
+
+src_configure() {
+   cd jollygood/conf || die
+   econf $(use_enable cpu_flags_x86_avx avx)
+}
+
+src_compile() {
+   emake -C jollygood \
+   CC="$(tc-getCC)" \
+   CXX="$(tc-getCXX)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+   USE_EXTERNAL_TRIO=1
+}
+
+src_install() {
+   emake -C jollygood install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}"/usr \
+   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+   USE_EXTERNAL_TRIO=1
+}



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

2024-01-20 Thread Sam James
commit: ec4e03ae175cf1b5d2181abaf3ba2be9c812e765
Author: orbea  riseup  net>
AuthorDate: Tue Jan  9 21:01:15 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 03:59:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4e03ae

games-emulation/mednafen-jg: sync keywords

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

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

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

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



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

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

games-emulation/mednafen-jg: Keyword 1.31.0 arm, #891201

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

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

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

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



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

2024-01-04 Thread Sam James
commit: 8625fc0f300c42c98d8db1c029ebcbe682d009e2
Author: orbea  riseup  net>
AuthorDate: Wed Dec 20 04:46:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  5 05:24:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8625fc0f

games-emulation/mednafen-jg: add cpu_flags_x86_avx

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

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

diff --git a/games-emulation/mednafen-jg/mednafen-jg-.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-.ebuild
index 0c98a116fa35..9949818d7a2d 100644
--- a/games-emulation/mednafen-jg/mednafen-jg-.ebuild
+++ b/games-emulation/mednafen-jg/mednafen-jg-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,11 +15,12 @@ if [[ "${PV}" == * ]] ; then
 else

SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2";
S="${WORKDIR}/${MY_P}"
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="BSD GPL-2 GPL-2+ LGPL-2.1+ ZLIB"
 SLOT="1"
+IUSE="cpu_flags_x86_avx"
 
 DEPEND="
app-arch/zstd
@@ -46,7 +47,7 @@ src_prepare() {
 
 src_configure() {
cd jollygood/conf || die
-   econf
+   econf $(use_enable cpu_flags_x86_avx avx)
 }
 
 src_compile() {



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

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

games-emulation/mednafen-jg: Keyword 1.31.0 ppc64, #891201

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

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

diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
index abd4de82e60a..221f37eb728a 100644
--- a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
+++ b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then
 else

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



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

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

games-emulation/mednafen-jg: Keyword 1.31.0 ppc, #891201

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

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

diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
index 427d6b615d79..abd4de82e60a 100644
--- a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
+++ b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then
 else

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



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

2023-09-17 Thread Arthur Zamarin
commit: 370acdf2ebc09468e13eaba43bbc7b13e1b1c556
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Sep 17 08:56:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Sep 17 08:56:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370acdf2

games-emulation/mednafen-jg: Keyword 1.31.0 x86, #891201

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

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

diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
index de0907c59b00..427d6b615d79 100644
--- a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
+++ b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then
 else

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



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

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

games-emulation/mednafen-jg: Keyword 1.31.0 arm64, #891201

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

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

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

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



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

2023-02-22 Thread Sam James
commit: 041f059aaede4a9a20d443c336c19a40b4865805
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 22 09:28:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 22 09:28:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041f059a

games-emulation/mednafen-jg: proxy orbea directly

I'll proxy directly.

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

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

diff --git a/games-emulation/mednafen-jg/metadata.xml 
b/games-emulation/mednafen-jg/metadata.xml
index 9e58d71f9c1a..56f2412511f5 100644
--- a/games-emulation/mednafen-jg/metadata.xml
+++ b/games-emulation/mednafen-jg/metadata.xml
@@ -5,9 +5,9 @@
or...@riseup.net
orbea

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


The Jolly Good API port of Mednafen has emulators for



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

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

games-emulation/mednafen-jg: New package, v1.31.0

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

 games-emulation/mednafen-jg/Manifest   |  1 +
 .../mednafen-jg/mednafen-jg-1.31.0.ebuild  | 67 ++
 .../mednafen-jg/mednafen-jg-.ebuild| 67 ++
 games-emulation/mednafen-jg/metadata.xml   | 23 
 4 files changed, 158 insertions(+)

diff --git a/games-emulation/mednafen-jg/Manifest 
b/games-emulation/mednafen-jg/Manifest
new file mode 100644
index ..26455fef4a44
--- /dev/null
+++ b/games-emulation/mednafen-jg/Manifest
@@ -0,0 +1 @@
+DIST mednafen-1.31.0.tar.bz2 4400375 BLAKE2B 
691d449f55cf2702bdeed06470a1e56507ee09407929e1d742996f54212146a2cdd96e6e31a30ca8d94e807ea95c3a2766297df0f0a38e9c1d28e6615705b536
 SHA512 
908bdd717b916066f3fca46019fa70c789adf0b159250d3ea3b485ca30c8e41e1b86274bf857530943189461ec8165dcd5242456cbf2e259341731af33f00dfa

diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
new file mode 100644
index ..0c98a116fa35
--- /dev/null
+++ b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Port of Mednafen"
+HOMEPAGE="https://gitlab.com/jgemu/mednafen";
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git";
+else
+   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2";
+   S="${WORKDIR}/${MY_P}"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD GPL-2 GPL-2+ LGPL-2.1+ ZLIB"
+SLOT="1"
+
+DEPEND="
+   app-arch/zstd
+   dev-libs/lzo:2
+   >=dev-libs/trio-1.17
+   media-libs/flac
+   media-libs/jg:1=
+   sys-libs/zlib:=[minizip]
+"
+RDEPEND="
+   ${DEPEND}
+   games-emulation/jgrf
+"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+
+   cd jollygood/conf || die
+   eautoreconf
+}
+
+src_configure() {
+   cd jollygood/conf || die
+   econf
+}
+
+src_compile() {
+   emake -C jollygood \
+   CC="$(tc-getCC)" \
+   CXX="$(tc-getCXX)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+   USE_EXTERNAL_TRIO=1
+}
+
+src_install() {
+   emake -C jollygood install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}"/usr \
+   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+   USE_EXTERNAL_TRIO=1
+}

diff --git a/games-emulation/mednafen-jg/mednafen-jg-.ebuild 
b/games-emulation/mednafen-jg/mednafen-jg-.ebuild
new file mode 100644
index ..0c98a116fa35
--- /dev/null
+++ b/games-emulation/mednafen-jg/mednafen-jg-.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Port of Mednafen"
+HOMEPAGE="https://gitlab.com/jgemu/mednafen";
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git";
+else
+   
SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2";
+   S="${WORKDIR}/${MY_P}"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD GPL-2 GPL-2+ LGPL-2.1+ ZLIB"
+SLOT="1"
+
+DEPEND="
+   app-arch/zstd
+   dev-libs/lzo:2
+   >=dev-libs/trio-1.17
+   media-libs/flac
+   media-libs/jg:1=
+   sys-libs/zlib:=[minizip]
+"
+RDEPEND="
+   ${DEPEND}
+   games-emulation/jgrf
+"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+
+   cd jollygood/conf || die
+   eautoreconf
+}
+
+src_configure() {
+   cd jollygood/conf || die
+   econf
+}
+
+src_compile() {
+   emake -C jollygood \
+   CC="$(tc-getCC)" \
+   CXX="$(tc-getCXX)" \
+   PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+   USE_EXTERNAL_TRIO=1
+}
+
+src_install() {
+   emake -C jollygood install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}"/usr \
+   DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+   USE_EXTERNAL_TRIO=1
+}

diff --git a/games-emulation/mednafen-jg/metadata.xml 
b/games-emulation/mednafen-jg/metadata.xml
new file mode 100644
index ..9e58d71f9c1a
--- /dev/null
+++ b

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

2022-11-28 Thread Jakov Smolić
commit: d1e026c44728bbdc41d77e094588947c62b75248
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Nov 29 06:57:10 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Nov 29 06:57:10 2022 +
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ć  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="



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

2022-02-15 Thread Ionen Wolkens
commit: 608034ccecb53b754774fb3b9d2c2050240b9b80
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Feb 16 05:53:53 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb 16 06:55:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=608034cc

games-emulation/mednafen: drop 1.27.1

Signed-off-by: Ionen Wolkens  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..
--- 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
-}



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

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

games-emulation/mednafen: add 1.29.0

Signed-off-by: Ionen Wolkens  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 ..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
+}



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

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

games-emulation/mednafen: drop 1.26.1

Signed-off-by: Ionen Wolkens  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..000
--- 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
-}



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

2021-06-15 Thread Ionen Wolkens
commit: 1ca9cc16cc005f0933cc75f7bf7a50e8f3141cd2
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Jun 15 21:32:10 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jun 15 21:33:33 2021 +
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  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 000..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
+}



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

2021-06-02 Thread Ionen Wolkens
commit: 487ce813759ee430f1b0bd9e4011d073a6b176d4
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Jun  2 09:25:20 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Jun  2 10:53:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=487ce813

games-emulation/mednafen: drop 0.9.46

Signed-off-by: Ionen Wolkens  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..000
--- 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"::' \
-   -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"::' \
-   -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 cont

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

2021-05-08 Thread Sam James
commit: 2383e92ad2432f5f67efd97675c7c34709b71a76
Author: Ionen Wolkens  gmail  com>
AuthorDate: Sun Apr 25 06:31:30 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May  9 04:42:11 2021 +
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  gmail.com>
Signed-off-by: Sam James  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 000..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
+}



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

2019-10-28 Thread James Le Cuirot
commit: 149de4654c7c9b40216e239e06debccbc09b8f99
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Oct 28 21:34:00 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Oct 28 21:38:37 2019 +
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  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 @@


Build with internal debugger
-   Triggers a paxmarking of the 
binary


mednafen



[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/files/

2017-12-23 Thread David Seifert
commit: a403a0e3c0e7d99bba4f1ad6f758334ddad37e2f
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Dec 22 15:22:53 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec 23 13:09:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a403a0e3

games-emulation/mednafen: remove unused patches

 .../files/mednafen-0.9.41-remove-cflags.patch  | 57 --
 .../mednafen/files/mednafen-0.9.41-zlib.patch  | 30 
 2 files changed, 87 deletions(-)

diff --git a/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch 
b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch
deleted file mode 100644
index a0a52997a27..000
--- a/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-Remove flags that subvert user choice in Gentoo
-
 a/configure.ac
-+++ b/configure.ac
-@@ -88,21 +88,7 @@
- AC_CHECK_LIB([z], [zlibVersion], ZLIB_LIBS="-lz", AC_MSG_ERROR([*** zlib not 
found!]))
- AC_SUBST([ZLIB_LIBS])
- 
--dnl -fno-fast-math and -fno-unsafe-math-optimizations to make sure it's 
disabled, as the fast-math feature on certain older
--dnl versions of gcc produces horribly broken code(and even when it's working 
correctly, it can have somewhat unpredictable effects).
--dnl
--dnl -fno-aggressive-loop-optimizations because I don't trust gcc's aggressive 
loop optimizations, and there miiight be old code
--dnl in Mednafen that would cause problems.
--dnl
--dnl -fomit-frame-pointer is required for some x86 inline assembly to compile.
--dnl
- OPTIMIZER_FLAGS=""
--AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-aggressive-loop-optimizations], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-ipa-icf], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
--
- dnl
- dnl Aggressively try to disable PIC and PIE, as it has a significant 
performance overhead and will
- dnl break some code(with compile-time failures or run-time assert()s 
triggering).
-@@ -110,12 +95,6 @@
- dnl Use -fwrapv instead of -fno-strict-overflow; -fno-strict-overflow is 
buggy on gcc and does not work as documented/implied.
- dnl
- CODEGEN_FLAGS=""
--AX_CFLAGS_GCC_OPTION([-fno-pic], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-pie], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-PIC], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-PIE], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-nopie], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-no-pie], CODEGEN_FLAGS)
- AX_CFLAGS_GCC_OPTION([-fwrapv],  CODEGEN_FLAGS)
- AX_CFLAGS_GCC_OPTION([-fjump-tables], CODEGEN_FLAGS)
- 
-@@ -139,9 +118,6 @@
- # Used as needed in Makefile.am:
- #
- NO_STACK_PROTECTOR_FLAGS=""
--AX_CFLAGS_GCC_OPTION([-fno-stack-protector], NO_STACK_PROTECTOR_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-stack-protector-all], NO_STACK_PROTECTOR_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-stack-protector-strong], NO_STACK_PROTECTOR_FLAGS)
- AC_SUBST(NO_STACK_PROTECTOR_FLAGS)
- 
- # ---
-@@ -165,7 +141,6 @@
- # Begin ss flags
- #
- SS_EXTRA_FLAGS=""
--AX_CFLAGS_GCC_OPTION([-mtune=haswell], SS_EXTRA_FLAGS)
- AC_SUBST(SS_EXTRA_FLAGS)
- #
- # End ss flags

diff --git a/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch 
b/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch
deleted file mode 100644
index 7f78d385d8e..000
--- a/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Use system minizip instead of bundled one
-
 a/include/mednafen/compress/Makefile.am.inc
-+++ b/include/mednafen/compress/Makefile.am.inc
-@@ -1 +1 @@
--mednafen_SOURCES  +=  compress/minilzo.c compress/ioapi.c 
compress/unzip.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
-+mednafen_SOURCES  +=  compress/minilzo.c compress/ioapi.c 
compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
 a/include/mednafen/file.cpp
-+++ b/include/mednafen/file.cpp
-@@ -29,7 +29,7 @@
- #include 
- #include 
- 
--#include "compress/unzip.h"
-+#include 
- 
- #include "file.h"
- #include "general.h"
 a/include/mednafen/Makefile.am
-+++ b/include/mednafen/Makefile.am
-@@ -6,7 +6,7 @@
- bin_PROGRAMS  =   mednafen
- 
- mednafen_SOURCES  =   debug.cpp error.cpp mempatcher.cpp settings.cpp 
endian.cpp Time.cpp mednafen.cpp git.cpp file.cpp general.cpp memory.cpp 
netplay.cpp state.cpp state_rewind.cpp movie.cpp player.cpp PSFLoader.cpp 
SSFLoader.cpp SNSFLoader.cpp SPCReader.cpp tests.cpp qtrecord.cpp Stream.cpp 
MemoryStream.cpp FileStream.cpp IPSPatcher.cpp
--mednafen_LDADD=   trio/libtrio.a
-+mednafen_LDADD=   trio/libtrio.a -lminizip
- mednafen_DEPENDENCIES =   trio/libtrio.a
- 
- if HAVE_SDL
-



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

2017-08-13 Thread David Seifert
commit: 4c63abe9dafbe211dfc940bc06dfe9df77b83482
Author: David Seifert  gentoo  org>
AuthorDate: Sun Aug 13 12:35:55 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 13 12:35:55 2017 +
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 000..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 
con

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

2017-06-11 Thread David Seifert
commit: 47317dda016efa5a285c0e8c63559410159e16ab
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 11 21:40:01 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 11 21:43:44 2017 +
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 000..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:

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

2017-06-05 Thread David Seifert
commit: 4a6b55e5b46db4487b418e68800ecf20ccbdae17
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jun  5 20:16:14 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jun  5 20:19:15 2017 +
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 000..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"::' \
+   -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:"c

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

2017-01-22 Thread David Seifert
commit: 2941f2f98a47de24699f9cce2380d07b1fad813f
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jan 22 15:15:50 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 22 15:15:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2941f2f9

games-emulation/mednafen: Remove old

Gentoo-bug: 515296

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 games-emulation/mednafen/Manifest  |   2 -
 .../mednafen/files/mednafen-0.9.38.7-cflags.patch  |  28 ---
 .../files/mednafen-0.9.38.7-localedir.patch| 278 -
 .../mednafen/files/mednafen-0.9.38.7-zlib.patch|  27 --
 .../files/mednafen-0.9.39.2-localedir.patch|  96 ---
 .../files/mednafen-0.9.39.2-remove-cflags.patch|  24 --
 .../mednafen/files/mednafen-0.9.39.2-zlib.patch|  27 --
 games-emulation/mednafen/mednafen-0.9.38.7.ebuild  |  68 -
 games-emulation/mednafen/mednafen-0.9.39.2.ebuild  |  73 --
 9 files changed, 623 deletions(-)

diff --git a/games-emulation/mednafen/Manifest 
b/games-emulation/mednafen/Manifest
index a8d7bac..4fa53d1 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,3 +1 @@
-DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 
1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 
759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76
 WHIRLPOOL 
0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42
-DIST mednafen-0.9.39.2.tar.bz2 4005259 SHA256 
b42470b2ddf68ce0747f5b8ba4e1d1c3047fa8c45b8e168da43f3e2461ec34cc SHA512 
e6d0f571ea82c9315336a02c8b91fc4b19d160a8ded3b0499b8a59d27c6f312a2dbe554e1e10e8ebd8616f862b59fe1d1d577e41942b31ab9b587b47c63b30dc
 WHIRLPOOL 
4aa11afffd1b14890e1d85cbb38397e2c613c8087e441a015b9d362ccbb59476077d65245efdf3ebc8e3b16b79b953ab9acb71c77476f3e362746e95a2877a4e
 DIST mednafen-0.9.41.tar.xz 3148348 SHA256 
74736b9b52a7ba6270b67ae8e6c876a887e0e26a00a7d96bdd49af17992aac47 SHA512 
d3c7707874eabbec41e5b725813d16e599f3ad89ecbd9c8e1264184d74ab2bf7a21a3f6fe177b6bc429f7bd56f9eea17a9a6fefce8e70b82e87a93d75f5d39c9
 WHIRLPOOL 
f754a45f46a5cd18117b1b710dd7fed5ebcfb311bf4ed4b7961c99636c13559db75f83cf7b34122fb403b7794ddeec6af79469bb7743cb60a7840ffe807fa2d7

diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch 
b/games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch
deleted file mode 100644
index c43af81..
--- a/games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch
+++ /dev/null
@@ -1,28 +0,0 @@
 configure.ac.orig
-+++ configure.ac
-@@ -80,25 +80,6 @@
- AC_CHECK_LIB([z], [zlibVersion],[], AC_MSG_ERROR([*** zlib not found!]))
- LIBS="$LIBS -lz"
- 
--OPTIMIZER_FLAGS=""
--
--dnl -ffast-math removed January 12, 2013.  Don't re-add it, nor any of its 
sub-options(ESPECIALLY not -funsafe-math-optimizations),
--dnl it messes up certain code(NES resampler, for example) under certain 
conditions and alignments of the great celestial squid.
--dnl
--dnl In fact, let's explicitly disable it here with -fno-fast-math.
--dnl
--dnl -fomit-frame-pointer is required for some x86 inline assembly to compile.
--dnl
--dnl November 28, 2014: Use -fwrapv unconditionally instead of 
-fno-strict-overflow, -fno-strict-overflow is buggy
--dnl and does not work as documented/implied.
--dnl
--AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-aggressive-loop-optimizations], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fwrapv], OPTIMIZER_FLAGS)
--
--
- WARNING_FLAGS=""
- AX_CFLAGS_GCC_OPTION([-Wall], WARNING_FLAGS)
- AX_CFLAGS_GCC_OPTION([-Wshadow], WARNING_FLAGS)

diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch 
b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch
deleted file mode 100644
index 5f2b3c6..
--- a/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch
+++ /dev/null
@@ -1,278 +0,0 @@
 mednafen.orig/intl/Makefile.in
-+++ mednafen/intl/Makefile.in
-@@ -44,7 +44,7 @@
- includedir = @includedir@
- datarootdir = @datarootdir@
- datadir = @datadir@
--localedir = $(datadir)/locale
-+localedir = /usr/share/locale
- gettextsrcdir = $(datadir)/gettext/intl
- aliaspath = $(localedir)
- subdir = intl
 mednafen.orig/src/cdplay/Makefile.am
-+++ mednafen/src/cdplay/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ 
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ 
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
- 
- noinst_LIBRARIES  =   libcdplay.a
 mednafen.orig/src/demo/Makefile.am
-+++ mednafen/src/demo/Makefile.am
-@@ -1,5 +1,5 @@
- AUT

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

2017-01-22 Thread Agostino Sarubbo
commit: 2d04fe739909659408dbff506aee10ad5063845e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 22 15:00:12 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 22 15:00:12 2017 +
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  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="



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

2017-01-22 Thread Agostino Sarubbo
commit: bfeb27b42b0a49bc84d6495d5cbfaaa6ccb106eb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 22 14:52:59 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 22 14:52:59 2017 +
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  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="



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

2017-01-21 Thread David Seifert
commit: 10c2b40e3e4400963b33dffbc429790dc208f483
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 21 18:57:48 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 21 19:04:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2b40e

games-emulation/mednafen: Version bump to 0.9.41

Gentoo-bug: 515296

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 games-emulation/mednafen/Manifest  |  1 +
 .../files/mednafen-0.9.41-remove-cflags.patch  | 57 +
 .../mednafen/files/mednafen-0.9.41-zlib.patch  | 30 +
 games-emulation/mednafen/mednafen-0.9.41.ebuild| 71 ++
 4 files changed, 159 insertions(+)

diff --git a/games-emulation/mednafen/Manifest 
b/games-emulation/mednafen/Manifest
index f5e17d7..a8d7bac 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,2 +1,3 @@
 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 
1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 
759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76
 WHIRLPOOL 
0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42
 DIST mednafen-0.9.39.2.tar.bz2 4005259 SHA256 
b42470b2ddf68ce0747f5b8ba4e1d1c3047fa8c45b8e168da43f3e2461ec34cc SHA512 
e6d0f571ea82c9315336a02c8b91fc4b19d160a8ded3b0499b8a59d27c6f312a2dbe554e1e10e8ebd8616f862b59fe1d1d577e41942b31ab9b587b47c63b30dc
 WHIRLPOOL 
4aa11afffd1b14890e1d85cbb38397e2c613c8087e441a015b9d362ccbb59476077d65245efdf3ebc8e3b16b79b953ab9acb71c77476f3e362746e95a2877a4e
+DIST mednafen-0.9.41.tar.xz 3148348 SHA256 
74736b9b52a7ba6270b67ae8e6c876a887e0e26a00a7d96bdd49af17992aac47 SHA512 
d3c7707874eabbec41e5b725813d16e599f3ad89ecbd9c8e1264184d74ab2bf7a21a3f6fe177b6bc429f7bd56f9eea17a9a6fefce8e70b82e87a93d75f5d39c9
 WHIRLPOOL 
f754a45f46a5cd18117b1b710dd7fed5ebcfb311bf4ed4b7961c99636c13559db75f83cf7b34122fb403b7794ddeec6af79469bb7743cb60a7840ffe807fa2d7

diff --git a/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch 
b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch
new file mode 100644
index ..a0a5299
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch
@@ -0,0 +1,57 @@
+Remove flags that subvert user choice in Gentoo
+
+--- a/configure.ac
 b/configure.ac
+@@ -88,21 +88,7 @@
+ AC_CHECK_LIB([z], [zlibVersion], ZLIB_LIBS="-lz", AC_MSG_ERROR([*** zlib not 
found!]))
+ AC_SUBST([ZLIB_LIBS])
+ 
+-dnl -fno-fast-math and -fno-unsafe-math-optimizations to make sure it's 
disabled, as the fast-math feature on certain older
+-dnl versions of gcc produces horribly broken code(and even when it's working 
correctly, it can have somewhat unpredictable effects).
+-dnl
+-dnl -fno-aggressive-loop-optimizations because I don't trust gcc's aggressive 
loop optimizations, and there miiight be old code
+-dnl in Mednafen that would cause problems.
+-dnl
+-dnl -fomit-frame-pointer is required for some x86 inline assembly to compile.
+-dnl
+ OPTIMIZER_FLAGS=""
+-AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-aggressive-loop-optimizations], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-ipa-icf], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
+-
+ dnl
+ dnl Aggressively try to disable PIC and PIE, as it has a significant 
performance overhead and will
+ dnl break some code(with compile-time failures or run-time assert()s 
triggering).
+@@ -110,12 +95,6 @@
+ dnl Use -fwrapv instead of -fno-strict-overflow; -fno-strict-overflow is 
buggy on gcc and does not work as documented/implied.
+ dnl
+ CODEGEN_FLAGS=""
+-AX_CFLAGS_GCC_OPTION([-fno-pic], CODEGEN_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-pie], CODEGEN_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-PIC], CODEGEN_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-PIE], CODEGEN_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-nopie], CODEGEN_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-no-pie], CODEGEN_FLAGS)
+ AX_CFLAGS_GCC_OPTION([-fwrapv],  CODEGEN_FLAGS)
+ AX_CFLAGS_GCC_OPTION([-fjump-tables], CODEGEN_FLAGS)
+ 
+@@ -139,9 +118,6 @@
+ # Used as needed in Makefile.am:
+ #
+ NO_STACK_PROTECTOR_FLAGS=""
+-AX_CFLAGS_GCC_OPTION([-fno-stack-protector], NO_STACK_PROTECTOR_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-stack-protector-all], NO_STACK_PROTECTOR_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-stack-protector-strong], NO_STACK_PROTECTOR_FLAGS)
+ AC_SUBST(NO_STACK_PROTECTOR_FLAGS)
+ 
+ # ---
+@@ -165,7 +141,6 @@
+ # Begin ss flags
+ #
+ SS_EXTRA_FLAGS=""
+-AX_CFLAGS_GCC_OPTION([-mtune=haswell], SS_EXTRA_FLAGS)
+ AC_SUBST(SS_EXTRA_FLAGS)
+ #
+ # End ss flags

diff --git a/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch 
b/games-emulation/mednafen/files/mednafen-0.9.41-zlib.p

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

2016-12-18 Thread David Seifert
commit: f4a482914b76f5dc2d200fe502a55582673fe071
Author: David Seifert  gentoo  org>
AuthorDate: Sun Dec 18 23:46:53 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Dec 18 23:51:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a48291

games-emulation/mednafen: Version bump to 0.9.39.2

Gentoo-bug: 602268
* EAPI=6
* Remove games.eclass
* Update patches

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 games-emulation/mednafen/Manifest  |  1 +
 .../files/mednafen-0.9.39.2-localedir.patch| 96 ++
 .../files/mednafen-0.9.39.2-remove-cflags.patch| 24 ++
 .../mednafen/files/mednafen-0.9.39.2-zlib.patch| 27 ++
 games-emulation/mednafen/mednafen-0.9.39.2.ebuild  | 73 
 5 files changed, 221 insertions(+)

diff --git a/games-emulation/mednafen/Manifest 
b/games-emulation/mednafen/Manifest
index c90f08f..f5e17d7 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1 +1,2 @@
 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 
1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 
759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76
 WHIRLPOOL 
0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42
+DIST mednafen-0.9.39.2.tar.bz2 4005259 SHA256 
b42470b2ddf68ce0747f5b8ba4e1d1c3047fa8c45b8e168da43f3e2461ec34cc SHA512 
e6d0f571ea82c9315336a02c8b91fc4b19d160a8ded3b0499b8a59d27c6f312a2dbe554e1e10e8ebd8616f862b59fe1d1d577e41942b31ab9b587b47c63b30dc
 WHIRLPOOL 
4aa11afffd1b14890e1d85cbb38397e2c613c8087e441a015b9d362ccbb59476077d65245efdf3ebc8e3b16b79b953ab9acb71c77476f3e362746e95a2877a4e

diff --git a/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch 
b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch
new file mode 100644
index ..82ab5a6
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch
@@ -0,0 +1,96 @@
+--- a/include/mednafen/desa68/Makefile.am
 b/include/mednafen/desa68/Makefile.am
+@@ -6,7 +6,7 @@
+ 
+ AUTOMAKE_OPTIONS = subdir-objects
+ AM_CFLAGS = @AM_CFLAGS@ -Wno-multichar
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ 
++DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ 
+ DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
+ 
+ noinst_LIBRARIES  =   libdesa68.a
+--- a/include/mednafen/drivers/Makefile.am
 b/include/mednafen/drivers/Makefile.am
+@@ -1,5 +1,5 @@
+ AUTOMAKE_OPTIONS = subdir-objects
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@  @SDL_CFLAGS@
++DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@  @SDL_CFLAGS@
+ DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
+ 
+ noinst_LIBRARIES  =   libmdfnsdl.a
+--- a/include/mednafen/drivers_dos/Makefile.am
 b/include/mednafen/drivers_dos/Makefile.am
+@@ -1,5 +1,5 @@
+ AUTOMAKE_OPTIONS = subdir-objects
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@  @SDL_CFLAGS@
++DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@  @SDL_CFLAGS@
+ DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
+ 
+ noinst_LIBRARIES  =   libmdfndos.a
+--- a/include/mednafen/Makefile.am
 b/include/mednafen/Makefile.am
+@@ -1,6 +1,6 @@
+ SUBDIRS   = trio
+ AUTOMAKE_OPTIONS = subdir-objects
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SNDFILE_CFLAGS@
++DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SNDFILE_CFLAGS@
+ DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
+ 
+ bin_PROGRAMS  =   mednafen
+--- a/include/mednafen/ngp/Makefile.am
 b/include/mednafen/ngp/Makefile.am
+@@ -1,5 +1,5 @@
+ AUTOMAKE_OPTIONS = subdir-objects
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@  -fno-strict-aliasing
++DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@  -fno-strict-aliasing
+ DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
+ 
+ noinst_LIBRARIES  =   libngp.a
+--- a/include/mednafen/quicklz/Makefile.am
 b/include/mednafen/quicklz/Makefile.am
+@@ -1,6 +1,6 @@
+ AM_CFLAGS = @AM_CFLAGS@ -fno-strict-aliasing -Wno-shadow 
-Wno-unused-but-set-variable
+ AUTOMAKE_OPTIONS = subdir-objects
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -fno-strict-aliasing
++DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -fno-strict-aliasing
+ DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
+ 
+ noinst_LIBRARIES  =   libmdfnquicklz.a
+--- a/include/mednafen/sexyal/Makefile.am
 b/include/mednafen/sexyal/Makefile.am
+@@ -1,5 +1,5 @@
+ AUTOMAKE_OPTIONS = subdir-objects
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@ @ALSA_CFLAGS@ 
@JACK_CFLAGS@
++DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SDL_CFLAGS@ @ALSA_CFLAGS@ 
@JACK_C

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

2016-02-15 Thread Michael Sterrett
commit: e42aa314ff8688a19d93dc86a1ebaf4cf389a08a
Author: Michael Sterrett  gentoo  org>
AuthorDate: Tue Feb 16 00:49:06 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Tue Feb 16 01:37:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42aa314

games-emulation/mednafen: clean old

Package-Manager: portage-2.2.26

 games-emulation/mednafen/Manifest  |  1 -
 .../files/mednafen-0.9.38.4-automake-1.13.patch| 11 
 .../mednafen/files/mednafen-0.9.38.4-cflags.patch  | 28 -
 .../mednafen/files/mednafen-0.9.38.4-zlib.patch| 27 
 games-emulation/mednafen/mednafen-0.9.38.4.ebuild  | 72 --
 5 files changed, 139 deletions(-)

diff --git a/games-emulation/mednafen/Manifest 
b/games-emulation/mednafen/Manifest
index dd9924b..c90f08f 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,2 +1 @@
-DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 
3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 
3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df
 WHIRLPOOL 
17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491
 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 
1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 
759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76
 WHIRLPOOL 
0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42

diff --git 
a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch 
b/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch
deleted file mode 100644
index 14c69d9..000
--- a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 mednafen-0.9.28-wip/mednafen/configure.ac
-+++ mednafen-0.9.28-wip/mednafen/configure.ac
-@@ -13,7 +13,7 @@
- AC_CANONICAL_TARGET
- AM_INIT_AUTOMAKE([mednafen], $MEDNAFEN_VERSION)
- m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
--AM_CONFIG_HEADER([include/config.h:include/config.h.in])
-+AC_CONFIG_HEADERS([include/config.h:include/config.h.in])
- 
- AC_PROG_CC
- AC_PROG_CPP

diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.4-cflags.patch 
b/games-emulation/mednafen/files/mednafen-0.9.38.4-cflags.patch
deleted file mode 100644
index c43af81..000
--- a/games-emulation/mednafen/files/mednafen-0.9.38.4-cflags.patch
+++ /dev/null
@@ -1,28 +0,0 @@
 configure.ac.orig
-+++ configure.ac
-@@ -80,25 +80,6 @@
- AC_CHECK_LIB([z], [zlibVersion],[], AC_MSG_ERROR([*** zlib not found!]))
- LIBS="$LIBS -lz"
- 
--OPTIMIZER_FLAGS=""
--
--dnl -ffast-math removed January 12, 2013.  Don't re-add it, nor any of its 
sub-options(ESPECIALLY not -funsafe-math-optimizations),
--dnl it messes up certain code(NES resampler, for example) under certain 
conditions and alignments of the great celestial squid.
--dnl
--dnl In fact, let's explicitly disable it here with -fno-fast-math.
--dnl
--dnl -fomit-frame-pointer is required for some x86 inline assembly to compile.
--dnl
--dnl November 28, 2014: Use -fwrapv unconditionally instead of 
-fno-strict-overflow, -fno-strict-overflow is buggy
--dnl and does not work as documented/implied.
--dnl
--AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-aggressive-loop-optimizations], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fwrapv], OPTIMIZER_FLAGS)
--
--
- WARNING_FLAGS=""
- AX_CFLAGS_GCC_OPTION([-Wall], WARNING_FLAGS)
- AX_CFLAGS_GCC_OPTION([-Wshadow], WARNING_FLAGS)

diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch 
b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch
deleted file mode 100644
index 5d930da..000
--- a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch
+++ /dev/null
@@ -1,27 +0,0 @@
 mednafen.orig/src/compress/Makefile.am.inc
-+++ mednafen/src/compress/Makefile.am.inc
-@@ -1 +1 @@
--mednafen_SOURCES  +=  compress/minilzo.c compress/ioapi.c 
compress/unzip.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
-+mednafen_SOURCES  +=  compress/minilzo.c compress/ioapi.c 
compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
 mednafen.orig/src/file.cpp
-+++ mednafen/src/file.cpp
-@@ -29,7 +29,7 @@
- #include 
- #include 
- 
--#include "compress/unzip.h"
-+#include 
- 
- #include "file.h"
- #include "general.h"
 mednafen.orig/src/Makefile.am
-+++ mednafen/src/Makefile.am
-@@ -6,7 +6,7 @@
- bin_PROGRAMS  =   mednafen
- 
- mednafen_SOURCES  =   debug.cpp error.cpp mempatcher.cpp settings.cpp 
endian.cpp me

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

2016-02-01 Thread Agostino Sarubbo
commit: 05bd0220d13f8ea889cab1ba8469663f08587803
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb  1 08:13:29 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb  1 08:13:29 2016 +
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  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



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

2015-12-29 Thread Michael Sterrett
commit: 0ddb9fcbec1c779051df973a3d4a08821fb42b83
Author: Michael Sterrett  gentoo  org>
AuthorDate: Tue Dec 29 15:47:53 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Tue Dec 29 15:53:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ddb9fcb

games-emulation/mednafen: version bump

Package-Manager: portage-2.2.24

 games-emulation/mednafen/Manifest  |   1 +
 .../mednafen/files/mednafen-0.9.38.7-cflags.patch  |  28 +++
 .../files/mednafen-0.9.38.7-localedir.patch| 278 +
 .../mednafen/files/mednafen-0.9.38.7-zlib.patch|  27 ++
 games-emulation/mednafen/mednafen-0.9.38.7.ebuild  |  68 +
 5 files changed, 402 insertions(+)

diff --git a/games-emulation/mednafen/Manifest 
b/games-emulation/mednafen/Manifest
index 95cfdb7..dd9924b 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1 +1,2 @@
 DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 
3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 
3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df
 WHIRLPOOL 
17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491
+DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 
1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 
759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76
 WHIRLPOOL 
0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42

diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch 
b/games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch
new file mode 100644
index 000..c43af81
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch
@@ -0,0 +1,28 @@
+--- configure.ac.orig
 configure.ac
+@@ -80,25 +80,6 @@
+ AC_CHECK_LIB([z], [zlibVersion],[], AC_MSG_ERROR([*** zlib not found!]))
+ LIBS="$LIBS -lz"
+ 
+-OPTIMIZER_FLAGS=""
+-
+-dnl -ffast-math removed January 12, 2013.  Don't re-add it, nor any of its 
sub-options(ESPECIALLY not -funsafe-math-optimizations),
+-dnl it messes up certain code(NES resampler, for example) under certain 
conditions and alignments of the great celestial squid.
+-dnl
+-dnl In fact, let's explicitly disable it here with -fno-fast-math.
+-dnl
+-dnl -fomit-frame-pointer is required for some x86 inline assembly to compile.
+-dnl
+-dnl November 28, 2014: Use -fwrapv unconditionally instead of 
-fno-strict-overflow, -fno-strict-overflow is buggy
+-dnl and does not work as documented/implied.
+-dnl
+-AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-aggressive-loop-optimizations], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fwrapv], OPTIMIZER_FLAGS)
+-
+-
+ WARNING_FLAGS=""
+ AX_CFLAGS_GCC_OPTION([-Wall], WARNING_FLAGS)
+ AX_CFLAGS_GCC_OPTION([-Wshadow], WARNING_FLAGS)

diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch 
b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch
new file mode 100644
index 000..5f2b3c6
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch
@@ -0,0 +1,278 @@
+--- mednafen.orig/intl/Makefile.in
 mednafen/intl/Makefile.in
+@@ -44,7 +44,7 @@
+ includedir = @includedir@
+ datarootdir = @datarootdir@
+ datadir = @datadir@
+-localedir = $(datadir)/locale
++localedir = /usr/share/locale
+ gettextsrcdir = $(datadir)/gettext/intl
+ aliaspath = $(localedir)
+ subdir = intl
+--- mednafen.orig/src/cdplay/Makefile.am
 mednafen/src/cdplay/Makefile.am
+@@ -1,5 +1,5 @@
+ AUTOMAKE_OPTIONS = subdir-objects
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ 
++DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ 
+ DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
+ 
+ noinst_LIBRARIES  =   libcdplay.a
+--- mednafen.orig/src/demo/Makefile.am
 mednafen/src/demo/Makefile.am
+@@ -1,5 +1,5 @@
+ AUTOMAKE_OPTIONS = subdir-objects
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ 
++DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ 
+ DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
+ 
+ noinst_LIBRARIES  =   libdemo.a
+--- mednafen.orig/src/desa68/Makefile.am
 mednafen/src/desa68/Makefile.am
+@@ -6,7 +6,7 @@
+ 
+ AUTOMAKE_OPTIONS = subdir-objects
+ AM_CFLAGS = @AM_CFLAGS@ -Wno-multichar
+-DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ 
++DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ 
+ DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/intl
+ 
+ noinst_LIBRARIES  =