public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen-jg/
Date: Mon, 29 Apr 2024 08:46:35 +0000 (UTC)	[thread overview]
Message-ID: <1714380319.625db2bd3caa75a925e730e561f3a86544632e42.juippis@gentoo> (raw)

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

games-emulation/mednafen-jg: add 1.32.1

Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Joonas Niilola <juippis <AT> 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 000000000000..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}" == *9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git"
+else
+	SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"
+	S="${WORKDIR}/${MY_P}"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="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
+}


             reply	other threads:[~2024-04-29  8:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29  8:46 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10  2:18 [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen-jg/ Sam James
2025-02-10  2:19 Michael Orlitzky
2025-02-10  2:19 Michael Orlitzky
2025-02-10  2:19 Michael Orlitzky
2024-12-13  9:35 Sam James
2024-04-29  8:46 Joonas Niilola
2024-02-24  7:06 Joonas Niilola
2024-01-21  4:02 Sam James
2024-01-21  4:02 Sam James
2024-01-06 19:30 Viorel Munteanu
2024-01-05  5:24 Sam James
2023-12-03  7:42 Sam James
2023-12-02  9:24 Arthur Zamarin
2023-09-17  8:56 Arthur Zamarin
2023-09-13  3:20 Sam James
2023-02-22  9:32 Sam James
2023-01-15 14:16 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1714380319.625db2bd3caa75a925e730e561f3a86544632e42.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox