summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-12-27 17:05:09 -0800
committerSam James <sam@gentoo.org>2023-01-15 14:16:10 +0000
commit697b14aee117cee034074b0fc2468c9657680912 (patch)
tree0ecdaeba77b0bf1eb0c86a029ebfc1d8c9614d18
parentdev-util/rgbds: New package, v0.6.1 (diff)
downloadgentoo-697b14aee117cee034074b0fc2468c9657680912.tar.gz
gentoo-697b14aee117cee034074b0fc2468c9657680912.tar.bz2
gentoo-697b14aee117cee034074b0fc2468c9657680912.zip
media-libs/jg: New package, v1.0.0
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/jg/Manifest1
-rw-r--r--media-libs/jg/jg-1.0.0.ebuild28
-rw-r--r--media-libs/jg/jg-9999.ebuild28
-rw-r--r--media-libs/jg/metadata.xml23
4 files changed, 80 insertions, 0 deletions
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>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</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>