This package should be renamed to openmpt-bin (and provides=("openmpt=${pkgver}"), conflicts=("openmpt"), replaces=("openmpt<=1.31.12.00")) since it contains precompiled binaries.
Regards!
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/openmpt.git (read-only, click to copy) |
|---|---|
| Package Base: | openmpt |
| Description: | Open-source audio module tracker |
| Upstream URL: | https://openmpt.org/ |
| Keywords: | tracker |
| Licenses: | BSD |
| Submitter: | andrewlin16 |
| Maintainer: | andrewlin16 |
| Last Packager: | andrewlin16 |
| Votes: | 16 |
| Popularity: | 0.000408 |
| First Submitted: | 2015-08-17 21:51 (UTC) |
| Last Updated: | 2026-05-30 04:06 (UTC) |
This package should be renamed to openmpt-bin (and provides=("openmpt=${pkgver}"), conflicts=("openmpt"), replaces=("openmpt<=1.31.12.00")) since it contains precompiled binaries.
Regards!
Might I suggest using icoextract during build to get the icon for the .desktop file from OpenMPT.exe? The actual application icon and the file thumbnail icon have diverged quite a bit and it feels a bit weird now to see the file icon being used for the application itself.
@bemxio: Sure I will take a look at it when I have the chance.
Could you please modify the /usr/bin script to make its own Wine prefix instead?
The Wine package guidelines recommend that approach, and OpenMPT's settings would be written in the seperate prefix too.
I've written a basic one, feel free to use it if you'd like!
#!/bin/bash
export WINEARCH=win32 WINEPREFIX="$HOME/.openmpt/wine"
if [ ! -d "$HOME/.openmpt" ]; then
# create the directory for the wine prefix
mkdir -p "$HOME/.openmpt/wine" || exit 1
# make a symlink to the executable
ln -s /usr/share/openmpt/OpenMPT.exe "$HOME/.openmpt/openmpt" || exit 1
fi
WINEDEBUG=-all wine "$HOME/.openmpt/openmpt" "$@"
@JackMacWindows: Thanks for bringing this to my attention. Looks like this was reported upstream and fixed in the test build: https://bugs.openmpt.org/view.php?id=1580#c5137
I pushed a new pkgrel version that applies the hotfix described in the comment there.
The latest update appears to have a bug in the Wine compatibility layer's source code that prevents it from compiling:
misc/mptOS.cpp: In function ‘mpt::mptx::osinfo::windows::Version OpenMPT::mpt::OS::Windows::Version::GetMinimumAPILevel()’:
misc/mptOS.cpp:172:54: error: ‘constexpr mpt::mptx::osinfo::windows::Version::Version()’ is private within this context
172 | return mpt::osinfo::windows::Version();
| ^
In file included from misc/mptOS.h:17,
from misc/mptOS.cpp:12:
src/mpt/osinfo/windows_version.hpp:101:19: note: declared private here
101 | constexpr Version() noexcept
|
This can be fixed by using sudo vim /usr/share/openmpt/openmpt-wine-integration.zip to open the zip file, select src/mpt/osinfo/windows_version.hpp, and on line 100 above Version(), replace private: with public:. Then :wq, :q to save and quit, and relaunch OpenMPT to compile the new changes.
@oskenso: I can't reproduce your issue on a fresh Arch VM install. Searching around, it seems you might want to try updating your system and trying again (e.g. https://www.reddit.com/r/archlinux/comments/q1lbqe/imagemagick_error_after_arch_update/).
I'm getting an error when trying to cleanbuild, i'm using libraqm 0.9.0-1 from extra/libraqm
inflating: openmpt-1.30.03.00/ReleaseNotesImages/1.30/sample_timeline.png
inflating: openmpt-1.30.03.00/ReleaseNotesImages/modplug.png
convert: symbol lookup error: /usr/lib/libraqm.so.0: undefined symbol: FT_Get_Transform
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: openmpt
Oops, fixed by adding unzip to makedepends and bumped pkgrel up to 3. Thanks for the heads up!
You added unzip to prepare() but didn't add it to makedepends:
==> Starting prepare()...
/startdir/PKGBUILD: line 35: unzip: command not found
==> ERROR: A failure occurred in prepare().
Aborting...