From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15EA115800F for ; Sun, 15 Jan 2023 14:16:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD7C8E0895; Sun, 15 Jan 2023 14:16:44 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id 88AF0E0895 for ; Sun, 15 Jan 2023 14:16:44 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74A303406BF for ; Sun, 15 Jan 2023 14:16:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75373865 for ; Sun, 15 Jan 2023 14:16:40 +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: <1673792173.481a8ac8c3c48ee23fb0472e28acc7bc40a94e0c.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.31.0.ebuild games-emulation/mednafen-jg/mednafen-jg-9999.ebuild games-emulation/mednafen-jg/metadata.xml X-VCS-Directories: games-emulation/mednafen-jg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 481a8ac8c3c48ee23fb0472e28acc7bc40a94e0c X-VCS-Branch: master Date: Sun, 15 Jan 2023 14:16:40 +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: 97720b57-6c4f-4081-832e-3ac35471bac0 X-Archives-Hash: 99f7dd72582f095c9cacc638fdcf0ea8 commit: 481a8ac8c3c48ee23fb0472e28acc7bc40a94e0c Author: orbea riseup net> AuthorDate: Wed Dec 28 01:16:16 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 15 14:16:13 2023 +0000 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-9999.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 000000000000..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 000000000000..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}" == *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" +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-9999.ebuild b/games-emulation/mednafen-jg/mednafen-jg-9999.ebuild new file mode 100644 index 000000000000..0c98a116fa35 --- /dev/null +++ b/games-emulation/mednafen-jg/mednafen-jg-9999.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}" == *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" +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 000000000000..9e58d71f9c1a --- /dev/null +++ b/games-emulation/mednafen-jg/metadata.xml @@ -0,0 +1,23 @@ + + + + + orbea@riseup.net + orbea + + + proxy-maint@gentoo.org + Proxy Maintainers + + + The Jolly Good API port of Mednafen has emulators for + Atari Lynx, Nintendo Virtual Boy, NEC PC Engine/TurboGrafx-16 + NEC PC Engine CD/TurboDuo, NEC SuperGrafx, Sony PlayStation + Sega Saturn, Super Nintendo Entertainment System/Super Famicom + SNK Neo Geo Pocket Color and Bandai WonderSwan/Color. + + + https://gitlab.com/jgemu/mednafen/-/issues + jgemu/mednafen + +