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 F2E2F15838C for ; Sun, 21 Jan 2024 04:02:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4C012BC018; Sun, 21 Jan 2024 04:02:10 +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 8A7892BC018 for ; Sun, 21 Jan 2024 04:02:10 +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 817183433DB for ; Sun, 21 Jan 2024 04:02:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB37214D2 for ; Sun, 21 Jan 2024 04:02:05 +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: <1705809597.ea04e149270cb065624cd6f5fe265a6cb0749cee.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/sameboy-jg/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/sameboy-jg/Manifest games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild X-VCS-Directories: games-emulation/sameboy-jg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ea04e149270cb065624cd6f5fe265a6cb0749cee X-VCS-Branch: master Date: Sun, 21 Jan 2024 04:02:05 +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: c24cc11d-7431-4b5c-bf2f-9fb2ba7f9775 X-Archives-Hash: 0ba369f9780052ea7fb8dcfb8233f815 commit: ea04e149270cb065624cd6f5fe265a6cb0749cee Author: orbea riseup net> AuthorDate: Wed Jan 10 00:59:38 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 21 03:59:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea04e149 games-emulation/sameboy-jg: add 0.16.2 Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/34725 Signed-off-by: Sam James gentoo.org> games-emulation/sameboy-jg/Manifest | 1 + .../sameboy-jg/sameboy-jg-0.16.2.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/games-emulation/sameboy-jg/Manifest b/games-emulation/sameboy-jg/Manifest index 29205beac02c..af96d59b4360 100644 --- a/games-emulation/sameboy-jg/Manifest +++ b/games-emulation/sameboy-jg/Manifest @@ -1 +1,2 @@ DIST sameboy-0.15.8.tar.bz2 3002961 BLAKE2B 5eacbc82d8c93ee85b774c554b3d3750088e8a4219d5b04daa9e6db0c70923ef823befc12831382a27ee007f117fddcfe35ff3549d7684b8587db9ffc486ccd6 SHA512 9074dfcbf400fe51e605ef0200f6ea8483650d605ab19177089c0e60f9996c15f265c5dec5fd0e6651392c9a9515e8380499e00bac837bb645220cd6ffa9c870 +DIST sameboy-0.16.2.tar.bz2 3556441 BLAKE2B 0972cb8ba200d8ac95a3d66e3b671c1adeeea71eebb4202b1985f7f72edebd42886aac48040bf034dab8d93fd52d15165551ee8dfaf6870a59ca7f574fc99e0f SHA512 bd456e248ec2d6ea0e8b017b705c829c6a94b1f7fe734769a86774c4b6983278cc5b4d61fdf8164844545bbd250b3c4f1fe725046ac7edb301268291d907f39f diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild b/games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild new file mode 100644 index 000000000000..c41503e9640a --- /dev/null +++ b/games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022-2024 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 SameBoy" +HOMEPAGE="https://gitlab.com/jgemu/sameboy" +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="MIT" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + >=dev-util/rgbds-0.6.0 + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood \ + CC="$(tc-getCC)" \ + CC_FOR_BUILD="$(tc-getBUILD_CC)" \ + 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)" +}