mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-18 06:06:50 -06:00
Squashed commit of the following:
commit 8e83a4b4baa6fbbcfd17f2d86fb5467fde17aa4a
Author: Ingmar Steiner <steiner@coli.uni-saarland.de>
Date: Mon Feb 16 16:45:22 2015 +0100
meshlab: fix the case fix
ca0fedac445140453faac5e29d52e2c76fe19215 fixed the meshlab.app for case-sensitive filesystems, but *broke* it on case-insensitive ones! This commit causes that fix to be applied only when necessary, i.e., on case-sensitive filesystems, and leaves the app alone otherwise.
commit e0658e95008db4efdc07133ae13821a9ef64c99f
Author: Ingmar Steiner <steiner@coli.uni-saarland.de>
Date: Mon Feb 16 15:22:42 2015 +0100
meshlab: update to v1.3.3
commit 32f1cee686c0c67e5335fd3a0a74dfef21639cb0
Author: Ingmar Steiner <steiner@coli.uni-saarland.de>
Date: Mon Feb 16 15:20:03 2015 +0100
meshlab: fix hard-coded version string in URL
commit ca0fedac445140453faac5e29d52e2c76fe19215
Author: Ingmar Steiner <steiner@coli.uni-saarland.de>
Date: Mon Feb 16 15:14:23 2015 +0100
meshlab: fix broken app on case-sensitive file systems
workaround is to create a symlink with the case required by the `Info.plist`:
MeshLab -> meshlab
16 lines
571 B
Ruby
16 lines
571 B
Ruby
cask :v1 => 'meshlab' do
|
|
version '1.3.3'
|
|
sha256 '7a19583ecd8282e9dc84e827e9e667f2139edd371b5f83a5c3fcbb88cb33923d'
|
|
|
|
url "http://downloads.sourceforge.net/project/meshlab/meshlab/MeshLab%20v#{version}/MeshLabMac_v#{version.gsub('.','')}.dmg"
|
|
homepage 'http://meshlab.sourceforge.net/'
|
|
license :gpl
|
|
|
|
app 'meshlab.app'
|
|
postflight do
|
|
# workaround for bug which breaks the app on case-sensitive filesystems
|
|
Dir.chdir("#{staged_path}/meshlab.app/Contents/MacOS") do
|
|
File.symlink("meshlab", "MeshLab") unless File.exists? "MeshLab"
|
|
end
|
|
end
|
|
end
|