diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /games-emulation/melonds | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'games-emulation/melonds')
-rw-r--r-- | games-emulation/melonds/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/melonds/melonds-0.9.3-r1.ebuild | 88 | ||||
-rw-r--r-- | games-emulation/melonds/melonds-9999.ebuild | 88 | ||||
-rw-r--r-- | games-emulation/melonds/metadata.xml | 13 |
4 files changed, 193 insertions, 0 deletions
diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest new file mode 100644 index 000000000000..9d39cc77afed --- /dev/null +++ b/games-emulation/melonds/Manifest @@ -0,0 +1,4 @@ +DIST melonDS-0.9.3.tar.gz 2241325 BLAKE2B 0ea7fbcce039a60a0553ae45d11f0b1550bfec2300faf1c99c3ee531bd5949c7293bec187fbf53e400bbb6280df29db141b2d1bcb294a8abf2eabb71993db686 SHA512 37f26f3a9784873ce1664645cea70049725367f5fe62f7c58842ebd5da2c73ffe423695dddb0ffd444bdf59df2a3fcd778cdf95b2bb083014b961fed282953f5 +EBUILD melonds-0.9.3-r1.ebuild 1687 BLAKE2B e9877ebda5bfdabec8d913096c93719474220b615c73ddeb2c905464d035cf05889399cf938cf137670c1485bd957beca7b11663d3df3a30281fcaba6c926f35 SHA512 142b857f3f5daee2031367d4bfe6bd96531f88f7a7aca5f7b5a3067e08c880576418d4533c120fab75a9a96a34cca61799db33301cfd3b46c701efb8ce4d1520 +EBUILD melonds-9999.ebuild 1687 BLAKE2B e9877ebda5bfdabec8d913096c93719474220b615c73ddeb2c905464d035cf05889399cf938cf137670c1485bd957beca7b11663d3df3a30281fcaba6c926f35 SHA512 142b857f3f5daee2031367d4bfe6bd96531f88f7a7aca5f7b5a3067e08c880576418d4533c120fab75a9a96a34cca61799db33301cfd3b46c701efb8ce4d1520 +MISC metadata.xml 403 BLAKE2B a0a5d196ff90c5af9d9b2b0d9f2bf7a438f010a6e0b3a655828b0fc13030e33fc383e04cf5aadc1304ffd291d5c0248dde272757e4b66c15a24cb183a87e846c SHA512 2fd669c060bbccdcad40584fd8d949521d162281fabef1b1e258a200e9b3741fd8a55f69dd79542f4253bae5c5662984874644b8251c02e43a61f18cee224537 diff --git a/games-emulation/melonds/melonds-0.9.3-r1.ebuild b/games-emulation/melonds/melonds-0.9.3-r1.ebuild new file mode 100644 index 000000000000..0d497e9b94fc --- /dev/null +++ b/games-emulation/melonds/melonds-0.9.3-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# NOTICE: +# melonds bundles teakra, its upstream haven't had a release since 2020 + +EAPI=8 + +MY_PN="melonDS" +MY_P="${MY_PN}-${PV}" + +inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg + +DESCRIPTION="Nintendo DS emulator, sorta" +HOMEPAGE=" + http://melonds.kuribo64.net + https://github.com/Arisotura/melonDS +" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git" +else + SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${MY_P}" +fi + +IUSE="+jit +opengl" +LICENSE="BSD-2 GPL-2 GPL-3 Unlicense" +SLOT="0" + +DEPEND=" + app-arch/libarchive + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + media-libs/libsdl2[sound,video] + net-libs/libpcap + net-libs/libslirp + opengl? ( media-libs/libepoxy ) +" +RDEPEND="${DEPEND}" + +# used for JIT recompiler +QA_EXECSTACK="usr/bin/melonDS" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="You need the following files in order to run melonDS: +- bios7.bin +- bios9.bin +- firmware.bin +- romlist.bin +Place them in ~/.config/melonDS +Those files can be found somewhere on the Internet ;-)" + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_JIT=$(usex jit) + -DENABLE_OGLRENDERER=$(usex opengl) + ) + cmake_src_configure +} + +src_compile() { + tc-export AR + cmake_src_compile +} + +src_install() { + # install teakra + dolib.so "${BUILD_DIR}/src/teakra/src/libteakra.so" + + cmake_src_install + + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + + readme.gentoo_print_elog +} diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild new file mode 100644 index 000000000000..0d497e9b94fc --- /dev/null +++ b/games-emulation/melonds/melonds-9999.ebuild @@ -0,0 +1,88 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# NOTICE: +# melonds bundles teakra, its upstream haven't had a release since 2020 + +EAPI=8 + +MY_PN="melonDS" +MY_P="${MY_PN}-${PV}" + +inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg + +DESCRIPTION="Nintendo DS emulator, sorta" +HOMEPAGE=" + http://melonds.kuribo64.net + https://github.com/Arisotura/melonDS +" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git" +else + SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${MY_P}" +fi + +IUSE="+jit +opengl" +LICENSE="BSD-2 GPL-2 GPL-3 Unlicense" +SLOT="0" + +DEPEND=" + app-arch/libarchive + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + media-libs/libsdl2[sound,video] + net-libs/libpcap + net-libs/libslirp + opengl? ( media-libs/libepoxy ) +" +RDEPEND="${DEPEND}" + +# used for JIT recompiler +QA_EXECSTACK="usr/bin/melonDS" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="You need the following files in order to run melonDS: +- bios7.bin +- bios9.bin +- firmware.bin +- romlist.bin +Place them in ~/.config/melonDS +Those files can be found somewhere on the Internet ;-)" + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_JIT=$(usex jit) + -DENABLE_OGLRENDERER=$(usex opengl) + ) + cmake_src_configure +} + +src_compile() { + tc-export AR + cmake_src_compile +} + +src_install() { + # install teakra + dolib.so "${BUILD_DIR}/src/teakra/src/libteakra.so" + + cmake_src_install + + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + + readme.gentoo_print_elog +} diff --git a/games-emulation/melonds/metadata.xml b/games-emulation/melonds/metadata.xml new file mode 100644 index 000000000000..598e25db79ba --- /dev/null +++ b/games-emulation/melonds/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Arisotura/melonDS/issues</bugs-to> + <remote-id type="github">Arisotura/melonDS</remote-id> + </upstream> +</pkgmetadata> |