i have no idea what to say about this.
This commit is contained in:
Jacob Heider 2024-04-24 18:19:32 -04:00
parent 630d957b85
commit b36f29fe6a
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -27,6 +27,8 @@ build:
ninja-build.org: 1
git-scm.org: 2
invisible-island.net/ncurses: 6
linux:
nixos.org/patchelf: 0
script:
# FIXME: this is an extreme measure, but otherwise swift tries to mix apple's 2008
# ncurses with ours; believe me, i tried many workarounds here.
@ -48,6 +50,11 @@ build:
mv ${NCURSES_INCLUDE}.bak $NCURSES_INCLUDE
fi
if: darwin
# for some reason, fix-elf.ts doesn't catch this:
- run: patchelf --replace-needed {{deps.mujs.com.prefix}}/lib/pkgconfig/../../lib/libmujs.so libmujs.so mpv
working-directory: ${{prefix}}/bin
if: linux
env:
ARGS:
- -Djavascript=enabled