From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 458F115813A for ; Sun, 12 Jan 2025 21:54:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 765D7E0801; Sun, 12 Jan 2025 21:54:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CDE0E0801 for ; Sun, 12 Jan 2025 21:54:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91EF8340C76 for ; Sun, 12 Jan 2025 21:54:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFBC42082 for ; Sun, 12 Jan 2025 21:54:46 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1736718883.0f05faf24ee57553910d5fafe1eddcb6d0438bb0.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/melonds/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/melonds/Manifest games-emulation/melonds/melonds-1.0_rc.ebuild X-VCS-Directories: games-emulation/melonds/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 0f05faf24ee57553910d5fafe1eddcb6d0438bb0 X-VCS-Branch: master Date: Sun, 12 Jan 2025 21:54:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cfb4d7b0-570a-47c7-983c-89a20fab8f90 X-Archives-Hash: da6824eec53b7c0ebcc4d5e380984e06 commit: 0f05faf24ee57553910d5fafe1eddcb6d0438bb0 Author: Maciej Barć gentoo org> AuthorDate: Sun Jan 12 20:00:28 2025 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Jan 12 21:54:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f05faf2 games-emulation/melonds: bump to 1.0_rc Signed-off-by: Maciej Barć gentoo.org> games-emulation/melonds/Manifest | 1 + games-emulation/melonds/melonds-1.0_rc.ebuild | 92 +++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest index 5af1950008b6..793f86ba9ac5 100644 --- a/games-emulation/melonds/Manifest +++ b/games-emulation/melonds/Manifest @@ -1 +1,2 @@ DIST melonDS-0.9.5_p20241113.tar.gz 3410057 BLAKE2B 6c4e5e8aa1a519a11308d42168c22d6fde8176fe46e96d00edcc34112e16d65aad77d1925b9f1966c198035cccae092902428081f1cf56d40eac30c369477433 SHA512 25b18547899e18e915cfdc0c437472fb39eeac520c478e232783fc5d57430e84b2cd0be1b2bcddfe9f5132877c8278ebb29893e7a104d7731974aa5e44f79914 +DIST melonds-1.0_rc.gh.tar.gz 3594949 BLAKE2B cb4cc8e8d38bc544084c8a22aeba1a6284ef36ed808a84c890a8bcc946bce3fa27622ef965f48bed2808b12e9727b4df21d1e31b1c8ed0ce1ee9a24955d2de5b SHA512 3b7efe02be2aa058a3364c52f20ee528cea70940f9d81c4db5c936da8bf46226a2eadfa7b65c5acbf0dc8253b8108995cf0b55d79f0c70bf6222ac14c9e6e382 diff --git a/games-emulation/melonds/melonds-1.0_rc.ebuild b/games-emulation/melonds/melonds-1.0_rc.ebuild new file mode 100644 index 000000000000..0c99dd96ef21 --- /dev/null +++ b/games-emulation/melonds/melonds-1.0_rc.ebuild @@ -0,0 +1,92 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +REAL_PN="melonDS" +REAL_PV="${PV/_rc/rc}" +REAL_P="${REAL_PN}-${REAL_PV}" + +inherit cmake 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/${REAL_PN}" +else + SRC_URI="https://github.com/Arisotura/${REAL_PN}/archive/${REAL_PV}.tar.gz + -> ${P}.gh.tar.gz" + S="${WORKDIR}/${REAL_P}" + + KEYWORDS="~amd64" +fi + +LICENSE="BSD-2 GPL-2 GPL-3 Unlicense" +SLOT="0" +IUSE="+jit +opengl wayland" + +RDEPEND=" + app-arch/libarchive[zstd] + dev-qt/qtbase:6[network,opengl,widgets] + dev-qt/qtmultimedia:6 + dev-qt/qtsvg:6 + media-libs/libsdl2[sound,video] + net-libs/enet:= + net-libs/libpcap + net-libs/libslirp + x11-libs/libxkbcommon + 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_configure() { + local -a mycmakeargs=( + -DBUILD_SHARED_LIBS="OFF" + -DUSE_SYSTEM_LIBSLIRP="ON" + + -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 +}