diff options
author | orbea <orbea@riseup.net> | 2024-01-09 16:50:28 -0800 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-02-14 17:51:15 +0200 |
commit | bd42796c2795ad1093a6719d01a788340c13b47b (patch) | |
tree | acbad8e5f08ae799f904698ad4839c69d0f1e14d /dev-util/rgbds | |
parent | dev-util/rgbds: sync keywords (diff) | |
download | gentoo-bd42796c2795ad1093a6719d01a788340c13b47b.tar.gz gentoo-bd42796c2795ad1093a6719d01a788340c13b47b.tar.bz2 gentoo-bd42796c2795ad1093a6719d01a788340c13b47b.zip |
dev-util/rgbds: add 0.7.0
Closes: https://bugs.gentoo.org/921678
Signed-off-by: orbea <orbea@riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/34728
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util/rgbds')
-rw-r--r-- | dev-util/rgbds/Manifest | 1 | ||||
-rw-r--r-- | dev-util/rgbds/rgbds-0.7.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/rgbds/Manifest b/dev-util/rgbds/Manifest index d704150cb693..69dd78cd02f6 100644 --- a/dev-util/rgbds/Manifest +++ b/dev-util/rgbds/Manifest @@ -1 +1,2 @@ DIST rgbds-0.6.1.tar.gz 8041890 BLAKE2B cd5483e6fa5e2ca3bc9a6e3de44fdf7dc92289d558ac72d8922c0cf21b9dc576b878bfd7610cb41f791ad16cc415e446c925ee0dbc77ec4370d6ef4549935681 SHA512 b4a111e3d98a190d3c9b500dc59585fe68a8e6febc79b6716b406b96714e401bac427336388409ae456ee0f1e5a2c285bfe7b4bfa10e0d148ffc161adefe435b +DIST rgbds-0.7.0.tar.gz 8053662 BLAKE2B 07f6901eeaade45125acce5c33430bdefc5a4228d2fe952d55ca254c0fc17dc5248262ecc7df5e9dd0a73aab29a39a2b38988a7ae93ad739609397a286e96aa9 SHA512 82d799f9639cb3a4c110f84f5184f46a371e66428e7d3b4f3f0229473d472dea1b381268df92736f2d1d4f5e8e2c83b61888c3ab4055768f9472b834f66f2f68 diff --git a/dev-util/rgbds/rgbds-0.7.0.ebuild b/dev-util/rgbds/rgbds-0.7.0.ebuild new file mode 100644 index 000000000000..87cf24b0e1a2 --- /dev/null +++ b/dev-util/rgbds/rgbds-0.7.0.ebuild @@ -0,0 +1,37 @@ +# 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="virtual/pkgconfig" + +src_compile() { + append-flags -DNDEBUG + + emake Q= \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install + dodoc README.rst +} |