Removed all code that uses OpenGL from Image.
[io/quag.git] / addons / OpenGL / build.io
blob9c91736fc1082b6749febb97cca4b705580636ad
1 AddonBuilder clone do(
2 if(list("cygwin", "mingw") contains(platform),
3 dependsOnLib("winmm")
4 dependsOnLib("glu32")
5 dependsOnLib("glut32")
6 dependsOnLib("opengl32")
9 if(platform == "windows",
10 dependsOnSysLib("glut32")
11 dependsOnSysLib("opengl32")
14 if(platform == "darwin",
15 dependsOnFramework("GLUT")
16 dependsOnFramework("OpenGL")
17 dependsOnFramework("Carbon")
18 dependsOnFramework("Foundation")
21 if(list("linux", "netbsd") contains(platform),
22 dependsOnLib("GL")
23 dependsOnLib("GLU")
24 dependsOnLib("glut")
27 if (platform != "darwin" and platform != "windows",
28 dependsOnHeader("GL/gl.h")
29 dependsOnHeader("GL/glu.h")
30 dependsOnHeader("GL/glut.h")
33 dependsOnBinding("Box")
34 dependsOnBinding("Image")
36 debs atPut("GL", "libgl1-mesa-dev")
37 ebuilds atPut("GL", "mesa")
38 rpms atPut("GL", "Mesa-devel")
40 debs atPut("GLU", "libglu1-mesa-dev")
41 ebuilds atPut("GLU", "mesa")
42 rpms atPut("GLU", "Mesa-devel")
44 debs atPut("glut", "freeglut3-dev")
45 ebuilds atPut("glut", "media-libs/glut")
46 pkgs atPut("glut", "glut")
47 rpms atPut("glut", "Mesa-devel")