games-emulation/melonds: add version 0.8.3 and 9999

Package-Manager: Portage-2.3.89, Repoman-2.3.20
This commit is contained in:
XGQT 2020-04-11 00:21:32 +02:00
parent c53fc92003
commit db32e427f2
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A
4 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST melonDS-0.8.3.tar.gz 965501 BLAKE2B 6ada01de8942c7ae5ec4a0a48cc76384ac2196f567d67d242d3d81e7c760dd87d76fcb5a33b540b670fd79358ba8e6a9c355d48e8eb08c721dfe33b54e4a9842 SHA512 4fed77abd231812d2f9ddb19a7fe6e808fb8e92035bb2fea220032b7c0a98671b4fd79ef0f7c7c559e92f3d1875ea119afaa581be2edacaa10f4437620eecd76

View File

@ -0,0 +1,54 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="melonDS"
MY_P="${MY_PN}-${PV}"
inherit cmake-utils desktop xdg-utils
DESCRIPTION="DS emulator, sorta"
HOMEPAGE="http://melonds.kuribo64.net/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_P}"
fi
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="
media-libs/libsdl2[sound,video]
net-libs/libpcap
net-misc/curl
x11-libs/cairo
x11-libs/gtk+:3
"
RDEPEND="
${DEPEND}
"
pkg_postinst() {
xdg_desktop_database_update
elog "You need the following files in order to run melonDS:"
elog "- bios7.bin"
elog "- bios9.bin"
elog "- firmware.bin"
elog "- romlist.bin"
elog "Place them in ~/.config/melonDS"
elog "The romlist.bin file can be found in the /usr/share/melonDS directory"
elog "The rest of those files can be found somewhere in the internet ;-)"
}
pkg_postrm() {
xdg_desktop_database_update
}

View File

@ -0,0 +1,54 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="melonDS"
MY_P="${MY_PN}-${PV}"
inherit cmake-utils desktop xdg-utils
DESCRIPTION="DS emulator, sorta"
HOMEPAGE="http://melonds.kuribo64.net/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_P}"
fi
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="
media-libs/libsdl2[sound,video]
net-libs/libpcap
net-misc/curl
x11-libs/cairo
x11-libs/gtk+:3
"
RDEPEND="
${DEPEND}
"
pkg_postinst() {
xdg_desktop_database_update
elog "You need the following files in order to run melonDS:"
elog "- bios7.bin"
elog "- bios9.bin"
elog "- firmware.bin"
elog "- romlist.bin"
elog "Place them in ~/.config/melonDS"
elog "The romlist.bin file can be found in the /usr/share/melonDS directory"
elog "The rest of those files can be found somewhere in the internet ;-)"
}
pkg_postrm() {
xdg_desktop_database_update
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="gitlab">Arisotura/melonDS</remote-id>
</upstream>
</pkgmetadata>