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 466C015800F for ; Sun, 15 Jan 2023 14:16:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90B55E0891; 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 51080E0893 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 64C5B34068A 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 9BF2C882 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.4c8613702b56a8433f2c32f3605fb6dea2d2cc6e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/mgba-jg/Manifest games-emulation/mgba-jg/metadata.xml games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild games-emulation/mgba-jg/mgba-jg-9999.ebuild X-VCS-Directories: games-emulation/mgba-jg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4c8613702b56a8433f2c32f3605fb6dea2d2cc6e 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: 037f49d7-47d2-432e-868f-59f6144a10c9 X-Archives-Hash: b24461ab2911b8da52b30e6ad99b66f1 commit: 4c8613702b56a8433f2c32f3605fb6dea2d2cc6e Author: orbea riseup net> AuthorDate: Wed Dec 28 01:17:57 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=4c861370 games-emulation/mgba-jg: New package, v0.10.1 Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/Manifest | 1 + games-emulation/mgba-jg/metadata.xml | 21 +++++++++++++ games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild | 45 +++++++++++++++++++++++++++ games-emulation/mgba-jg/mgba-jg-9999.ebuild | 45 +++++++++++++++++++++++++++ 4 files changed, 112 insertions(+) diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest new file mode 100644 index 000000000000..cc60171758b9 --- /dev/null +++ b/games-emulation/mgba-jg/Manifest @@ -0,0 +1 @@ +DIST mgba-0.10.1.tar.bz2 12984463 BLAKE2B 8cdd3ee302ba29febbdd255582b2c071543bbe9e483a302c2e2116444662ace9e8988acead32be2b84361b6145099a1a76c2391a938069e3dddba83e76070842 SHA512 69d7f1a8973159cf6dab21aa669bd29e8344efad1a5ffaa77fc94ad02ce1f3c2f74692bdce896cee394ffcdbecfe7d91c0f51bc89fbb65a16cf44801e26d8412 diff --git a/games-emulation/mgba-jg/metadata.xml b/games-emulation/mgba-jg/metadata.xml new file mode 100644 index 000000000000..4ced7d6f9fbf --- /dev/null +++ b/games-emulation/mgba-jg/metadata.xml @@ -0,0 +1,21 @@ + + + + + orbea@riseup.net + orbea + + + proxy-maint@gentoo.org + Proxy Maintainers + + + mGBA is an emulator for running Game Boy Advance games. + It aims to be faster and more accurate than many + existing Game Boy Advance emulators. + + + https://gitlab.com/jgemu/mgba/-/issues + jgemu/mgba + + diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild new file mode 100644 index 000000000000..0e80a91b3ee1 --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PN=${PN%-*} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Jolly Good Port of mGBA" +HOMEPAGE="https://gitlab.com/jgemu/mgba" +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-2 MPL-2.0" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake -C jollygood install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} diff --git a/games-emulation/mgba-jg/mgba-jg-9999.ebuild b/games-emulation/mgba-jg/mgba-jg-9999.ebuild new file mode 100644 index 000000000000..0e80a91b3ee1 --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PN=${PN%-*} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Jolly Good Port of mGBA" +HOMEPAGE="https://gitlab.com/jgemu/mgba" +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-2 MPL-2.0" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake -C jollygood install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +}