Removed all code that uses OpenGL from Image.
[io/quag.git] / addons / Font / build.io
blob8228cc03504a6e2315fe67a1f0f1db2b587364ce
1 AddonBuilder clone do(
2 dependsOnLib("freetype")
3 dependsOnHeader("ft2build.h")
4 dependsOnHeader("freetype/config/ftheader.h")
6 if(list("cygwin", "mingw", "windows") contains(platform),
7 dependsOnLib("opengl32")
10 if(platform == "darwin",
11 dependsOnFramework("OpenGL")
14 if(platform == "linux",
15 dependsOnLib("GL")
18 if(platform != "darwin",
19 dependsOnHeader("GL/gl.h")
22 headerSearchPaths foreach(headerSearchPath, appendHeaderSearchPath(headerSearchPath .. "/freetype2"))
24 debs atPut("freetype", "libfreetype6-dev")
25 ebuilds atPut("freetype", "freetype")
26 pkgs atPut("freetype", "freetype")
27 rpms atPut("freetype", "freetype-devel")