-
Notifications
You must be signed in to change notification settings - Fork 0
/
rubydraw.gemspec
executable file
·60 lines (58 loc) · 1.67 KB
/
rubydraw.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
require 'rubygems'
SPEC = Gem::Specification.new do |spec|
spec.name = "rubydraw"
spec.version = "0.3.2.1"
spec.author = "J. Wostenberg"
spec.summary = "Rubydraw is a high level drawing/graphics library, like Gosu or Rubygame."
spec.description = "
Rubydraw is a high level drawing/game library,
like Gosu or Rubygame.
Dependancies: ruby-sdl-ffi, SDL (not a ruby gem),
and 2DArray."
spec.homepage = "https://github.com/awostenberg/rubydraw"
spec.platform = Gem::Platform::RUBY
spec.require_paths << "lib"
lib_files = %w[
window.rb
flags.rb
surface.rb
image.rb
sound.rb
text.rb
sdl_error.rb
keys.rb
event_queue.rb
events.rb
point.rb
color.rb
rectangle.rb
mouse_state.rb]
example_files = %w[
window_ex.rb
image_ex.rb
ball_catch_game.rb
media/bug.png
media/ball.png
media/bucket.png]
ext_files = %w[
string.rb
object.rb
aliases.rb]
fonts = [
"Georgia",
"Georgia Bold",
"Georgia Italic",
"Georgia Bold Italic",
"Sans Serif",
"Times New Roman",
"Times New Roman Bold",
"Times New Roman Italic",
"Times New Roman Bold Italic"]
lib_files.collect! {|file_name| "lib/rubydraw/" + file_name}
example_files.collect! {|file_name| "examples/" + file_name}
ext_files.collect! {|file_name| "lib/ext/" + file_name}
fonts.collect! {|font_name| "lib/fonts/#{font_name}.ttf"}
spec.files = ["README", "lib/rubydraw.rb", lib_files, example_files, ext_files, fonts].flatten
spec.add_dependency("ruby-sdl-ffi", ">= 0.4")
spec.add_dependency("2DArray", ">= 0.1.0")
end