2007-12-31 07:46:22 +01:00
|
|
|
// Copyright (c) 2007, Rodrigo Braz Monteiro
|
|
|
|
// All rights reserved.
|
|
|
|
//
|
|
|
|
// Redistribution and use in source and binary forms, with or without
|
|
|
|
// modification, are permitted provided that the following conditions are met:
|
|
|
|
//
|
|
|
|
// * Redistributions of source code must retain the above copyright notice,
|
|
|
|
// this list of conditions and the following disclaimer.
|
|
|
|
// * Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
// this list of conditions and the following disclaimer in the documentation
|
|
|
|
// and/or other materials provided with the distribution.
|
|
|
|
// * Neither the name of the Aegisub Group nor the names of its contributors
|
|
|
|
// may be used to endorse or promote products derived from this software
|
|
|
|
// without specific prior written permission.
|
|
|
|
//
|
|
|
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
|
|
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
// POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
//
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// AEGISUB
|
|
|
|
//
|
|
|
|
// Website: http://aegisub.cellosoft.com
|
|
|
|
// Contact: mailto:zeratul@cellosoft.com
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
2008-01-10 22:27:53 +01:00
|
|
|
// Build credit: Set this to a string with your name as you want it to appear on the program
|
2008-01-19 18:39:50 +01:00
|
|
|
#ifndef BUILD_CREDIT
|
2008-01-10 22:27:53 +01:00
|
|
|
#define BUILD_CREDIT "Anonymous"
|
2008-01-19 18:39:50 +01:00
|
|
|
#endif
|
2008-01-10 22:27:53 +01:00
|
|
|
|
|
|
|
|
2008-01-10 22:13:50 +01:00
|
|
|
////////////// HIGH PRIORITY /////////////
|
|
|
|
|
2007-12-31 07:46:22 +01:00
|
|
|
// Enable Automation
|
2008-03-05 00:17:07 +01:00
|
|
|
// Requires: Nothing
|
2007-12-31 07:46:22 +01:00
|
|
|
//#define WITH_AUTOMATION
|
|
|
|
|
|
|
|
|
2008-03-05 00:17:07 +01:00
|
|
|
// Enable Automation 4 Lua
|
|
|
|
// Requires: Lua 5.1 (in repository)
|
|
|
|
//#define WITH_AUTO4_LUA
|
|
|
|
|
|
|
|
|
2007-12-31 07:46:22 +01:00
|
|
|
// Enable Automation 3
|
2008-01-01 23:42:29 +01:00
|
|
|
// Requires: auto3 dll (in repository), Lua (in repository)
|
2007-12-31 07:46:22 +01:00
|
|
|
//#define WITH_AUTO3
|
|
|
|
|
|
|
|
|
|
|
|
// Enable DirectSound audio player
|
2008-01-10 22:13:50 +01:00
|
|
|
// Requires: DirectX SDK
|
2007-12-31 07:46:22 +01:00
|
|
|
//#define WITH_DIRECTSOUND
|
|
|
|
|
|
|
|
|
2008-01-22 03:54:16 +01:00
|
|
|
// Enable Avisynth
|
|
|
|
// Requires: nothing (just the avisynth dlls)
|
|
|
|
//#define WITH_AVISYNTH
|
|
|
|
|
|
|
|
|
2008-01-17 02:45:42 +01:00
|
|
|
|
2008-01-10 22:13:50 +01:00
|
|
|
///////////// MEDIUM PRIORITY ////////////
|
2007-12-31 07:46:22 +01:00
|
|
|
|
|
|
|
// Enable FreeType2 font lister for the fonts collector
|
2008-01-11 01:18:15 +01:00
|
|
|
// If you're on Visual Studio, also uncomment the library names and make sure they match the files that you have
|
2007-12-31 07:46:22 +01:00
|
|
|
// Requires: FreeType2
|
|
|
|
//#define WITH_FREETYPE2
|
2008-01-11 01:18:15 +01:00
|
|
|
//#define FT2_LIB_RELEASE "freetype235.lib"
|
|
|
|
//#define FT2_LIB_DEBUG "freetype235_D.lib"
|
2007-12-31 07:46:22 +01:00
|
|
|
|
|
|
|
|
2008-01-10 22:13:50 +01:00
|
|
|
// Enable CSRI, required for styles previews in the style editor and some video providers
|
2008-01-11 01:18:15 +01:00
|
|
|
// Requires: csri (in repository)
|
2008-01-10 22:13:50 +01:00
|
|
|
//#define WITH_CSRI
|
|
|
|
|
|
|
|
|
|
|
|
// Enable universal charset detector, so Aegisub can automatically detect the encoding of non-unicode subtitles
|
|
|
|
// Requires: universalcharset (in repository)
|
|
|
|
//#define WITH_UNIVCHARDET
|
|
|
|
|
|
|
|
|
2007-12-31 07:46:22 +01:00
|
|
|
// Enable Hunspell-based spellchecker
|
2008-01-13 07:08:45 +01:00
|
|
|
// Requires: hunspell (in repository for Win32)
|
2008-01-15 18:24:49 +01:00
|
|
|
// If you have an old version of Hunspell (that uses Hunspell::put_word() instead of Hunspell::add()),
|
|
|
|
// uncomment the second line as well.
|
2007-12-31 07:46:22 +01:00
|
|
|
//#define WITH_HUNSPELL
|
2008-01-15 18:24:49 +01:00
|
|
|
//#define WITH_OLD_HUNSPELL
|
2007-12-31 07:46:22 +01:00
|
|
|
|
|
|
|
|
2008-01-17 02:45:42 +01:00
|
|
|
|
2008-01-10 22:13:50 +01:00
|
|
|
/////////////// LOW PRIORITY ////////////
|
|
|
|
|
|
|
|
// Enable DirectShow video provider
|
|
|
|
// Requires: DirectShow "baseclasses", DirectX SDK
|
|
|
|
//#define WITH_DIRECTSHOW
|
|
|
|
|
|
|
|
|
2008-01-17 02:45:42 +01:00
|
|
|
// Enable Perl scripting
|
|
|
|
// Requires: perl library (ActivePerl comes with one for Visual C++ under lib\core\)
|
|
|
|
//#define WITH_PERL
|
|
|
|
|
2008-01-27 02:22:01 +01:00
|
|
|
// Enable PerlConsole (a debug tool for the perl engine)
|
|
|
|
// You don't want it
|
|
|
|
//#define WITH_PERLCONSOLE
|
|
|
|
|
2008-01-17 02:45:42 +01:00
|
|
|
|
|
|
|
|
|
|
|
///////////// NOT RECOMMENDED /////////////
|
|
|
|
|
2007-12-31 07:46:22 +01:00
|
|
|
// Enable FontConfig
|
|
|
|
// Requires: fontconfig
|
|
|
|
//#define WITH_FONTCONFIG
|
|
|
|
|
|
|
|
|
|
|
|
// Enable libass
|
|
|
|
// Requires: libass
|
2008-01-01 23:42:29 +01:00
|
|
|
//#define WITH_LIBASS
|
|
|
|
|
|
|
|
|
2008-01-10 22:13:50 +01:00
|
|
|
// Enable FFmpeg video and audio decoders
|
|
|
|
// Requires: libavcodec and libavformat
|
|
|
|
//#define WITH_FFMPEG
|
|
|
|
|
|
|
|
|
|
|
|
// Enable Ruby support for Automation
|
|
|
|
// Requires: Ruby 1.9
|
|
|
|
//#define WITH_RUBY
|
|
|
|
|
2008-01-21 21:57:20 +01:00
|
|
|
|
|
|
|
// Enable PortAudio audio player
|
|
|
|
// Requires PortAudio release 18
|
|
|
|
//#define WITH_PORTAUDIO
|
|
|
|
|
|
|
|
|
|
|
|
// Enable ALSA audio player
|
|
|
|
// Requires Linux and libasound
|
|
|
|
//#define WITH_ALSA
|
|
|
|
|
|
|
|
|
|
|
|
// Enable OpenAL audio player
|
|
|
|
// Requires OpenAL development libraries and headers
|
|
|
|
//#define WITH_OPENAL
|
|
|
|
|
|
|
|
|
|
|
|
// Enable Pulse Audio audio player
|
|
|
|
// Requires libpulse (and a *NIX compatible system and a running sound server to actually use)
|
|
|
|
//#define WITH_PULSEAUDIO
|