mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:39:00 +08:00
4af63c6f3e
Fix one of https://github.com/microsoft/vcpkg/issues/32398 issue.
The following error occurs when installing
`libopnmidi[core,pmdwin-emulator,gens-emulator]:x64-linux`.
```
/mnt/vcpkg/buildtrees/libopnmidi/src/v1.5.1-f0b18d03a5.clean/src/chips/pmdwin/op.h:36:8: error: unknown type name ‘inline’
36 | static inline int16_t Limit16(int a)
```
The upstream author has fixed this issue in this
[commit](2324ff2e34
).
However, the upstream has not released a new version for the time being,
so we fixed the issue through patches.
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.
Usage test pass with following triplets:
```
x64-windows
x64-linux
```
61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
{
|
|
"name": "libopnmidi",
|
|
"version": "1.5.1",
|
|
"port-version": 2,
|
|
"description": "libOPNMIDI is a free Software MIDI synthesizer library with OPN2 (YM2612) and OPNA (YM2608) emulation",
|
|
"homepage": "https://github.com/Wohlstand/libOPNMIDI",
|
|
"license": "LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR MIT",
|
|
"dependencies": [
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"default-features": [
|
|
"gens-emulator",
|
|
"mame-ym2608-emulator",
|
|
"mame-ym2612-emulator",
|
|
"midi-sequencer",
|
|
"mus",
|
|
"np2-emulator",
|
|
"nuked-emulator",
|
|
"xmi"
|
|
],
|
|
"features": {
|
|
"gens-emulator": {
|
|
"description": "Build with GENS 2.10 emulator (innacurate, fastest)"
|
|
},
|
|
"gx-emulator": {
|
|
"description": "Build with Genesis Plus GX emulator (experimental)"
|
|
},
|
|
"mame-ym2608-emulator": {
|
|
"description": "Build with MAME YM2608 emulator (well-accurate and fast)"
|
|
},
|
|
"mame-ym2612-emulator": {
|
|
"description": "Build with MAME YM2612 emulator (well-accurate and fast)"
|
|
},
|
|
"midi-sequencer": {
|
|
"description": "Build with embedded MIDI sequencer"
|
|
},
|
|
"mus": {
|
|
"description": "Support for DMX MUS files"
|
|
},
|
|
"np2-emulator": {
|
|
"description": "Build with Neko Project 2 YM2608 emulator (semi-accurate and fast)"
|
|
},
|
|
"nuked-emulator": {
|
|
"description": "Build with Nuked OPN2 emulator (very accurate, needs more CPU power)"
|
|
},
|
|
"pmdwin-emulator": {
|
|
"description": "Build with PMDWin emulator (experimental)"
|
|
},
|
|
"xmi": {
|
|
"description": "Support for AIL XMI files"
|
|
}
|
|
}
|
|
}
|