diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest new file mode 100644 index 0000000..dc7aecb --- /dev/null +++ b/games-emulation/melonds/Manifest @@ -0,0 +1 @@ +DIST melonDS-0.8.3.tar.gz 965501 BLAKE2B 6ada01de8942c7ae5ec4a0a48cc76384ac2196f567d67d242d3d81e7c760dd87d76fcb5a33b540b670fd79358ba8e6a9c355d48e8eb08c721dfe33b54e4a9842 SHA512 4fed77abd231812d2f9ddb19a7fe6e808fb8e92035bb2fea220032b7c0a98671b4fd79ef0f7c7c559e92f3d1875ea119afaa581be2edacaa10f4437620eecd76 diff --git a/games-emulation/melonds/melonds-0.8.3.ebuild b/games-emulation/melonds/melonds-0.8.3.ebuild new file mode 100644 index 0000000..fb08129 --- /dev/null +++ b/games-emulation/melonds/melonds-0.8.3.ebuild @@ -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 +} diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild new file mode 100644 index 0000000..fb08129 --- /dev/null +++ b/games-emulation/melonds/melonds-9999.ebuild @@ -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 +} diff --git a/games-emulation/melonds/metadata.xml b/games-emulation/melonds/metadata.xml new file mode 100644 index 0000000..2c7f975 --- /dev/null +++ b/games-emulation/melonds/metadata.xml @@ -0,0 +1,7 @@ + + + + + Arisotura/melonDS + +