Commit graph

32 commits

Author SHA1 Message Date
Simon Howard
c8596ae74a Add build for zlib.
This is a dependency of libpng.
2016-12-29 19:00:24 +01:00
Simon Howard
35a28545a8 Don't pass --with-sdl-prefix for every module.
Some non-SDL libraries won't like this arg.
2016-12-29 18:59:53 +01:00
Simon Howard
31796ab296 Switch download URL to https. 2016-12-29 18:58:44 +01:00
Simon Howard
9fd14604e5 Use cross-compile cpp, not system cpp, to find libs. 2016-12-29 18:58:03 +01:00
Simon Howard
d75abef070 Bump version number for latest release to 2.3.0. 2016-12-29 18:12:19 +01:00
Simon Howard
f2064a46ba Bump version to 2.2.1. 2015-09-10 22:14:31 -04:00
Simon Howard
67bf4adb32 Fix build on recent Mac OS X.
Recent versions of the OS X SDK remove some of the old Quartz interfaces,
so that SDL no longer builds when using MACOSX_DEPLOYMENT_TARGET=10.4.
Since 10.4 is ancient, bump this up to 10.7 as the oldest supported
version (2011 is a long time ago now), and apply a patch during build
for SDL bug 2085.

Thanks to Linguica for the bug report. This fixes
chocolate-doom/chocolate-doom#584.
2015-07-20 20:31:47 -04:00
Simon Howard
3a6dcb6d0b Update build to 2.2.0. 2015-06-09 23:12:34 -04:00
Simon Howard
57d05990bc Add alternate build script for sdl2-branch. 2014-11-28 14:38:37 -05:00
Simon Howard
8b131081de Update to build v2.1.0. 2014-10-22 00:49:48 -04:00
Simon Howard
c8eec16544 Update usage text for script.
-libsamplerate has been replaced with -extra-libs.
2014-04-07 02:49:51 -04:00
Simon Howard
a686d26171 Add build for extra library dependencies.
Replace the -libsamplerate parameter with -extra-libs, which builds
a number of extra libraries that Chocolate Doom can now make use of:

  libpng
      - so we can save PNG format screenshots
  libogg / libvorbis / libflac
      - for SDL_mixer, so we can play high quality substitute music
        recordings.

Download all these dependencies from chocolate-doom.org so that we
have a reliable central place that they can be obtained; fetching
them from individual websites is bound to just end in tears.
2014-04-07 02:41:02 -04:00
Simon Howard
d2f7fe8dc4 Use Git for build; update to 2.0.0. 2013-12-09 01:38:06 -05:00
Simon Howard
71a0a08523 Update SVN repository URL.
Subversion-branch: /buildscripts
Subversion-revision: 2729
2013-10-28 04:48:33 +00:00
Simon Howard
fe2e2c82ae Roll back to SDL_net 1.2.7; 1.2.8 is broken (SDL bug #1402).
Subversion-branch: /buildscripts
Subversion-revision: 2556
2012-12-24 23:07:59 +00:00
Simon Howard
1803a518c2 Fix build on recent versions of Mac OS X: Adding -lobjc fixes the SDL
autoconf checks. Use SDL_net 1.2.8 rather than 1.2.6 and fix Chocolate
Doom Sourceforge download link.

Subversion-branch: /buildscripts
Subversion-revision: 2548
2012-12-22 23:32:19 +00:00
Simon Howard
f48d71516b Remove .la files after installing libraries, to fix Windows
cross-compile.

Subversion-branch: /buildscripts
Subversion-revision: 2521
2012-09-20 18:47:00 +00:00
Simon Howard
83df610728 Update build script to new version and new Sourceforge download URL.
Subversion-branch: /buildscripts
Subversion-revision: 2512
2012-06-09 17:05:13 +00:00
Simon Howard
e8690eedfb Update build script to use SDL 1.2.15 and SDL_mixer 1.2.12. These new
releases fix some issues on Mac OS X.

Subversion-branch: /buildscripts
Subversion-revision: 2488
2012-02-03 16:19:46 +00:00
Simon Howard
f72204d128 Fix bug in build script (thanks CSonicGo)
Subversion-branch: /buildscripts
Subversion-revision: 2477
2011-11-13 18:57:03 +00:00
Simon Howard
68108fda5a Add option to build libsamplerate.
Subversion-branch: /buildscripts
Subversion-revision: 2476
2011-11-05 16:21:02 +00:00
Simon Howard
a8da34dc91 Forced build of SDL libraries when cross-compiling, to avoid conflict
with system libraries. Disable SDL_mixer dependencies on external
libraries.

Subversion-branch: /buildscripts
Subversion-revision: 2475
2011-11-05 15:57:12 +00:00
Simon Howard
112b4a6f9d Exit with an error if home directory to build in contains a space
character.

Subversion-branch: /buildscripts
Subversion-revision: 2474
2011-11-05 15:21:56 +00:00
Simon Howard
99f1d2a83c Add command line options to cross-compile and build v2-branch. When
building Windows, install DirectX headers package before building SDL,
so that the SDL DLLs include the DirectX backends.

Subversion-branch: /buildscripts
Subversion-revision: 2472
2011-11-02 21:47:40 +00:00
Simon Howard
3c55a3d934 Update build script to build v1.6.0. Fix error message when no tool is
found to download from a URL.

Subversion-branch: /buildscripts
Subversion-revision: 2345
2011-06-09 20:17:53 +00:00
Simon Howard
36ed64aac2 Build v1.5.0, not v1.4.0.
Subversion-branch: /buildscripts
Subversion-revision: 2240
2011-01-29 13:57:44 +00:00
Simon Howard
1434492baa Force 32-bit build on OS X.
Subversion-branch: /buildscripts
Subversion-revision: 2232
2011-01-02 02:36:46 +00:00
Simon Howard
ae9db5b3a4 Build using SDL_mixer 1.2.11 on every platform.
Subversion-branch: /buildscripts
Subversion-revision: 2168
2010-11-26 17:49:42 +00:00
Simon Howard
2c7fc92732 Fix aclocal include path to use the SDL prefix path, rather than always
INSTALL_DIR (which may not have a share/aclocal).
Set PATH to include $INSTALL_DIR/bin, so that SDL is correctly detected
if it has already been built and installed.
Exit if an error occurs during the autogen stage.

Subversion-branch: /buildscripts
Subversion-revision: 1945
2010-07-14 21:05:39 +00:00
Simon Howard
b060b62c11 Update auto-build script to latest version on website. Set
MACOSX_DEPLOYMENT_TARGET to target 10.4. Add option to build version
from Subversion.

Subversion-branch: /buildscripts
Subversion-revision: 1943
2010-07-14 20:35:10 +00:00
Simon Howard
8f99f2aed5 Put build script in version control.
Subversion-branch: /buildscripts
Subversion-revision: 708
2006-10-20 23:15:26 +00:00
Simon Howard
2786ff4505 Add directory for autobuild shell script
Subversion-branch: /buildscripts
Subversion-revision: 707
2006-10-20 23:13:11 +00:00