Sha256: 1b3d9ad6bd8a33b251e5747bfc8625a593ec0d7ec0ca0b00b8a5bf902d7483e9

Contents?: true

Size: 787 Bytes

Versions: 14

Compression:

Stored size: 787 Bytes

Contents

# -*- ruby -*-

require './../glib2/lib/gnome2-raketask'

package = GNOME2Package.new do |_package|
  _package.summary = "Ruby/GTK2 is a Ruby binding of GTK+-2.x."
  _package.description = "Ruby/GTK2 is a Ruby binding of GTK+-2.x."
  _package.dependency.gem.runtime = ["atk",
                                     "pango",
                                     "gdk_pixbuf2"]
  _package.win32.packages = ["gtk+"]
  _package.win32.dependencies = []
end
package.define_tasks

namespace :win32 do
  desc "create default gtkrc"
  task :gtkrc do
    gtkrc_path = File.join("vendor", "local", "etc", "gtk-2.0", "gtkrc")
    mkdir_p(File.dirname(gtkrc_path))
    File.open(gtkrc_path, "w") do |gtkrc|
      gtkrc.puts('gtk-theme-name = "MS-Windows"')
    end
  end
  task :download => :gtkrc
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gtk2-1.0.3-x86-mingw32 Rakefile
gtk2-1.0.3 Rakefile
gtk2-1.0.2-x86-mingw32 Rakefile
gtk2-1.0.2 Rakefile
gtk2-1.0.1 Rakefile
gtk2-1.0.1-x86-mingw32 Rakefile
gtk2-1.0.0-x86-mingw32 Rakefile
gtk2-1.0.0 Rakefile
gtk2-0.90.9 Rakefile
gtk2-0.90.9-x86-mingw32 Rakefile
gtk2-0.90.8-x86-mingw32 Rakefile
gtk2-0.90.8 Rakefile
gtk2-0.90.7-x86-mingw32 Rakefile
gtk2-0.90.7 Rakefile