Skip to content

Commit

Permalink
meshlab: bugfixes and version bump
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 8e83a4b4baa6fbbcfd17f2d86fb5467fde17aa4a
Author: Ingmar Steiner <[email protected]>
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 <[email protected]>
Date:   Mon Feb 16 15:22:42 2015 +0100

    meshlab: update to v1.3.3

commit 32f1cee686c0c67e5335fd3a0a74dfef21639cb0
Author: Ingmar Steiner <[email protected]>
Date:   Mon Feb 16 15:20:03 2015 +0100

    meshlab: fix hard-coded version string in URL

commit ca0fedac445140453faac5e29d52e2c76fe19215
Author: Ingmar Steiner <[email protected]>
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
  • Loading branch information
psibre committed Feb 17, 2015
1 parent ba04ccd commit 021ef6d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Casks/meshlab.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
cask :v1 => 'meshlab' do
version '1.3.2'
sha256 '4ea9f5d99bf1c55c870fe75919397e6788e441e0dcd564311089eb63f93ec989'
version '1.3.3'
sha256 '7a19583ecd8282e9dc84e827e9e667f2139edd371b5f83a5c3fcbb88cb33923d'

url "http://downloads.sourceforge.net/project/meshlab/meshlab/MeshLab%20v#{version}/MeshLabMac_v132.dmg"
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

0 comments on commit 021ef6d

Please sign in to comment.