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 D70FE1584AD for ; Sat, 26 Apr 2025 00:31:21 +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 93F92343078 for ; Sat, 26 Apr 2025 00:31:21 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F30591104B9; Sat, 26 Apr 2025 00:31:16 +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 bobolink.gentoo.org (Postfix) with ESMTPS id EB4901104B9 for ; Sat, 26 Apr 2025 00:31:16 +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 7739833EB78 for ; Sat, 26 Apr 2025 00:31:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D667B2547 for ; Sat, 26 Apr 2025 00:31:14 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1745627367.e10595283bde9bfc674bae80c1ce5290c11a682f.mjo@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-1.0.1.ebuild X-VCS-Directories: games-emulation/sameboy-jg/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: e10595283bde9bfc674bae80c1ce5290c11a682f X-VCS-Branch: master Date: Sat, 26 Apr 2025 00:31:14 +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: 3f0494aa-a37b-4eac-954c-d4f910866d38 X-Archives-Hash: 9988c3a4a35cc26f2c13435d947e4b48 commit: e10595283bde9bfc674bae80c1ce5290c11a682f Author: orbea riseup net> AuthorDate: Sat Apr 5 18:15:45 2025 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sat Apr 26 00:29:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1059528 games-emulation/sameboy-jg: add 1.0.1 Signed-off-by: orbea riseup.net> Signed-off-by: Michael Orlitzky gentoo.org> games-emulation/sameboy-jg/Manifest | 1 + games-emulation/sameboy-jg/sameboy-jg-1.0.1.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/games-emulation/sameboy-jg/Manifest b/games-emulation/sameboy-jg/Manifest index 6b9b99588045..9f078bb4b923 100644 --- a/games-emulation/sameboy-jg/Manifest +++ b/games-emulation/sameboy-jg/Manifest @@ -1 +1,2 @@ DIST sameboy-1.0.0.tar.bz2 7166814 BLAKE2B b004fe08af738e4e00e7144073f477c62603b6921730d0c2f59064781e3408f0e61be8a1eb40ce68c08ae286c47f4d4875666bc0f65c2232d0662bad1e83cecd SHA512 4da43490b502e59013153f4eabd8c943f81a4a27fd20ffb478770f19897c31d28e6d264e7ec3c3a55029214b8d95f527b564f65a010634d2203b6faa231e1626 +DIST sameboy-1.0.1.tar.bz2 7191664 BLAKE2B 5a12ab2b439912a52eb8ba0aca55a3ff3992c588cc109d8af6f70f9c32ee5347edf1c1326056221ca73be7fa984a25d7664214117d64b38246defe3e009b3c6e SHA512 db71c74c8a8ef6b5838176c98af19eccc55ec69bce3a6cd2e01933aa18ad45443388ee976c2ad2b08ff20ddbb128b3cb0855e97848e653ea2c4853727c0bab5f diff --git a/games-emulation/sameboy-jg/sameboy-jg-1.0.1.ebuild b/games-emulation/sameboy-jg/sameboy-jg-1.0.1.ebuild new file mode 100644 index 000000000000..10ba03606f29 --- /dev/null +++ b/games-emulation/sameboy-jg/sameboy-jg-1.0.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022-2025 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)" +}