diff options
author | orbea <orbea@riseup.net> | 2022-12-27 17:14:26 -0800 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-15 14:16:12 +0000 |
commit | 156ac8efe22317774f027d1d7eefdf322355e098 (patch) | |
tree | 99216ee0f3aa71719f8b73bd0ce2d82154998fce /games-emulation | |
parent | games-emulation/cega-jg: New package, v0.5.2 (diff) | |
download | gentoo-156ac8efe22317774f027d1d7eefdf322355e098.tar.gz gentoo-156ac8efe22317774f027d1d7eefdf322355e098.tar.bz2 gentoo-156ac8efe22317774f027d1d7eefdf322355e098.zip |
games-emulation/gambatte-jg: New package, v0.5.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/gambatte-jg/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild | 46 | ||||
-rw-r--r-- | games-emulation/gambatte-jg/gambatte-jg-9999.ebuild | 46 | ||||
-rw-r--r-- | games-emulation/gambatte-jg/metadata.xml | 20 |
4 files changed, 113 insertions, 0 deletions
diff --git a/games-emulation/gambatte-jg/Manifest b/games-emulation/gambatte-jg/Manifest new file mode 100644 index 000000000000..40a95ee7206c --- /dev/null +++ b/games-emulation/gambatte-jg/Manifest @@ -0,0 +1 @@ +DIST gambatte-0.5.1.tar.bz2 305331 BLAKE2B edde374d0ed2b5f8c9ca3060520f2ffa392a82378fcac0ad18ea6ca0a02bc5240c8dc9f72c6427f2c85f11fd4b68b1a92717c20f34ad71d27a1ee3e9eb5238cd SHA512 60ea7199b1f26bb403ac48d871ef5191cbd6de6794ecde72693d9360ca476b364dc9e6c5bd88d5e54e9835d67feb17d1b7453b48096736ef870bea473b0691a5 diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild new file mode 100644 index 000000000000..bc00ccf2fcc5 --- /dev/null +++ b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 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 Fork of Gambatte" +HOMEPAGE="https://gitlab.com/jgemu/gambatte" +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" +fi + +LICENSE="BSD GPL-2" +SLOT="1" + +DEPEND=" + media-libs/jg:1= + media-libs/soxr +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} diff --git a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild new file mode 100644 index 000000000000..bc00ccf2fcc5 --- /dev/null +++ b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 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 Fork of Gambatte" +HOMEPAGE="https://gitlab.com/jgemu/gambatte" +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" +fi + +LICENSE="BSD GPL-2" +SLOT="1" + +DEPEND=" + media-libs/jg:1= + media-libs/soxr +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} diff --git a/games-emulation/gambatte-jg/metadata.xml b/games-emulation/gambatte-jg/metadata.xml new file mode 100644 index 000000000000..11b3abfb9e4f --- /dev/null +++ b/games-emulation/gambatte-jg/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>orbea@riseup.net</email> + <name>orbea</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + Gambatte JG is an emulator for the Nintendo Game Boy/Game Boy + Color. This is a fork of the final public revision of Gambatte. + </longdescription> + <upstream> + <bugs-to>https://gitlab.com/jgemu/gambatte/-/issues</bugs-to> + <remote-id type="gitlab">jgemu/gambatte</remote-id> + </upstream> +</pkgmetadata> |