mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Fix the failing bundle signature on Mac
So THAT was why we had moved the plugins... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									bc1a313c9f
								
							
						
					
					
						commit
						40d85b5d63
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -66,7 +66,12 @@ for i in Subsurface.app/Contents/PlugIns/grantlee/5.0/*.so; do
 | 
				
			||||||
	install_name_tool -change ${OLD} @executable_path/../Frameworks/${SONAME} $i;
 | 
						install_name_tool -change ${OLD} @executable_path/../Frameworks/${SONAME} $i;
 | 
				
			||||||
	OLD=$(otool -L $i | grep QtCore | cut -d\  -f1 | tr -d "\t")
 | 
						OLD=$(otool -L $i | grep QtCore | cut -d\  -f1 | tr -d "\t")
 | 
				
			||||||
	install_name_tool -change ${OLD} @executable_path/../Frameworks/QtCore.framework/QtCore $i;
 | 
						install_name_tool -change ${OLD} @executable_path/../Frameworks/QtCore.framework/QtCore $i;
 | 
				
			||||||
 | 
						mv $i Subsurface.app/Contents/PlugIns/grantlee
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					rmdir Subsurface.app/Contents/PlugIns/grantlee/5.0
 | 
				
			||||||
 | 
					pushd Subsurface.app/Contents/PlugIns/grantlee
 | 
				
			||||||
 | 
					ln -s . 5.0
 | 
				
			||||||
 | 
					popd
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# copy things into staging so we can create a nice DMG
 | 
					# copy things into staging so we can create a nice DMG
 | 
				
			||||||
rm -rf ./staging
 | 
					rm -rf ./staging
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue