Mercurial > minori
view scripts/osx/deploy_build.sh @ 266:1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
apparently I broke these, and even now the x11 code *still* doesn't want
to work correctly (at least on FreeBSD). half of the PID response codes
are just 0 or the PID for the X server itself... wtf?
maybe dwm just doesn't support the XRes extension, or I'm just stupid.
i don't know.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 11 Apr 2024 22:05:41 -0400 |
parents | 862d0d8619f6 |
children | f31305b9f60a |
line wrap: on
line source
#!/bin/sh # # deploy_build.sh: # run this in your build dir to get a usable app bundle SCRIPT_DIR=$(dirname -- "$0") BUNDLE_NAME="Minori" cp -r "$SCRIPT_DIR/../../rc/sys/osx/$BUNDLE_NAME.app" . mkdir -p "$BUNDLE_NAME.app/Contents/MacOS" cp ".libs/minori" "$BUNDLE_NAME.app/Contents/MacOS/minori" mkdir -p "$BUNDLE_NAME.app/Contents/Frameworks" for i in animia pugixml anitomy; do cp "dep/$i/.libs/lib$i.0.dylib" "$BUNDLE_NAME.app/Contents/Frameworks" install_name_tool -change "/usr/local/lib/lib$i.0.dylib" "@executable_path/../Frameworks/lib$i.0.dylib" "$BUNDLE_NAME.app/Contents/MacOS/minori" done macdeployqt "$BUNDLE_NAME.app"