diff options
author | orbea <orbea@riseup.net> | 2024-02-04 07:17:41 -0800 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-02-23 10:01:26 +0200 |
commit | aa7b732967fbe1a4b632f474fa1534e92bb452a4 (patch) | |
tree | 623290c3cd830f056d58e89d8e8ffa312a92c056 /games-emulation | |
parent | games-emulation/geolith-jg: sync keywords (diff) | |
download | gentoo-aa7b732967fbe1a4b632f474fa1534e92bb452a4.tar.gz gentoo-aa7b732967fbe1a4b632f474fa1534e92bb452a4.tar.bz2 gentoo-aa7b732967fbe1a4b632f474fa1534e92bb452a4.zip |
games-emulation/geolith-jg: add 0.2.1
Signed-off-by: orbea <orbea@riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35182
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/geolith-jg/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/geolith-jg/geolith-jg-0.2.1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/games-emulation/geolith-jg/Manifest b/games-emulation/geolith-jg/Manifest index 6def4d891bdb..a165d5ec9f54 100644 --- a/games-emulation/geolith-jg/Manifest +++ b/games-emulation/geolith-jg/Manifest @@ -1 +1,2 @@ DIST geolith-0.1.0.tar.bz2 245785 BLAKE2B a1a541bdf32da722a095282b4b0f41f6c4d27c9450615842c99a080a61d60c189b0a769812704d30ff0d20ccfbf5c950f01131bed7694dbd5e5814b73390c272 SHA512 94112de9e6f33593365559f275f3d2bcf759346c706c1608e010d60987c4e2337b50dce980a144c25593fe4a0bc4880d9bd955355f2ceed710ab39afcad4e916 +DIST geolith-0.2.1.tar.bz2 336867 BLAKE2B 710d8f48ab2a7edc0891497b645f64a8b3b591e661feeb61b2c1cf85e658d4ca95a7ea7fd28ab69f3673c56601aea3d62d972481351e8c1468fe6eec1b2ca374 SHA512 f1e17745f9bd8e3397ccde0846931b5dc8e65fc55dcf1edaa437bc414d18c20bb4047f1dc005edb5cc612092705ed2f3359c03789c416ad7410919e401b49d7d diff --git a/games-emulation/geolith-jg/geolith-jg-0.2.1.ebuild b/games-emulation/geolith-jg/geolith-jg-0.2.1.ebuild new file mode 100644 index 000000000000..acce54ecab21 --- /dev/null +++ b/games-emulation/geolith-jg/geolith-jg-0.2.1.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 + +MY_PN=${PN%-*} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Jolly Good Neo Geo AES/MVS Emulator" +HOMEPAGE="https://gitlab.com/jgemu/geolith" +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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="BSD MIT" +SLOT="1" + +DEPEND=" + dev-libs/miniz:= + media-libs/jg:1= + media-libs/speexdsp +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + USE_EXTERNAL_MINIZ=1 +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + USE_EXTERNAL_MINIZ=1 +} |