Package Details: mesen-s-git 0.4.0.r146.g89199f2-1

Git Clone URL: (read-only, click to copy)
Package Base: mesen-s-git
Description: A cross-platform Super Nintendo emulator
Upstream URL:
Licenses: GPL3
Conflicts: mesen-s, mesen-s-bin
Submitter: Nora
Maintainer: Nora
Last Packager: Nora
Votes: 1
Popularity: 0.002952
First Submitted: 2020-04-12 02:40
Last Updated: 2020-09-29 01:11

Latest Comments

ISSOtm commented on 2020-07-03 10:55


I installed the package yesterday, and tried updating it today. It fails when it comes to generating the .desktop file:

==> Starting prepare()...
[Mesen-S]                         Generating desktop file... no
Mesen-S.desktop already exists. Use -f as the first argument to gendesk to overwrite.
==> ERROR: A failure occurred in prepare().

The following fixes such incremental builds:

diff --git a/PKGBUILD b/PKGBUILD
index 7ba484f..5939fc2 100644
@@ -29,7 +29,7 @@ prepare() {
        # Prevent duplicate .desktop from getting created
        sed -i 's/CreateShortcutFile(desktopFile, mimeTypes);//' UI/Config/FileAssociationHelper.cs

-       gendesk --pkgname "${_pkgname}" --pkgdesc "${pkgdesc}" --exec "/usr/bin/mesen-s" -n
+       gendesk --pkgname "${_pkgname}" --pkgdesc "${pkgdesc}" --exec "/usr/bin/mesen-s" -n -f

        # Invoke using mono in a wrapper, since wine (if installed) would open it otherwise
        cat > "${pkgname}" <<-EOT