-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #991 from gqrx-sdr/fix-pluto
Fix SoapyPlutoSDR driver on MacOS
- Loading branch information
Showing
3 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,17 @@ mkdir -p Gqrx.app/Contents/Resources | |
</plist> | ||
EOM | ||
|
||
/bin/cat <<EOM >Entitlements.plist | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key> | ||
<true/> | ||
</dict> | ||
</plist> | ||
EOM | ||
|
||
cp build/src/gqrx Gqrx.app/Contents/MacOS | ||
cp resources/icons/gqrx.icns Gqrx.app/Contents/Resources | ||
cp -r /usr/local/lib/SoapySDR/modules* Gqrx.app/Contents/soapy-modules | ||
|
@@ -48,5 +59,5 @@ ln -sf /usr/local/opt/[email protected]/Frameworks/Python.framework /usr/local/opt/pyth | |
|
||
for f in Gqrx.app/Contents/libs/*.dylib Gqrx.app/Contents/soapy-modules/*.so Gqrx.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python Gqrx.app/Contents/Frameworks/*.framework Gqrx.app/Contents/MacOS/gqrx | ||
do | ||
codesign --force --verify --verbose --timestamp --options runtime --sign $IDENTITY $f | ||
codesign --force --verify --verbose --timestamp --options runtime --entitlements Entitlements.plist --sign $IDENTITY $f | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters