X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=79b8cbca0287cf3e640d21a5646c77af84a95fde;hb=dce7552c5e2f64fcf5f58b0c934bb4a01f6cbcf7;hp=a75473b6a210c20a9c9a150f9076f76cf88e059d;hpb=39ec5cd588bf8b49717033d841be689df68537a3;p=libs%2Fgui.git diff --git a/Build b/Build index a75473b..79b8cbc 100644 --- a/Build +++ b/Build @@ -1,23 +1,13 @@ -/* $Id$ */ - 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,22 +23,43 @@ package "mspgbase" require "devil"; }; - feature "opengl" "Include support for OpenGL contexts"; + feature "libpng" "Include libpng support for loading PNG files" + { + default "yes"; + }; + if "with_libpng" + { + require "libpng"; + }; + + 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" @@ -57,4 +68,10 @@ package "mspgbase" source "source/input"; install true; }; + + tarball "@src" + { + source "License.txt"; + source "Changelog.txt"; + }; };