Ruby GTK3移行後のメインリポジトリ
Revisión | d8669b1c2fc911f32748c705c2dccf028e34def2 (tree) |
---|---|
Tiempo | 2017-06-26 09:02:48 |
Autor | Shyouzou Sugitani <shy@user...> |
Commiter | Shyouzou Sugitani |
add gemspec
@@ -1,3 +1,6 @@ | ||
1 | +Mon June 26 2017 Shyouzou Sugitani <shy@users.osdn.me> | |
2 | + * gemspecを追加. | |
3 | + | |
1 | 4 | Sun April 9 2017 Shyouzou Sugitani <shy@users.osdn.me> |
2 | 5 | * バージョン5.0.3リリース. |
3 | 6 |
@@ -0,0 +1,2 @@ | ||
1 | +#!/usr/bin/env ruby | |
2 | +require 'ninix_main' |
@@ -150,10 +150,9 @@ module Pix | ||
150 | 150 | end |
151 | 151 | |
152 | 152 | def set_shape(cr) |
153 | + return if RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/ | |
153 | 154 | region = Pix.surface_to_region(cr.target.map_to_image) |
154 | - if RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/ | |
155 | - shape_combine_region(nil) | |
156 | - elsif @supports_alpha | |
155 | + if @supports_alpha | |
157 | 156 | input_shape_combine_region(nil) |
158 | 157 | input_shape_combine_region(region) |
159 | 158 | else |
@@ -0,0 +1,39 @@ | ||
1 | +require_relative 'lib/ninix/version' | |
2 | + | |
3 | +Gem::Specification.new do |spec| | |
4 | + spec.name = 'ninix-aya' | |
5 | + spec.version = Version.NUMBER | |
6 | + #spec.date = '' | |
7 | + spec.summary = "Interactive fake-AI Ukagaka-compatible desktop mascot program" | |
8 | + spec.description = <<-EOF | |
9 | + "Ukagaka", also known as "Nanika", is a platform on which provides mascot | |
10 | + characters for the user's desktop. "Ninix" is an Ukagaka-compatible | |
11 | + program, but stop developing for a long time. "Ninix-aya" is derived | |
12 | + from "Ninix" and improved a lot. | |
13 | +EOF | |
14 | + spec.authors = ["Tamito KAJIYAMA", | |
15 | + "MATSUMURA Namihiko", | |
16 | + "Shyouzou Sugitani", | |
17 | + "Shun-ichi TAHARA", | |
18 | + "ABE Hideaki", | |
19 | + "linjian", | |
20 | + "henryhu"] | |
21 | + spec.email = 'shy@users.osdn.me' | |
22 | + spec.files = Dir["lib/*.rb"] | |
23 | + spec.files += Dir['lib/ninix/*.rb'] | |
24 | + spec.files += Dir['lib/ninix/dll/*.rb'] | |
25 | + spec.files += Dir['locale/*/LC_MESSAGES/*.mo'] | |
26 | + spec.bindir = "exe" | |
27 | + spec.executables << 'ninix-aya' | |
28 | + spec.homepage = 'https://ja.osdn.net/projects/ninix-aya/' | |
29 | + spec.license = 'GPL-2.0' | |
30 | + spec.add_runtime_dependency 'narray', '~> 0.6', '>=0.6.1.1' | |
31 | + spec.add_runtime_dependency 'gtk3', '~> 3.1', '>=3.1.0' | |
32 | + #spec.add_runtime_dependency 'gstreamer', '~> 3.1', '>=3.1.0' | |
33 | + spec.add_runtime_dependency 'gettext', '~> 3.2', '>=3.2.2' | |
34 | + spec.add_runtime_dependency 'rubyzip', '~> 1.2', '>=1.2.0' | |
35 | + #spec.add_runtime_dependency 'charlock_holmes', '~> 0.7', '>=0.7.3' | |
36 | + #spec.executables << 'ninix-aya' | |
37 | + spec.required_ruby_version = '~> 2.0' | |
38 | + #spec.requirements << 'Ghosts and Balloon' | |
39 | +end |