-
Notifications
You must be signed in to change notification settings - Fork 9
/
jruby_art.gemspec
44 lines (42 loc) · 2.08 KB
/
jruby_art.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'jruby_art/version'
require 'rake'
Gem::Specification.new do |spec|
spec.name = 'jruby_art'
spec.version = JRubyArt::VERSION
spec.author = 'Martin Prout'
spec.email = 'mamba2928@yahoo.co.uk'
spec.description = <<-DESCRIPTION
JRubyArt-2.5.0+ is a ruby implementation of the processing art framework, with enhanced
functionality. Processing libraries and ruby gems can be used in your sketches.
Features create/run/watch/live modes.
DESCRIPTION
spec.summary = 'Code as Art, Art as Code. Processing and Ruby are meant for each other.'
spec.homepage = 'https://ruby-processing.github.io/JRubyArt/'
spec.post_install_message = "Use 'k9 --install' to install jruby-complete, and 'k9 --check' to check config."
spec.licenses = %w[GPL-3.0 LGPL-2.0]
spec.files = FileList['bin/**/*', 'lib/**/*', 'library/**/*', 'samples/**/*', 'vendors/Rakefile'].exclude(/jar/).to_a
spec.files << "lib/jruby_art-#{JRubyArt::VERSION}.jar"
spec.files << 'lib/gluegen-rt.jar'
spec.files << 'lib/jogl-all.jar'
spec.files << 'lib/gluegen-rt-natives-linux-amd64.jar'
spec.files << 'lib/gluegen-rt-natives-macosx-universal.jar'
# spec.files << 'lib/gluegen-rt-natives-ios-arm64.jar'
spec.files << 'lib/gluegen-rt-natives-windows-amd64.jar'
spec.files << 'lib/jogl-all-natives-linux-amd64.jar'
spec.files << 'lib/jogl-all-natives-macosx-universal.jar'
# spec.files << 'lib/jogl-all-natives-ios-arm64.jar'
spec.files << 'lib/jogl-all-natives-windows-amd64.jar'
spec.files << 'library/pdf/itextpdf-5.5.13.2.jar'
spec.files << 'library/svg/batik-all-1.14.jar'
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5'
spec.add_development_dependency 'minitest', '~> 5.15'
spec.add_runtime_dependency 'rake', '~> 13.0'
spec.requirements << 'A decent graphics card'
spec.requirements << 'java runtime >= 17.0.1+'
end