Sha256: c8762a87277c83cfea63783455b874cdec5c04e613031075318dac69f5b0b4e2

Contents?: true

Size: 1.84 KB

Versions: 6

Compression:

Stored size: 1.84 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'fox16/version'

SWIG_MODULES = {
  "core.i" => "core_wrap.cpp",
  "dcmodule.i" => "dc_wrap.cpp",
  "dialogs.i" => "dialogs_wrap.cpp",
  "framesmodule.i" => "frames_wrap.cpp",
  "iconlistmodule.i" => "iconlist_wrap.cpp",
  "icons.i" => "icons_wrap.cpp",
  "image.i" => "image_wrap.cpp",
  "labelmodule.i" => "label_wrap.cpp",
  "layout.i" => "layout_wrap.cpp",
  "listmodule.i" => "list_wrap.cpp",
  "mdi.i" => "mdi_wrap.cpp",
  "menumodule.i" => "menu_wrap.cpp",
  "fx3d.i" => "fx3d_wrap.cpp",
  "scintilla.i" => "scintilla_wrap.cpp",
  "table-module.i" => "table_wrap.cpp",
  "text-module.i" => "text_wrap.cpp",
  "treelist-module.i" => "treelist_wrap.cpp",
  "ui.i" => "ui_wrap.cpp"
}

Gem::Specification.new do |spec|
  spec.name          = "fxruby"
  spec.version       = Fox.fxrubyversion
  spec.authors       = ["Lyle Johnson", "Lars Kanis"]
  spec.email         = ["lyle@lylejohnson.name", "lars@greiz-reinsdorf.de"]

  spec.summary       = %q{FXRuby is the Ruby binding to the FOX GUI toolkit.}
  spec.homepage      = "https://github.com/larskanis/fxruby"
  spec.license       = 'LGPL-2.1'

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f=~/^fox-includes|^web/
  end
  spec.files += SWIG_MODULES.values.map{|f| File.join("ext/fox16_c", f) }
  spec.files << 'ext/fox16_c/include/inlinestubs.h'
  spec.files << 'ext/fox16_c/swigruby.h'
  spec.files << 'doap.rdf'
  spec.files << 'lib/fox16/kwargs.rb'

  spec.bindir = "exe"
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]
  spec.extensions = ["ext/fox16_c/extconf.rb"]
  spec.metadata['msys2_mingw_dependencies'] = 'fox'
  spec.required_ruby_version = "~> 2.2"

  spec.add_runtime_dependency 'mini_portile2', '~> 2.1'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fxruby-1.6.42 fxruby.gemspec
fxruby-1.6.42-x64-mingw32 fxruby.gemspec
fxruby-1.6.42-x86-mingw32 fxruby.gemspec
fxruby-1.6.41 fxruby.gemspec
fxruby-1.6.41-x64-mingw32 fxruby.gemspec
fxruby-1.6.41-x86-mingw32 fxruby.gemspec