commit:     697b14aee117cee034074b0fc2468c9657680912
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Dec 28 01:05:09 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 14:16:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697b14ae

media-libs/jg: New package, v1.0.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 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(+)

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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+       <maintainer type="person" proxied="yes">
+               <email>[email protected]</email>
+               <name>orbea</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription>
+               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.
+       </longdescription>
+       <upstream>
+               <bugs-to>https://gitlab.com/jgemu/jg/-/issues</bugs-to>
+               <remote-id type="gitlab">jgemu/jg</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to