summaryrefslogtreecommitdiff
path: root/dev-util/rgbds
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/rgbds')
-rw-r--r--dev-util/rgbds/Manifest4
-rw-r--r--dev-util/rgbds/rgbds-0.7.0.ebuild38
-rw-r--r--dev-util/rgbds/rgbds-9999.ebuild7
3 files changed, 45 insertions, 4 deletions
diff --git a/dev-util/rgbds/Manifest b/dev-util/rgbds/Manifest
index ab51eec7c0ae..89b4fee98d2e 100644
--- a/dev-util/rgbds/Manifest
+++ b/dev-util/rgbds/Manifest
@@ -1,4 +1,6 @@
DIST rgbds-0.6.1.tar.gz 8041890 BLAKE2B cd5483e6fa5e2ca3bc9a6e3de44fdf7dc92289d558ac72d8922c0cf21b9dc576b878bfd7610cb41f791ad16cc415e446c925ee0dbc77ec4370d6ef4549935681 SHA512 b4a111e3d98a190d3c9b500dc59585fe68a8e6febc79b6716b406b96714e401bac427336388409ae456ee0f1e5a2c285bfe7b4bfa10e0d148ffc161adefe435b
+DIST rgbds-0.7.0.tar.gz 8053662 BLAKE2B 07f6901eeaade45125acce5c33430bdefc5a4228d2fe952d55ca254c0fc17dc5248262ecc7df5e9dd0a73aab29a39a2b38988a7ae93ad739609397a286e96aa9 SHA512 82d799f9639cb3a4c110f84f5184f46a371e66428e7d3b4f3f0229473d472dea1b381268df92736f2d1d4f5e8e2c83b61888c3ab4055768f9472b834f66f2f68
EBUILD rgbds-0.6.1.ebuild 796 BLAKE2B b987811713b906c2d30e89afc96b5c24169e34a693444b7ba934c06de04dd28171f08f44d390b9bd38979bf6860e60aa295962b963b827dcdad3b6d8ef2a8e2b SHA512 cde4ecea869b20932df8c70291aa66d6eaf19b19a0d79575c3488d6fe9ea41c5f3fc92b5582ae24a1d519c9b608840c5ba1117c7ae984b4cdd8b863538327990
-EBUILD rgbds-9999.ebuild 767 BLAKE2B 5a22dd27268463c4ecdb56fac9826fed59909852fd624b588703b1f1f67c761d73d590c2b69db245fc1eac2d5b48f8a8fb7bd5caaa6e2ffbd47ccafca7d2c36f SHA512 28684aa9b13af2bdb27855a91dd56806c1e9568942f5043e6be8a6ad32dbcfe7eb48463c9795e1c4af149733590af482ea59aab34e6a71a7c6ae6b3234f5f21d
+EBUILD rgbds-0.7.0.ebuild 826 BLAKE2B 861e3200ea7f00616c8d1d0894a8e6e8f4c7cb6ad62d9ab2470d349a5fdba6ebe4e20da68890421aa8a13ccb05ffdcf0808c98b7436482d0d146fb7e671fc911 SHA512 de0916477db1209eac8422c017824b2cff205861df9da769df975e16632d87fb97eb0e4300aee165bd886b7d3f1987f9d57162ec214a2ea6b53f6b3844b6476a
+EBUILD rgbds-9999.ebuild 826 BLAKE2B 861e3200ea7f00616c8d1d0894a8e6e8f4c7cb6ad62d9ab2470d349a5fdba6ebe4e20da68890421aa8a13ccb05ffdcf0808c98b7436482d0d146fb7e671fc911 SHA512 de0916477db1209eac8422c017824b2cff205861df9da769df975e16632d87fb97eb0e4300aee165bd886b7d3f1987f9d57162ec214a2ea6b53f6b3844b6476a
MISC metadata.xml 665 BLAKE2B e9e96801e1a7c94a7c3645f6ea5f1354d13faf4bb98fb001d32a8f3e10f660c2d525a9e9e27b7b62b5f929c567461072f892a6a23978e7812262c49dcd35a0e2 SHA512 9035ff9ace1fcecafff7dbcd0c7f34247a94a366f8c6b0ca6a92b62b5e402f9cf97ceae675381d332758fa9969e16a7b790bc9ce9a0e2d65a4e4378faaf02fbf
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..15f4299a0ec4
--- /dev/null
+++ b/dev-util/rgbds/rgbds-0.7.0.ebuild
@@ -0,0 +1,38 @@
+# 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="app-alternatives/yacc[bison]
+ 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
+}
diff --git a/dev-util/rgbds/rgbds-9999.ebuild b/dev-util/rgbds/rgbds-9999.ebuild
index 51e115fe3583..15f4299a0ec4 100644
--- a/dev-util/rgbds/rgbds-9999.ebuild
+++ b/dev-util/rgbds/rgbds-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,7 @@ if [[ "${PV}" == *9999 ]] ; then
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"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
LICENSE="MIT"
@@ -20,7 +20,8 @@ SLOT="0"
DEPEND="media-libs/libpng"
RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="app-alternatives/yacc[bison]
+ virtual/pkgconfig"
src_compile() {
append-flags -DNDEBUG