summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2024-03-30 12:10:24 -0700
committerJoonas Niilola <juippis@gentoo.org>2024-04-29 11:45:18 +0300
commit9c976495f729b37a3affee32f5a5886980b10725 (patch)
treebc7405fa460ea113eb3c282e67d56d354d835d71 /games-emulation
parentgames-emulation/jgrf: fix media-libs/libepoxy depend (diff)
downloadgentoo-9c976495f729b37a3affee32f5a5886980b10725.tar.gz
gentoo-9c976495f729b37a3affee32f5a5886980b10725.tar.bz2
gentoo-9c976495f729b37a3affee32f5a5886980b10725.zip
games-emulation/jgrf: add 1.1.0
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/jgrf/Manifest1
-rw-r--r--games-emulation/jgrf/jgrf-1.1.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/games-emulation/jgrf/Manifest b/games-emulation/jgrf/Manifest
index 9d444fe20360..09334e68d8e7 100644
--- a/games-emulation/jgrf/Manifest
+++ b/games-emulation/jgrf/Manifest
@@ -1 +1,2 @@
DIST jgrf-1.0.2.tar.bz2 297837 BLAKE2B 1119f3b11ec4d64eda775ca39a13f1c6873dfa06b206229e12edf1790b8abb5ebf6b9161dd11fd735e9e3745c9c4bb7fc3a9e44523a65be8bd2ca139d0ccc14f SHA512 75b4c8fe8b142a144eccdcbbb763c78c091f869d3411caa127a8c319af1c37cd1157f63a2ee28945f4dc1c5b7b465b15a9c7fdeb23e03bb7d7441e8caa16b435
+DIST jgrf-1.1.0.tar.bz2 300956 BLAKE2B a9bdacfb1713a20eaf78794f149773ba19c594941e7fe793d67d1c1a7f86bb8e5911ba92e35ac2a3bbef2c00009b478038fb93636d0a36f567596d44d4bfa7f0 SHA512 4fb96c9fea7bca818b44870bbb69cdb0c062739766d82793909228ba43d3b3be0c1ecfbad8fb2b18e445ae5a0c3958141bbc16726b97a4d3eaef596e94af88b7
diff --git a/games-emulation/jgrf/jgrf-1.1.0.ebuild b/games-emulation/jgrf/jgrf-1.1.0.ebuild
new file mode 100644
index 000000000000..64d0d2963deb
--- /dev/null
+++ b/games-emulation/jgrf/jgrf-1.1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2024 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 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="BSD CC0-1.0 MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+ dev-libs/miniz
+ dev-libs/openssl:0=
+ 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
+}