X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=a5baddd1fd409ae884cef557d21cff7f791b59f0;hb=5add89fdd5e5e542ae0e93de2fe9d9b2532c1e07;hp=7447df7716604235e67eb5bfbed26c16410b5e40;hpb=5b2c1ec3d21ae3d772354c75a8f522f856958127;p=libs%2Fgui.git diff --git a/Build b/Build index 7447df7..a5baddd 100644 --- a/Build +++ b/Build @@ -2,22 +2,15 @@ package "mspgbase" { - version "1.0"; + version "1.1"; description "Base graphics and input library"; - tar_file "License.txt"; - tar_file "Changelog.txt"; - require "mspcore"; require "mspstrings"; require "sigc++-2.0"; if "arch!=win32" { require "xlib"; - build_info - { - library "Xxf86vm"; - }; }; if "arch=win32" { @@ -33,29 +26,44 @@ package "mspgbase" require "devil"; }; - feature "libpng" "Include libpng support for loading PNG files (also requires libmspio)"; - if "with_png" + feature "libpng" "Include libpng support for loading PNG files (also requires libmspio)" + { + default "yes"; + }; + if "with_libpng" { require "libpng"; require "mspio"; }; - feature "opengl" "Include support for OpenGL contexts"; + feature "opengl" "Include support for OpenGL contexts" + { + default "yes"; + }; if "with_opengl" { require "opengl"; }; - headers "gbase" + feature "xf86vidmode" "Include support for video mode switching with xf86vidmode (not win32)"; + if "with_xf86vidmode and arch!=win32" + { + build_info + { + library "Xxf86vm"; + }; + }; + + headers "msp/gbase" { source "source/gbase"; - install_headers "msp/gbase"; + install true; }; - headers "input" + headers "msp/input" { source "source/input"; - install_headers "msp/input"; + install true; }; library "mspgbase" @@ -64,4 +72,10 @@ package "mspgbase" source "source/input"; install true; }; + + tarball "@src" + { + source "License.txt"; + source "Changelog.txt"; + }; };