-
Notifications
You must be signed in to change notification settings - Fork 1
/
propane.gemspec
41 lines (39 loc) · 1.86 KB
/
propane.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'propane/version'
Gem::Specification.new do |gem|
gem.name = 'propane'
gem.version = Propane::VERSION
gem.authors = ['monkstone']
gem.email = ['[email protected]']
gem.licenses = %w[GPL-3.0 LGPL-2.0]
gem.description = <<-EOS
A batteries included version of processing in ruby targetting jdk11+.
EOS
gem.summary = 'ruby implementation of processing-4.0 on linux and windows (64bit only), might work MacOS, needs testing'
gem.homepage = 'https://ruby-processing.github.io/propane/'
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
gem.files << "lib/propane-#{Propane::VERSION}.jar"
gem.files << 'lib/gluegen-rt.jar'
gem.files << 'lib/jogl-all.jar'
gem.files << 'lib/gluegen-rt-natives-linux-amd64.jar'
gem.files << 'lib/gluegen-rt-natives-macosx-universal.jar'
# gem.files << 'lib/gluegen-rt-natives-ios-arm64.jar'
gem.files << 'lib/gluegen-rt-natives-windows-amd64.jar'
gem.files << 'lib/jogl-all-natives-linux-amd64.jar'
gem.files << 'lib/jogl-all-natives-macosx-universal.jar'
# gem.files << 'lib/jogl-all-natives-ios-arm64.jar'
gem.files << 'lib/jogl-all-natives-windows-amd64.jar'
gem.files << 'library/pdf/itextpdf-5.5.13.2.jar'
gem.files << 'library/svg/batik-all-1.14.jar'
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.add_development_dependency 'jruby-openssl', '~> 0.10', '>=0.10.7'
gem.add_development_dependency 'minitest', '~> 5.15'
gem.add_runtime_dependency 'rake', '~> 13.0'
gem.add_runtime_dependency 'arcball', '~> 1.2'
gem.require_paths = ['lib']
gem.platform = 'java'
gem.requirements << 'java runtime >= 17.0.1+'
end