-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpicrate.gemspec
40 lines (38 loc) · 1.75 KB
/
picrate.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'picrate/version'
Gem::Specification.new do |gem|
gem.name = 'picrate'
gem.version = PiCrate::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, for raspberrypi and
linux. Install samples to configures geany ide.
EOS
gem.summary = 'ruby implementation of processing-3 on raspberrypi and linux64'
gem.homepage = 'https://ruby-processing.github.io/PiCrate/'
gem.post_install_message = "Use 'picrate --install' to config geany & install samples"
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
gem.files << "lib/picrate-#{PiCrate::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-linux-armv6hf.jar'
gem.files << 'lib/gluegen-rt-natives-linux-aarch64.jar'
gem.files << 'lib/jogl-all-natives-linux-amd64.jar'
gem.files << 'lib/jogl-all-natives-linux-armv6hf.jar'
gem.files << 'lib/jogl-all-natives-linux-aarch64.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 '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+'
end