From 589e12bce2c8e643de709b7b0c86ec0b38d25641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 7 Sep 2020 00:15:18 +0200 Subject: [PATCH] games-emulation/melonds: bump to 0.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.5, Repoman-2.3.23 Signed-off-by: Maciej Barć --- games-emulation/melonds/Manifest | 1 + games-emulation/melonds/melonds-0.9.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 games-emulation/melonds/melonds-0.9.ebuild diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest index dc7aecb..cc555a3 100644 --- a/games-emulation/melonds/Manifest +++ b/games-emulation/melonds/Manifest @@ -1 +1,2 @@ DIST melonDS-0.8.3.tar.gz 965501 BLAKE2B 6ada01de8942c7ae5ec4a0a48cc76384ac2196f567d67d242d3d81e7c760dd87d76fcb5a33b540b670fd79358ba8e6a9c355d48e8eb08c721dfe33b54e4a9842 SHA512 4fed77abd231812d2f9ddb19a7fe6e808fb8e92035bb2fea220032b7c0a98671b4fd79ef0f7c7c559e92f3d1875ea119afaa581be2edacaa10f4437620eecd76 +DIST melonDS-0.9.tar.gz 899619 BLAKE2B 4a3fe0c8ca1cce9ed823f74eaf58786f8847b62e0e25d5f0e97b1cc0e68754b61a09b5e9b790264549377011dd899447fbe715ca2831320a903d70e24953b3dd SHA512 7d65058f9140c1bbcdc17d32aee62625023dba8c3c45665486c8a3dbec551ca109831949716eadb8048921464d4a6543698b741835b32cc95a96f5b5cf885e04 diff --git a/games-emulation/melonds/melonds-0.9.ebuild b/games-emulation/melonds/melonds-0.9.ebuild new file mode 100644 index 0000000..21dd23a --- /dev/null +++ b/games-emulation/melonds/melonds-0.9.ebuild @@ -0,0 +1,63 @@ +# 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 eutils xdg cmake + +DESCRIPTION="Nintendo 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=" + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + media-libs/libsdl2[sound,video] + net-libs/gnutls + net-libs/libpcap + net-libs/libslirp + net-misc/curl + x11-libs/cairo + x11-libs/gtk+:3 +" +RDEPEND=" + ${DEPEND} +" + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_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 + xdg_icon_cache_update +}