diff options
Diffstat (limited to 'games-emulation/melonds')
-rw-r--r-- | games-emulation/melonds/Manifest | 6 | ||||
-rw-r--r-- | games-emulation/melonds/melonds-0.9.5-r5.ebuild (renamed from games-emulation/melonds/melonds-0.9.5-r4.ebuild) | 12 | ||||
-rw-r--r-- | games-emulation/melonds/melonds-0.9.5_p20231231.ebuild | 90 | ||||
-rw-r--r-- | games-emulation/melonds/melonds-9999.ebuild | 12 |
4 files changed, 108 insertions, 12 deletions
diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest index cbfbaf047326..7e2c65baaa81 100644 --- a/games-emulation/melonds/Manifest +++ b/games-emulation/melonds/Manifest @@ -1,6 +1,8 @@ AUX melonds-0.9.5-DSi_Camera-algorithm.patch 777 BLAKE2B e87bc449a06bd3ad0bbb8e20d2c0f06c1a9ad4b27b24143b96f6a41e9e1b0f1579c22a170627b382911d20c52402bd2662952dba7284632e4d00e27bd04cb5d9 SHA512 73ccfa611f23540948fb6ae010a947df521daafbd3756a23f2e93d5a59b5cd9e04c9b59f40143b69b112e4300825b458b0e0581b2cdda355d85a3fef28df2aeb AUX melonds-0.9.5-no-ccache-detection.patch 397 BLAKE2B f9c2bc08860c2894d9ef3dec6630031760142edbaa2d3b72baa980c8201929fedf98268fa35552eb81e087e5a08622dd7f28b2c7a6eaa6bb33eace7684c67779 SHA512 bccaeab238c0c343d1019e7b1b55804a4a15e0c67a07ce9d97f24491df0b8ff0405b89f628fb58304febd1b3c1fb4ff13639b4e854bfff1bbfe244b54071d9c8 DIST melonDS-0.9.5.tar.gz 2496704 BLAKE2B ac6b75a74df266c6220a15c8775969f19bd6ef19946c913d49b642aa797ca6dc4cd956e7a840fbdbf572a9178a214314549cfe3fc4617a4f0f3877850c6818cd SHA512 115cf04e4e22a20016ac4f2946aef917e5c9566b1a5f18599f7b7c47b0ac71e3645157a8a21622ab83683848c57ab25e6d6fcff0df559087b56642d99ffe40ec -EBUILD melonds-0.9.5-r4.ebuild 1783 BLAKE2B 3795b076566d9eda60778b605b0d725893ee34011ae420960a72909edffaf2b2388294c28a4819200a30618bebc46914fb6a4c3b31e59e96c1f87763900d9fcb SHA512 c626a807953a62d7c51a026f8b2f31e5caecaa5f511a68dcf4a5f291da519eedc4c91d3df5df6382c16b36ecb221d9449780c146445daa7731414a42c6dd3ac4 -EBUILD melonds-9999.ebuild 1727 BLAKE2B 58bb370b9f16a7d2d8f72f692692726cc0db3f08e5cc3858148dd254753ec30f1236be965df95eabf571616549e9580f44041e9f32cc9f06532e65a9a8a92e2e SHA512 e8d1f5b746943f6156ca82ff3c5cb471c72a3973d81e097a5ab2b429d6a884e8b63dee18f939e2fe6c8e75daaae4bad4fa87f87b2b82eae51938b44f42347202 +DIST melonDS-0.9.5_p20231231.tar.gz 3103695 BLAKE2B 36923cf1e7faf58a05eeac2152faf4ac6387a932fc7accf4be339c752171c6e2d6d7a61d5c9de40e02163a5552701c2f313da85515380e529188260b633445dc SHA512 fe99a37ba347eb6aed470d7b93e4ddbcb32ae81045d64509441ce0fa3b08da31d32b42fef7aca5f01556ae7321fb534ebc369f091e1a8852f4a45eaa7bd941a1 +EBUILD melonds-0.9.5-r5.ebuild 1816 BLAKE2B c2253e5671401c4c9b1e95e5b7501a32e4f02400614483cc66e6aff64b6c7adbf9c9b582c9d635d153646fcc70accdb9a068e54f6744dbd4326631cc10ff4f61 SHA512 3397efd9332d6e45b525b3388cc0bcb415a235ce342f496535373016b5ef1d9b4b5aa0dd7f98be87217687b2277c18d697f62fbaee24036aa9e07d9b4aaa940c +EBUILD melonds-0.9.5_p20231231.ebuild 1856 BLAKE2B 1d70541f2e7f6f669733654ca5ff78f92226d50d14271c26e6a3b8de9ac26df47715ef99408226b78422ffafdf0c05b73d012c5690e4e32f904b10a618c602d3 SHA512 276f9cc1934f5819fa448e4e5d8701e4f7608d4fc33295e7b18de4ca4e5d64458721214f072b9998e150582882bb97bcc10d69e35e36400e4c26a487f8d3e044 +EBUILD melonds-9999.ebuild 1760 BLAKE2B 702d5d42416ba7cfda674c6d27c6cb71b1239b801043f07155e5a32b966f3ad841ad4921c1fd89895b9b4e8f1ca0279469237b8e97c70a60059ad088fb70eb91 SHA512 1f04d14c494669b35e4b8a05a7d12fb5f46fec4e24cfd9f187a1b865bccbaeef83bd40bc0bf9c3b0b394b036ad82e402b5b0451ddaaf051326ce7f2c80e5a786 MISC metadata.xml 404 BLAKE2B e9abe00b5ee8196030846be4e7a9e224c0fb7356f88a39949b219bb7355bcac50f6ca28b299a40f056e5a105903cb156aed77731fb3ed61d2ef88becf35d0dc3 SHA512 6e2926035441d9c93759ad92cb2c026a10d28b8354e90d56361b4afc1aa6e7f0e4bb49900ad9f6025f8f9b7070df5691583074f30620196f1305919bd7cfdbdb diff --git a/games-emulation/melonds/melonds-0.9.5-r4.ebuild b/games-emulation/melonds/melonds-0.9.5-r5.ebuild index 5171a6bad8ec..ae2f49cc74cb 100644 --- a/games-emulation/melonds/melonds-0.9.5-r4.ebuild +++ b/games-emulation/melonds/melonds-0.9.5-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,13 +12,15 @@ DESCRIPTION="Nintendo DS emulator, sorta" HOMEPAGE="http://melonds.kuribo64.net https://github.com/Arisotura/melonDS" -if [[ ${PV} == *9999* ]] ; then +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" - S="${WORKDIR}"/${MY_P} + S="${WORKDIR}/${MY_P}" + KEYWORDS="amd64" fi @@ -60,7 +62,7 @@ DOC_CONTENTS="You need the following files in order to run melonDS: - firmware.bin - romlist.bin Place them in ~/.config/melonDS -Those files can be found somewhere on the Internet ;-)" +Those files can be extracted from devices or found somewhere on the Internet ;-)" src_prepare() { filter-lto @@ -70,7 +72,7 @@ src_prepare() { } src_configure() { - local mycmakeargs=( + local -a mycmakeargs=( -DBUILD_SHARED_LIBS=OFF -DENABLE_JIT=$(usex jit) -DENABLE_OGLRENDERER=$(usex opengl) diff --git a/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild b/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild new file mode 100644 index 000000000000..96f47acd73f9 --- /dev/null +++ b/games-emulation/melonds/melonds-0.9.5_p20231231.ebuild @@ -0,0 +1,90 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="melonDS" +MY_P="${MY_PN}-${PV}" + +[[ "${PV}" == *_p20231231 ]] && COMMIT=8bfc6df8de216eff0be4be1dbe37b19a741bed51 + +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/${COMMIT}.tar.gz + -> ${MY_P}.tar.gz" + S="${WORKDIR}/${MY_PN}-${COMMIT}" + + KEYWORDS="~amd64" +fi + +IUSE="+jit +opengl wayland" +LICENSE="BSD-2 GPL-2 GPL-3 Unlicense" +SLOT="0" + +RDEPEND=" + app-arch/libarchive + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + media-libs/libsdl2[sound,video] + net-libs/libpcap + net-libs/libslirp + wayland? ( dev-libs/wayland ) +" +DEPEND="${RDEPEND}" +BDEPEND="wayland? ( kde-frameworks/extra-cmake-modules:0 )" + +# 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 extracted from devices or found somewhere on the Internet ;-)" + +src_prepare() { + filter-lto + append-flags -fno-strict-aliasing + + cmake_src_prepare +} + +src_configure() { + local -a mycmakeargs=( + -DBUILD_SHARED_LIBS=OFF + -DENABLE_JIT=$(usex jit) + -DENABLE_OGLRENDERER=$(usex opengl) + -DENABLE_WAYLAND=$(usex wayland) + ) + cmake_src_configure +} + +src_compile() { + tc-export AR + cmake_src_compile +} + +src_install() { + readme.gentoo_create_doc + cmake_src_install +} + +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 index 9255b44e2e4f..ff839958a635 100644 --- a/games-emulation/melonds/melonds-9999.ebuild +++ b/games-emulation/melonds/melonds-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,13 +12,15 @@ DESCRIPTION="Nintendo DS emulator, sorta" HOMEPAGE="http://melonds.kuribo64.net https://github.com/Arisotura/melonDS" -if [[ ${PV} == *9999* ]] ; then +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" - S="${WORKDIR}"/${MY_P} + S="${WORKDIR}/${MY_P}" + KEYWORDS="~amd64" fi @@ -51,7 +53,7 @@ DOC_CONTENTS="You need the following files in order to run melonDS: - firmware.bin - romlist.bin Place them in ~/.config/melonDS -Those files can be found somewhere on the Internet ;-)" +Those files can be extracted from devices or found somewhere on the Internet ;-)" src_prepare() { filter-lto @@ -61,7 +63,7 @@ src_prepare() { } src_configure() { - local mycmakeargs=( + local -a mycmakeargs=( -DBUILD_SHARED_LIBS=OFF -DENABLE_JIT=$(usex jit) -DENABLE_OGLRENDERER=$(usex opengl) |