From d603e4585fdc2a3db3c0eda075517098f910a906 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Sun, 28 Jun 2026 17:05:49 -0500 Subject: [PATCH] add: melonDS-nightly (#13464) * add: melonDS-nightly Signed-off-by: Owen-sz * oop Signed-off-by: Owen-sz * oop again Signed-off-by: Owen-sz * smh my head Signed-off-by: Owen-sz --------- Signed-off-by: Owen-sz --- anda/games/melonDS/nightly/anda.hcl | 8 +++ .../melonDS/nightly/melonDS-nightly.spec | 50 +++++++++++++++++++ anda/games/melonDS/nightly/update.rhai | 7 +++ anda/games/melonDS/{ => stable}/anda.hcl | 0 anda/games/melonDS/{ => stable}/melonDS.spec | 0 anda/games/melonDS/{ => stable}/update.rhai | 0 6 files changed, 65 insertions(+) create mode 100644 anda/games/melonDS/nightly/anda.hcl create mode 100644 anda/games/melonDS/nightly/melonDS-nightly.spec create mode 100644 anda/games/melonDS/nightly/update.rhai rename anda/games/melonDS/{ => stable}/anda.hcl (100%) rename anda/games/melonDS/{ => stable}/melonDS.spec (100%) rename anda/games/melonDS/{ => stable}/update.rhai (100%) diff --git a/anda/games/melonDS/nightly/anda.hcl b/anda/games/melonDS/nightly/anda.hcl new file mode 100644 index 0000000000..611237a45a --- /dev/null +++ b/anda/games/melonDS/nightly/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "melonDS-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/games/melonDS/nightly/melonDS-nightly.spec b/anda/games/melonDS/nightly/melonDS-nightly.spec new file mode 100644 index 0000000000..972a86a89a --- /dev/null +++ b/anda/games/melonDS/nightly/melonDS-nightly.spec @@ -0,0 +1,50 @@ +%define debug_package %{nil} + +%global commit 10a173b5536fc75cd93f8a3868349dad963542ef +%global commit_date 20260607 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +%global ver 1.1 + +Name: melonds +Version: %{ver}^%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +Summary: DS emulator, sorta +License: GPL-3.0-or-later +URL: https://melonds.kuribo64.net/ +Source0: https://github.com/melonDS-emu/melonDS/archive/%{commit}/melonDS-%{commit}.tar.gz +Packager: Owen Zimmerman +BuildRequires: cmake +BuildRequires: extra-cmake-modules +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: cmake(Qt6) +BuildRequires: qt6-qtmultimedia-devel +BuildRequires: qt6-qtsvg-devel +BuildRequires: pkgconfig(sdl2) +BuildRequires: pkgconfig(libarchive) +BuildRequires: pkgconfig(libzstd) +BuildRequires: pkgconfig(faad2) +BuildRequires: pkgconfig(libenet) +BuildSystem: cmake + +Provides: melonDS-nightly + +%description +%{summary}. + +%files +%doc README.md +%license LICENSE +%{_bindir}/melonDS +%{_appsdir}/net.kuribo64.melonDS.desktop +%{_hicolordir}/128x128/apps/net.kuribo64.melonDS.png +%{_hicolordir}/16x16/apps/net.kuribo64.melonDS.png +%{_hicolordir}/256x256/apps/net.kuribo64.melonDS.png +%{_hicolordir}/32x32/apps/net.kuribo64.melonDS.png +%{_hicolordir}/48x48/apps/net.kuribo64.melonDS.png +%{_hicolordir}/64x64/apps/net.kuribo64.melonDS.png + +%changelog +* Sat Jun 27 2026 Owen Zimmerman +- Initial commit diff --git a/anda/games/melonDS/nightly/update.rhai b/anda/games/melonDS/nightly/update.rhai new file mode 100644 index 0000000000..051f5949cf --- /dev/null +++ b/anda/games/melonDS/nightly/update.rhai @@ -0,0 +1,7 @@ +rpm.global("ver", gh("melonDS-emu/melonDS")); + +rpm.global("commit", gh_commit("melonDS-emu/melonDS")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/games/melonDS/anda.hcl b/anda/games/melonDS/stable/anda.hcl similarity index 100% rename from anda/games/melonDS/anda.hcl rename to anda/games/melonDS/stable/anda.hcl diff --git a/anda/games/melonDS/melonDS.spec b/anda/games/melonDS/stable/melonDS.spec similarity index 100% rename from anda/games/melonDS/melonDS.spec rename to anda/games/melonDS/stable/melonDS.spec diff --git a/anda/games/melonDS/update.rhai b/anda/games/melonDS/stable/update.rhai similarity index 100% rename from anda/games/melonDS/update.rhai rename to anda/games/melonDS/stable/update.rhai