~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/avi/SConscript

  • Committer: Bazaar Package Importer
  • Author(s): Lukas Fittl
  • Date: 2006-09-20 01:57:27 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060920015727-gmoqlxwstx9wwqs3
Tags: 2.42a-1ubuntu1
* Merge from Debian unstable (Closes: Malone #55903). Remaining changes:
  - debian/genpot: Add python scripts from Lee June <blender@eyou.com> to
    generate a reasonable PO template from the sources. Since gettext is used
    in a highly nonstandard way, xgettext does not work for this job.
  - debian/rules: Call the scripts, generate po/blender.pot, and clean it up
    in the clean target.
  - Add a proper header to the generated PO template.
* debian/control: Build depend on libavformat-dev >= 3:0.cvs20060823-3.1,
  otherwise this package will FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
 
Import ('extra_includes')
3
 
Import ('user_options_dict')
4
 
Import ('library_env')
5
 
 
6
 
avi_env = library_env.Copy ()
7
 
 
8
 
source_files = ['intern/avi.c',
9
 
                'intern/avirgb.c',
10
 
                'intern/codecs.c',
11
 
                'intern/endian.c',
12
 
                'intern/mjpeg.c',
13
 
                'intern/options.c',
14
 
                'intern/rgb32.c']
15
 
 
16
 
avi_env.Append (CPPPATH = ['.',
17
 
                           '../avi',
18
 
                           '#/intern/guardedalloc'])
19
 
 
20
 
avi_env.Append (CPPPATH=user_options_dict['JPEG_INCLUDE'])
21
 
avi_env.Append (CPPPATH=extra_includes)
22
 
avi_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_avi', source=source_files)
 
2
#Import ('extra_includes')
 
3
Import ('env')
 
4
 
 
5
sources = env.Glob('intern/*.c')
 
6
 
 
7
incs = '. #/intern/guardedalloc'
 
8
incs += ' ' + env['BF_JPEG_INC']
 
9
 
 
10
env.BlenderLib ('bf_avi', sources, Split(incs), [], libtype=['core','player'], priority = [90, 50] )