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 8FB811582EF for ; Mon, 10 Feb 2025 02:02:31 +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 74945343119 for ; Mon, 10 Feb 2025 02:02:31 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 77D911103CB; Mon, 10 Feb 2025 02:02:30 +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 72A521103CB for ; Mon, 10 Feb 2025 02:02:30 +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 262AB343111 for ; Mon, 10 Feb 2025 02:02:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 852561ACB for ; Mon, 10 Feb 2025 02:02:28 +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: <1739152251.47727d1d06bf694c101c65134d014cfa28aafbc4.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rgbds/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rgbds/Manifest dev-util/rgbds/rgbds-0.9.1.ebuild X-VCS-Directories: dev-util/rgbds/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 47727d1d06bf694c101c65134d014cfa28aafbc4 X-VCS-Branch: master Date: Mon, 10 Feb 2025 02:02:28 +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: 071d265e-0bd2-4c94-b46c-b9e73d010951 X-Archives-Hash: 8da1b6cdb88b08b5bfb8b3a55470a40e commit: 47727d1d06bf694c101c65134d014cfa28aafbc4 Author: orbea riseup net> AuthorDate: Mon Feb 3 15:48:55 2025 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Mon Feb 10 01:50:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47727d1d dev-util/rgbds: add 0.9.1 Closes: https://github.com/gentoo/gentoo/pull/40427 Signed-off-by: orbea riseup.net> Signed-off-by: Michael Orlitzky gentoo.org> dev-util/rgbds/Manifest | 1 + dev-util/rgbds/rgbds-0.9.1.ebuild | 50 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-util/rgbds/Manifest b/dev-util/rgbds/Manifest index 92ffb1ba5496..e89cb568a9fb 100644 --- a/dev-util/rgbds/Manifest +++ b/dev-util/rgbds/Manifest @@ -1,2 +1,3 @@ DIST rgbds-0.8.0.tar.gz 8052350 BLAKE2B 46edb43a530169d03e026070b61272e95357213747296658e4ceb821f8e420979ceffcbc07b41b6778187a1f6a614d3587416d5ad3596f19bacc6c9067051837 SHA512 1c36e0fc7ecfd930c9cbc9f9772d2c7268148e2d456c56c92265ba45b9108c531fc412669d980f6c621b4d89d367458f01a2e0cf20443f13b83f841585f3edac DIST rgbds-0.9.0.tar.gz 8093242 BLAKE2B b6ee19b4e4ce0e4d77f3b3ec11115a389b8debd71477478dbef72065ae17caae10e53b49b45dbc822443392c27023948cc3033117f13a7c1340d8ca90f1ff6b5 SHA512 d86a478dfcfb007e095696c32a4fa098eb9818d3bdac90d7c61bbac8901346acb6f9371ee3285b2adcf71e3c199f731b7b6c60a99be06e64b463ea7aef0f4901 +DIST rgbds-0.9.1.tar.gz 8094855 BLAKE2B 9040aac0429c3dabcabb936356298f2f9c6d32831052cd7fdf8d6757ceba51d3d7891d0857b4a09b778f1f7de3c7d32a6b4f9086c05725dac3d15797cbb3dcda SHA512 9ab610dd2c661c4228ecbc9fbf02734a65899b9ad6e4ab6e9273387d23ca5f95215de44972034fbdf46a744d4984f2efcf762b3bb4b7a4ecb6117a9c470ba3a7 diff --git a/dev-util/rgbds/rgbds-0.9.1.ebuild b/dev-util/rgbds/rgbds-0.9.1.ebuild new file mode 100644 index 000000000000..a95228116a06 --- /dev/null +++ b/dev-util/rgbds/rgbds-0.9.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Rednex Game Boy Development System" +HOMEPAGE="https://rgbds.gbdev.io/" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/gbdev/${PN}.git" +else + SRC_URI="https://github.com/gbdev/${PN}/archive/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +DEPEND="media-libs/libpng" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-devel/bison + virtual/pkgconfig +" + +src_compile() { + append-flags -DNDEBUG + + emake Q= \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_test() { + local dir + for dir in asm link fix gfx; do + pushd "test/${dir}" >/dev/null || die + einfo "Running ${dir} tests." + ./test.sh || die + popd >/dev/null || die + done +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install + dodoc README.md +}