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 C0A4815802E for ; Sun, 30 Jun 2024 12:41:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9924AE2B2B; Sun, 30 Jun 2024 12:41:46 +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 74690E2B2B for ; Sun, 30 Jun 2024 12:41:46 +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 1F483340C57 for ; Sun, 30 Jun 2024 12:41:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 736631DA0 for ; Sun, 30 Jun 2024 12:41:42 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1719751241.2bec5f9b79336e5359a1e327cce308774f429bee.conikost@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.8.0.ebuild X-VCS-Directories: dev-util/rgbds/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 2bec5f9b79336e5359a1e327cce308774f429bee X-VCS-Branch: master Date: Sun, 30 Jun 2024 12:41:42 +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: 7dd332d6-b87e-4357-ace3-7db7707bfedb X-Archives-Hash: c34167253aed0e139d98710afffd2774 commit: 2bec5f9b79336e5359a1e327cce308774f429bee Author: orbea riseup net> AuthorDate: Sat Jun 29 14:06:17 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Jun 30 12:40:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bec5f9b dev-util/rgbds: add 0.8.0 Signed-off-by: orbea riseup.net> Signed-off-by: Conrad Kostecki gentoo.org> dev-util/rgbds/Manifest | 1 + dev-util/rgbds/rgbds-0.8.0.ebuild | 50 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-util/rgbds/Manifest b/dev-util/rgbds/Manifest index 69dd78cd02f6..7c4baea7b1c2 100644 --- a/dev-util/rgbds/Manifest +++ b/dev-util/rgbds/Manifest @@ -1,2 +1,3 @@ DIST rgbds-0.6.1.tar.gz 8041890 BLAKE2B cd5483e6fa5e2ca3bc9a6e3de44fdf7dc92289d558ac72d8922c0cf21b9dc576b878bfd7610cb41f791ad16cc415e446c925ee0dbc77ec4370d6ef4549935681 SHA512 b4a111e3d98a190d3c9b500dc59585fe68a8e6febc79b6716b406b96714e401bac427336388409ae456ee0f1e5a2c285bfe7b4bfa10e0d148ffc161adefe435b DIST rgbds-0.7.0.tar.gz 8053662 BLAKE2B 07f6901eeaade45125acce5c33430bdefc5a4228d2fe952d55ca254c0fc17dc5248262ecc7df5e9dd0a73aab29a39a2b38988a7ae93ad739609397a286e96aa9 SHA512 82d799f9639cb3a4c110f84f5184f46a371e66428e7d3b4f3f0229473d472dea1b381268df92736f2d1d4f5e8e2c83b61888c3ab4055768f9472b834f66f2f68 +DIST rgbds-0.8.0.tar.gz 8052350 BLAKE2B 46edb43a530169d03e026070b61272e95357213747296658e4ceb821f8e420979ceffcbc07b41b6778187a1f6a614d3587416d5ad3596f19bacc6c9067051837 SHA512 1c36e0fc7ecfd930c9cbc9f9772d2c7268148e2d456c56c92265ba45b9108c531fc412669d980f6c621b4d89d367458f01a2e0cf20443f13b83f841585f3edac diff --git a/dev-util/rgbds/rgbds-0.8.0.ebuild b/dev-util/rgbds/rgbds-0.8.0.ebuild new file mode 100644 index 000000000000..7f24c27d44dd --- /dev/null +++ b/dev-util/rgbds/rgbds-0.8.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2024 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 +}