From 697b14aee117cee034074b0fc2468c9657680912 Mon Sep 17 00:00:00 2001 From: orbea Date: Tue, 27 Dec 2022 17:05:09 -0800 Subject: media-libs/jg: New package, v1.0.0 Signed-off-by: Sam James --- media-libs/jg/Manifest | 1 + media-libs/jg/jg-1.0.0.ebuild | 28 ++++++++++++++++++++++++++++ media-libs/jg/jg-9999.ebuild | 28 ++++++++++++++++++++++++++++ media-libs/jg/metadata.xml | 23 +++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 media-libs/jg/Manifest create mode 100644 media-libs/jg/jg-1.0.0.ebuild create mode 100644 media-libs/jg/jg-9999.ebuild create mode 100644 media-libs/jg/metadata.xml diff --git a/media-libs/jg/Manifest b/media-libs/jg/Manifest new file mode 100644 index 000000000000..1fcede48ee29 --- /dev/null +++ b/media-libs/jg/Manifest @@ -0,0 +1 @@ +DIST jg-1.0.0.tar.bz2 12540 BLAKE2B 0f50221737a3bf294731e593988f9e6314291b3ab8389610ce0a0b6d8bf870dc49312b3129ff1479fde518ab35aeb47b172022c0630b09903a384a6d95c5ba0c SHA512 183766714279fe9fc30887d92ca533931a9906f53b4b8c2c8032914fa375e5f40f540ba4c2c32569f5ed956f108eb1e483227e42b59fb08fea6872fe9526b4fb diff --git a/media-libs/jg/jg-1.0.0.ebuild b/media-libs/jg/jg-1.0.0.ebuild new file mode 100644 index 000000000000..9f2cd2137949 --- /dev/null +++ b/media-libs/jg/jg-1.0.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Reference Implementation of The Jolly Good API" +HOMEPAGE="https://jgemu.gitlab.io/" +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="ZLIB" +SLOT="1" + +src_compile() { + : # Nothing to do +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} +} diff --git a/media-libs/jg/jg-9999.ebuild b/media-libs/jg/jg-9999.ebuild new file mode 100644 index 000000000000..9f2cd2137949 --- /dev/null +++ b/media-libs/jg/jg-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Reference Implementation of The Jolly Good API" +HOMEPAGE="https://jgemu.gitlab.io/" +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="ZLIB" +SLOT="1" + +src_compile() { + : # Nothing to do +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} +} diff --git a/media-libs/jg/metadata.xml b/media-libs/jg/metadata.xml new file mode 100644 index 000000000000..4525b8490bca --- /dev/null +++ b/media-libs/jg/metadata.xml @@ -0,0 +1,23 @@ + + + + + orbea@riseup.net + orbea + + + proxy-maint@gentoo.org + Proxy Maintainers + + + The Jolly Good API is an emulation focused API for + rshared objects, written in ISO C99. It has been + designed with the goal of simplicity to ensure that + emulator cores are lean and minimalistic, making + them easier to understand. + + + https://gitlab.com/jgemu/jg/-/issues + jgemu/jg + + -- cgit v1.2.3-65-gdbad