spatialite-gui 1.7.1
Fix compilation against wxWidgets 3 Closes Homebrew/homebrew#29358.
This commit is contained in:
parent
e8bcaaddb0
commit
7c79f8cd0b
1 changed files with 16 additions and 29 deletions
|
@ -1,40 +1,27 @@
|
|||
require 'formula'
|
||||
require "formula"
|
||||
|
||||
class SpatialiteGui < Formula
|
||||
homepage 'https://www.gaia-gis.it/fossil/spatialite_gui/index'
|
||||
homepage "https://www.gaia-gis.it/fossil/spatialite_gui/index"
|
||||
url "http://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/spatialite_gui-1.7.1.tar.gz"
|
||||
sha1 "3b9d88e84ffa5a4f913cf74b098532c2cd15398f"
|
||||
|
||||
stable do
|
||||
url "http://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/spatialite_gui-1.5.0-stable.tar.gz"
|
||||
sha1 "b8cfe3def8c77928f7c9fcc86bae3c99179fa486"
|
||||
|
||||
# Compatibility fix for wxWidgets 2.9.x. Remove on next release.
|
||||
patch :p0 do
|
||||
url "https://www.gaia-gis.it/fossil/spatialite_gui/vpatch?from=d8416d26358a24dc&to=b5b920d8d654dd0e"
|
||||
sha1 "09d2cd521370e00ab21133902db7a44f1eef30e4"
|
||||
end
|
||||
end
|
||||
|
||||
devel do
|
||||
url 'http://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/spatialite_gui-1.7.1.tar.gz'
|
||||
sha1 '3b9d88e84ffa5a4f913cf74b098532c2cd15398f'
|
||||
|
||||
depends_on 'libxml2'
|
||||
end
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'libspatialite'
|
||||
depends_on 'libgaiagraphics'
|
||||
depends_on 'wxmac'
|
||||
depends_on 'geos'
|
||||
depends_on 'proj'
|
||||
depends_on 'freexl'
|
||||
depends_on 'sqlite'
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "freexl"
|
||||
depends_on "geos"
|
||||
depends_on "libgaiagraphics"
|
||||
depends_on "libspatialite"
|
||||
depends_on "proj"
|
||||
depends_on "sqlite"
|
||||
depends_on "wxmac"
|
||||
|
||||
patch :DATA
|
||||
|
||||
def install
|
||||
# Add aui library; reported upstream multiple times:
|
||||
# https://groups.google.com/forum/#!searchin/spatialite-users/aui/spatialite-users/wnkjK9pde2E/hVCpcndUP_wJ
|
||||
inreplace "configure", "WX_LIBS=\"$(wx-config --libs)\"", "WX_LIBS=\"$(wx-config --libs std,aui)\""
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
system "make install"
|
||||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue