opengl-bindings 1.5.3 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +65 -0
- data/LICENSE.txt +1 -1
- data/README.md +116 -66
- data/lib/glfw.rb +175 -99
- data/lib/opengl_command.rb +0 -0
- data/lib/opengl_enum.rb +0 -0
- data/lib/opengl_es_command.rb +0 -0
- data/lib/opengl_es_enum.rb +0 -0
- data/lib/opengl_es_ext.rb +0 -0
- data/lib/opengl_es_ext_command.rb +503 -0
- data/lib/opengl_es_ext_enum.rb +229 -0
- data/lib/opengl_ext.rb +0 -0
- data/lib/opengl_ext_command.rb +90 -0
- data/lib/opengl_ext_common.rb +0 -0
- data/lib/opengl_ext_enum.rb +101 -0
- data/lib/opengl_linux.rb +0 -0
- data/lib/opengl_macosx.rb +0 -0
- data/sample/README.md +11 -11
- data/sample/glfw31_build_dylib.sh +0 -0
- data/sample/glfw32_build_dylib.sh +22 -0
- data/sample/report_env.rb +2 -2
- data/sample/report_env_es.rb +0 -0
- data/sample/simple.rb +0 -0
- data/sample/simple_glut.rb +0 -0
- metadata +5 -6
- data/lib/glfw30.rb +0 -509
- data/sample/glfw30_build_dylib.sh +0 -22
@@ -1,22 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# For Mac OS X + Xcode + CMake users.
|
3
|
-
#
|
4
|
-
# Ref.: https://github.com/malkia/ufo/blob/master/build/OSX/glfw.sh
|
5
|
-
#
|
6
|
-
wget http://downloads.sourceforge.net/project/glfw/glfw/3.0.4/glfw-3.0.4.tar.bz2
|
7
|
-
tar xvjf glfw-3.0.4.tar.bz2
|
8
|
-
cd glfw-3.0.4/
|
9
|
-
mkdir build
|
10
|
-
cd build
|
11
|
-
export MACOSX_DEPLOYMENT_TARGET=10.8
|
12
|
-
cmake -D GLFW_NATIVE_API=1 -D CMAKE_OSX_ARCHITECTURES="i386;x86_64" -D BUILD_SHARED_LIBS=ON -D CMAKE_C_COMPILER=clang ../
|
13
|
-
make
|
14
|
-
|
15
|
-
# 'ls -l src/libglfw*' should be:
|
16
|
-
#
|
17
|
-
# $ ls -l src/libglfw*
|
18
|
-
# -rwxr-xr-x 1 foo staff 222008 8 11 22:29 src/libglfw.3.0.dylib
|
19
|
-
# lrwxr-xr-x 1 foo staff 17 8 11 22:29 src/libglfw.3.dylib -> libglfw.3.0.dylib
|
20
|
-
# lrwxr-xr-x 1 foo staff 15 8 11 22:29 src/libglfw.dylib -> libglfw.3.dylib
|
21
|
-
|
22
|
-
cp -R src/libglfw* ../..
|