From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 301441582EF for ; Mon, 10 Mar 2025 02:18:41 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 173CA343154 for ; Mon, 10 Mar 2025 02:18:41 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4906211037D; Mon, 10 Mar 2025 02:18:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 402FE11037D for ; Mon, 10 Mar 2025 02:18:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E074134312D for ; Mon, 10 Mar 2025 02:18:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4738C28B3 for ; Mon, 10 Mar 2025 02:18:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741572309.903fdbc0c71e6218eabb1a35ebdf48ab4ca8f9b6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen-jg/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/mednafen-jg/Manifest games-emulation/mednafen-jg/mednafen-jg-1.32.1.1.ebuild X-VCS-Directories: games-emulation/mednafen-jg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 903fdbc0c71e6218eabb1a35ebdf48ab4ca8f9b6 X-VCS-Branch: master Date: Mon, 10 Mar 2025 02:18:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f0124564-fa80-4f8f-a0c9-fb98454d5f03 X-Archives-Hash: 33ee0f68aefee623af66ee19093632e3 commit: 903fdbc0c71e6218eabb1a35ebdf48ab4ca8f9b6 Author: orbea riseup net> AuthorDate: Mon Mar 3 01:11:06 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 10 02:05:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903fdbc0 games-emulation/mednafen-jg: add 1.32.1.1 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.1.1.ebuild | 69 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/games-emulation/mednafen-jg/Manifest b/games-emulation/mednafen-jg/Manifest index 6ea40f2cc825..79a38cbef6eb 100644 --- a/games-emulation/mednafen-jg/Manifest +++ b/games-emulation/mednafen-jg/Manifest @@ -1 +1,2 @@ +DIST mednafen-1.32.1.1.tar.bz2 4430513 BLAKE2B 6cfecf12b962e46696b352c37fb1c3476e4a9a175ee65cf3f332f1f983bbec3ae0096fbbb27c3cf222a50bdb1e595f62debaf0117b10ac10c9d8b06613e55d47 SHA512 81b42120319c452347f03928aa5c7957d0906de5e413149c9f7403a6776f537ed2eadd0b41cdc45a608c246d9ceade5090755f790255017bd2223115655b20a9 DIST mednafen-1.32.1.tar.bz2 4428510 BLAKE2B b85ef506e9d0f76b08469f12dc1f57e0cdb789c9b36b50ad03ed1dbbc9640e2109a37f639acb5d9f7f8d17f97f9aca97700c75ffcfcd53c3a8098fb7f0d3d128 SHA512 1cbf88a3f95ead46cd4e106a701e7adefd54cd1869394e6e907f89370ba434b3999d8a5372e5f2ded43135716aed739fb5313f680687de20f1c4b8e74af54b60 diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.32.1.1.ebuild b/games-emulation/mednafen-jg/mednafen-jg-1.32.1.1.ebuild new file mode 100644 index 000000000000..e843f59c0b3d --- /dev/null +++ b/games-emulation/mednafen-jg/mednafen-jg-1.32.1.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2025 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] + virtual/libiconv +" +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 +}