lwjgl-jars 2.9.0.pre1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/lwjgl-jars.rb +33 -0
- data/lib/lwjgl-jars/version.rb +5 -0
- data/lib/lwjgl.jar +0 -0
- data/lib/lwjgl/jars.rb +7 -0
- data/lib/native/linux/libjinput-linux.so +0 -0
- data/lib/native/linux/libjinput-linux64.so +0 -0
- data/lib/native/linux/liblwjgl.so +0 -0
- data/lib/native/linux/liblwjgl64.so +0 -0
- data/lib/native/linux/libopenal.so +0 -0
- data/lib/native/linux/libopenal64.so +0 -0
- data/lib/native/macosx/libjinput-osx.jnilib +0 -0
- data/lib/native/macosx/liblwjgl.jnilib +0 -0
- data/lib/native/macosx/openal.dylib +0 -0
- data/lib/native/solaris/liblwjgl.so +0 -0
- data/lib/native/solaris/liblwjgl64.so +0 -0
- data/lib/native/solaris/libopenal.so +0 -0
- data/lib/native/solaris/libopenal64.so +0 -0
- data/lib/native/windows/OpenAL32.dll +0 -0
- data/lib/native/windows/OpenAL64.dll +0 -0
- data/lib/native/windows/jinput-dx8.dll +0 -0
- data/lib/native/windows/jinput-dx8_64.dll +0 -0
- data/lib/native/windows/jinput-raw.dll +0 -0
- data/lib/native/windows/jinput-raw_64.dll +0 -0
- data/lib/native/windows/lwjgl.dll +0 -0
- data/lib/native/windows/lwjgl64.dll +0 -0
- data/lwjgl-jars.gemspec +24 -0
- metadata +114 -0
data/.gitignore
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
jruby-1.7.2
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Michael Fairley
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Lwjgl::Jars
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'lwjgl-jars'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install lwjgl-jars
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/lib/lwjgl-jars.rb
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
require "java"
|
2
|
+
require "lwjgl.jar"
|
3
|
+
require 'rbconfig'
|
4
|
+
|
5
|
+
module LWJGLJars
|
6
|
+
def self.os
|
7
|
+
case RbConfig::CONFIG['host_os']
|
8
|
+
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
|
9
|
+
"windows"
|
10
|
+
when /darwin|mac os/
|
11
|
+
"macosx"
|
12
|
+
when /linux/
|
13
|
+
"linux"
|
14
|
+
when /solaris/
|
15
|
+
"solaris"
|
16
|
+
when /bsd/
|
17
|
+
"freebsd"
|
18
|
+
else
|
19
|
+
raise "unknown os: #{host_os.inspect}"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.setup_up_library_path
|
24
|
+
native_path = File.join(File.dirname(__FILE__), "native", os)
|
25
|
+
|
26
|
+
java.lang.System.setProperty("java.library.path", native_path)
|
27
|
+
sys_paths_field = java.lang.ClassLoader.java_class.declared_field("sys_paths")
|
28
|
+
sys_paths_field.accessible = true
|
29
|
+
sys_paths_field.set_value(nil, nil)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
LWJGLJars.setup_up_library_path
|
data/lib/lwjgl.jar
ADDED
Binary file
|
data/lib/lwjgl/jars.rb
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lwjgl-jars.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'lwjgl-jars/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "lwjgl-jars"
|
8
|
+
spec.version = Lwjgl::Jars::VERSION
|
9
|
+
spec.authors = ["Michael Fairley"]
|
10
|
+
spec.email = ["michaelfairley@gmail.com"]
|
11
|
+
spec.description = %q{LWJGL's jars}
|
12
|
+
spec.summary = %q{LWJGL's jars}
|
13
|
+
spec.homepage = "https://github.com/michaelfairley/lwjgl-jars"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.platform = "java"
|
16
|
+
|
17
|
+
spec.files = `git ls-files`.split($/)
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
23
|
+
spec.add_development_dependency "rake"
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lwjgl-jars
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.9.0.pre1
|
5
|
+
prerelease: 6
|
6
|
+
platform: java
|
7
|
+
authors:
|
8
|
+
- Michael Fairley
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-08-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.3'
|
21
|
+
none: false
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
none: false
|
28
|
+
prerelease: false
|
29
|
+
type: :development
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: !binary |-
|
37
|
+
MA==
|
38
|
+
none: false
|
39
|
+
requirement: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: !binary |-
|
44
|
+
MA==
|
45
|
+
none: false
|
46
|
+
prerelease: false
|
47
|
+
type: :development
|
48
|
+
description: LWJGL's jars
|
49
|
+
email:
|
50
|
+
- michaelfairley@gmail.com
|
51
|
+
executables: []
|
52
|
+
extensions: []
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
55
|
+
- ".gitignore"
|
56
|
+
- ".ruby-version"
|
57
|
+
- Gemfile
|
58
|
+
- LICENSE.txt
|
59
|
+
- README.md
|
60
|
+
- Rakefile
|
61
|
+
- lib/lwjgl-jars.rb
|
62
|
+
- lib/lwjgl-jars/version.rb
|
63
|
+
- lib/lwjgl.jar
|
64
|
+
- lib/lwjgl/jars.rb
|
65
|
+
- lib/native/linux/libjinput-linux.so
|
66
|
+
- lib/native/linux/libjinput-linux64.so
|
67
|
+
- lib/native/linux/liblwjgl.so
|
68
|
+
- lib/native/linux/liblwjgl64.so
|
69
|
+
- lib/native/linux/libopenal.so
|
70
|
+
- lib/native/linux/libopenal64.so
|
71
|
+
- lib/native/macosx/libjinput-osx.jnilib
|
72
|
+
- lib/native/macosx/liblwjgl.jnilib
|
73
|
+
- lib/native/macosx/openal.dylib
|
74
|
+
- lib/native/solaris/liblwjgl.so
|
75
|
+
- lib/native/solaris/liblwjgl64.so
|
76
|
+
- lib/native/solaris/libopenal.so
|
77
|
+
- lib/native/solaris/libopenal64.so
|
78
|
+
- lib/native/windows/OpenAL32.dll
|
79
|
+
- lib/native/windows/OpenAL64.dll
|
80
|
+
- lib/native/windows/jinput-dx8.dll
|
81
|
+
- lib/native/windows/jinput-dx8_64.dll
|
82
|
+
- lib/native/windows/jinput-raw.dll
|
83
|
+
- lib/native/windows/jinput-raw_64.dll
|
84
|
+
- lib/native/windows/lwjgl.dll
|
85
|
+
- lib/native/windows/lwjgl64.dll
|
86
|
+
- lwjgl-jars.gemspec
|
87
|
+
homepage: https://github.com/michaelfairley/lwjgl-jars
|
88
|
+
licenses:
|
89
|
+
- MIT
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: !binary |-
|
99
|
+
MA==
|
100
|
+
none: false
|
101
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - !binary |-
|
104
|
+
Pg==
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 1.3.1
|
107
|
+
none: false
|
108
|
+
requirements: []
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 1.8.24
|
111
|
+
signing_key:
|
112
|
+
specification_version: 3
|
113
|
+
summary: LWJGL's jars
|
114
|
+
test_files: []
|