diff options
Diffstat (limited to 'games-emulation/mednafen-jg')
-rw-r--r-- | games-emulation/mednafen-jg/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild | 67 | ||||
-rw-r--r-- | games-emulation/mednafen-jg/mednafen-jg-9999.ebuild | 67 | ||||
-rw-r--r-- | games-emulation/mednafen-jg/metadata.xml | 23 |
4 files changed, 161 insertions, 0 deletions
diff --git a/games-emulation/mednafen-jg/Manifest b/games-emulation/mednafen-jg/Manifest new file mode 100644 index 000000000000..f6bc9dde4354 --- /dev/null +++ b/games-emulation/mednafen-jg/Manifest @@ -0,0 +1,4 @@ +DIST mednafen-1.31.0.tar.bz2 4400375 BLAKE2B 691d449f55cf2702bdeed06470a1e56507ee09407929e1d742996f54212146a2cdd96e6e31a30ca8d94e807ea95c3a2766297df0f0a38e9c1d28e6615705b536 SHA512 908bdd717b916066f3fca46019fa70c789adf0b159250d3ea3b485ca30c8e41e1b86274bf857530943189461ec8165dcd5242456cbf2e259341731af33f00dfa +EBUILD mednafen-jg-1.31.0.ebuild 1221 BLAKE2B 308d3ad06a70eeec4a4ccce5647921af6056fd02cb590ddd3daaf179a5e8459cd5bf0ebd8ba6e1e002c6e44646e2426e4b9607ba0f4b2c962629c25c21eafec5 SHA512 ef7bdac1657d47eb5cb8869d27dbc5c9a6194b83e40a4485f5df255cc63b5b125601722574c38f16ea3e8c5cc89f43711d9c9cd19bd60e7a34b0eb7c6aba13d8 +EBUILD mednafen-jg-9999.ebuild 1221 BLAKE2B 308d3ad06a70eeec4a4ccce5647921af6056fd02cb590ddd3daaf179a5e8459cd5bf0ebd8ba6e1e002c6e44646e2426e4b9607ba0f4b2c962629c25c21eafec5 SHA512 ef7bdac1657d47eb5cb8869d27dbc5c9a6194b83e40a4485f5df255cc63b5b125601722574c38f16ea3e8c5cc89f43711d9c9cd19bd60e7a34b0eb7c6aba13d8 +MISC metadata.xml 870 BLAKE2B db1473244df4c178e0a72a1caeb42e4fc1d995c76ddb74caef4a73254d819319e22e33612efd01cd2f9670984240c14ab68a7a09a0cc7374782339c57d47a20e SHA512 60997485c0e0bad60da5e5526bd4b37d9f3114e9da156a5c91e6c96a3d08e4a7f3eb541fceb029e5463f2b3347029a6153caea3c92b2bf4bec0b774648dd57dd 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>orbea@riseup.net</email> + <name>orbea</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + 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. + </longdescription> + <upstream> + <bugs-to>https://gitlab.com/jgemu/mednafen/-/issues</bugs-to> + <remote-id type="gitlab">jgemu/mednafen</remote-id> + </upstream> +</pkgmetadata> |