2012-12-17 08:01:43 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
#
|
|
|
|
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
|
|
|
|
#
|
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
|
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
#
|
|
|
|
|
# The Original Code is Copyright (C) 2006, Blender Foundation
|
|
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
# The Original Code is: all of this file.
|
|
|
|
|
#
|
|
|
|
|
# Contributor(s): Nathan Letwory.
|
|
|
|
|
#
|
|
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
|
|
2008-12-14 14:43:08 +00:00
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
|
|
2013-05-20 18:42:28 +00:00
|
|
|
incs = [
|
|
|
|
|
'#/intern/guardedalloc',
|
2014-10-07 15:46:19 -05:00
|
|
|
env['BF_GLEW_INC'],
|
|
|
|
|
'#/intern/glew-mx',
|
2013-05-20 18:42:28 +00:00
|
|
|
'#/intern/audaspace/intern',
|
|
|
|
|
'../include',
|
|
|
|
|
'../../blenfont',
|
|
|
|
|
'../../blenkernel',
|
|
|
|
|
'../../blenlib',
|
2014-10-07 15:46:19 -05:00
|
|
|
'../../gpu',
|
2013-05-20 18:42:28 +00:00
|
|
|
'../../imbuf',
|
|
|
|
|
'../../makesdna',
|
|
|
|
|
'../../makesrna',
|
|
|
|
|
'../../windowmanager',
|
|
|
|
|
]
|
2008-12-14 14:43:08 +00:00
|
|
|
|
2014-10-07 15:46:19 -05:00
|
|
|
defs = env['BF_GL_DEFINITIONS']
|
2012-10-26 17:32:50 +00:00
|
|
|
|
2012-04-24 12:57:58 +00:00
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
|
2013-05-20 18:42:28 +00:00
|
|
|
incs.append(env['BF_PTHREADS_INC'])
|
== Sequencer ==
This patch adds:
* support for proxy building again (missing feature from Blender 2.49)
additionally to the way, Blender 2.49 worked, you can select several
strips at once and make Blender build proxies in the background (using
the job system)
Also a new thing: movie proxies are now build into AVI files, and
the proxy system is moved into ImBuf-library, so that other parts
of blender can also benefit from it.
* Timecode support: to fix seeking issues with files, that have
a) varying frame rates
b) very large GOP lengths
c) are broken inbetween
d) use different time code tracks
the proxy builder can now also build timecode indices, which are
used (optionally) for seeking.
For the first time, it is possible, to do frame exact seeking on
all file types.
* Support for different video-streams in one video file (can be
selected in sequencer, other parts of blender can also use it,
but UI has to be added accordingly)
* IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since
older versions don't support the pkt_pts field, that is essential
for building timecode indices.
Windows and Mac libs are already updated, Linux-users have to build
their own ffmpeg verions until distros keep up.
2011-08-28 14:46:03 +00:00
|
|
|
|
2012-10-26 17:32:50 +00:00
|
|
|
if env['WITH_BF_INTERNATIONAL']:
|
|
|
|
|
defs.append('WITH_INTERNATIONAL')
|
|
|
|
|
|
2013-05-20 18:42:28 +00:00
|
|
|
env.BlenderLib('bf_editors_space_sequencer', sources, incs, defs, libtype=['core'], priority=[100])
|