![]() ![]() There are lots of ways to accomplish these tasks. $ cp /usr/local/opt/icu4c/lib/libicudata.68.dylib strawberry.app/Contents/FrameworksĮt voila! There should be a strawberry-0.9.3-highsierra-x86_64.dmg in the current (build) directory. $ mkdir strawberry.app/Contents/Frameworks $ sed -i '.bak' '/Sparkle/s/^/#/' CMakeFiles/dmg.dir/build.makeīefore the final step, we have to preemptively copy a dylib that doesn't get copied in 'make dmg': Or more simply (assumes 'Sparkle' is a case-sensitive match): We have to patch a file that refers to Sparkle, which we are not using:Īnd comment out the line that copies amework DBUILD_WITH_QT5=ON -DBUILD_WERROR=ON -DUSE_BUNDLE=ON -DSPARKLE=OFF -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake $ export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0 $ export GST_PLUGIN_SCANNER=/usr/local/opt/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner $ export GIO_EXTRA_MODULES=/usr/local/lib/gio/modules $ export Qt5LinguistTools_DIR=/usr/local/opt/qt5/lib/cmake/Qt5LinguistTools $ export Qt5_DIR=/usr/local/opt/qt5/lib/cmake $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig $ sed -i '.bak' 's/QLibraryInfo::path/QLibraryInfo::location/g'. We have to patch some Qt6-specific code to build with Qt5. (We end up in ~/Documents/strawberry/build): $ git clone git:///strawberrymusicplayer/strawberry -branch 0.9.3 Get the strawberry code (to ~/Documents): ![]() SKIP anything in ccpp.yml related to Sparkle. $ xcode-select -s /Application/Xcode-9.4.1.app ![]() Set the active developer directory to Xcode 10.1:Īfter the qt5 build succeeds, go back to Xclode 9.4.1: It will be performed in a later step.ĭo the brew-installs listed in ccpp.yml/build-macos-qt5.īrew install pkgconfig. Link to the line as of this writing:ĭO NOT 'brew install qt5' in the next step. Look for the line that says 'build-macos-qt5'. Refer to strawberry build instructions at github. If you have never run Xcode, do it now to agree to Apple's terms and install some "components." I.e., run, agree, wait until idle, quit. Run the Command Line Tools (macOS 10.13) for Xcode 9.4.1 installer from its dmg. (bash) shell commands are indicated by '$ ' at the beginning of a line.Ī Mac or virtual machine with macOS 10.13.6 installedĬommand Line Tools (macOS 10.13) for Xcode 9.4.1 HOWTO: build Strawberry Music Player for macOS 10.13 (High Sierra)Īdditional notes and links at the end of this. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |