diff options
author | orbea <orbea@riseup.net> | 2023-07-04 17:55:24 -0700 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-05 01:56:48 +0100 |
commit | 1a298430ef58c36a62bcb2e4c4be734806b5405b (patch) | |
tree | 1c055e9ecca129132229c1b7409f18a6e05d4bcf /games-emulation/jgrf | |
parent | dev-ruby/prawn: add missing matrix dep (diff) | |
download | gentoo-1a298430ef58c36a62bcb2e4c4be734806b5405b.tar.gz gentoo-1a298430ef58c36a62bcb2e4c4be734806b5405b.tar.bz2 gentoo-1a298430ef58c36a62bcb2e4c4be734806b5405b.zip |
games-emulation/jgrf: add 1.0.2
Signed-off-by: orbea <orbea@riseup.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-emulation/jgrf')
-rw-r--r-- | games-emulation/jgrf/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/jgrf/jgrf-1.0.2.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/games-emulation/jgrf/Manifest b/games-emulation/jgrf/Manifest index c4a622fb2354..ab65edf42d91 100644 --- a/games-emulation/jgrf/Manifest +++ b/games-emulation/jgrf/Manifest @@ -1 +1,2 @@ DIST jgrf-1.0.1.tar.bz2 297355 BLAKE2B 5ebc37a6701df0d227fb513d793e16404f982dce211168de24d92b28c9ee239205cfed569a80e8d602088b14b58248c0e48c78b13359056837bdbba544195561 SHA512 c0c9f149b5e06d9ef1b97e4c390ca0f0ff5251c179b770f46e8fe89521a4d9423895b9f3835fb3b41af76292126f58cea6229d55e092503c69ad03964148c7d5 +DIST jgrf-1.0.2.tar.bz2 297837 BLAKE2B 1119f3b11ec4d64eda775ca39a13f1c6873dfa06b206229e12edf1790b8abb5ebf6b9161dd11fd735e9e3745c9c4bb7fc3a9e44523a65be8bd2ca139d0ccc14f SHA512 75b4c8fe8b142a144eccdcbbb763c78c091f869d3411caa127a8c319af1c37cd1157f63a2ee28945f4dc1c5b7b465b15a9c7fdeb23e03bb7d7441e8caa16b435 diff --git a/games-emulation/jgrf/jgrf-1.0.2.ebuild b/games-emulation/jgrf/jgrf-1.0.2.ebuild new file mode 100644 index 000000000000..b52af23a4df0 --- /dev/null +++ b/games-emulation/jgrf/jgrf-1.0.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs xdg + +DESCRIPTION="The Jolly Good Reference Frontend" +HOMEPAGE="https://jgemu.gitlab.io/jgrf.html" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/jgemu/${PN}.git" +else + SRC_URI="https://gitlab.com/jgemu/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64" +fi + +LICENSE="BSD CC0-1.0 MIT ZLIB" +SLOT="1" + +DEPEND=" + dev-libs/miniz + dev-libs/openssl:0=[-bindist(-)] + media-libs/jg:1= + media-libs/libepoxy[egl] + media-libs/libsdl2[opengl,sound,video] + media-libs/speexdsp +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + PREFIX="${EPREFIX}"/usr \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + USE_EXTERNAL_MD5=1 \ + USE_EXTERNAL_MINIZ=1 +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + USE_EXTERNAL_MD5=1 \ + USE_EXTERNAL_MINIZ=1 +} |