X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fwscript;h=ae3059af4246628ce1770b0414eb0bad31e66714;hb=760cc7d05f8b2a5c85f2535caa97ea8c95db357a;hp=bad426258c2492b923837fb63588acfe9729116f;hpb=bfe277e664a03ec47cd6bee7e1b1e4aca6eb38e6;p=dcpomatic.git diff --git a/src/lib/wscript b/src/lib/wscript index bad426258..ae3059af4 100644 --- a/src/lib/wscript +++ b/src/lib/wscript @@ -1,3 +1,21 @@ +# +# Copyright (C) 2012-2015 Carl Hetherington +# +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. +# + import os import i18n @@ -7,17 +25,21 @@ sources = """ audio_buffers.cc audio_content.cc audio_decoder.cc + audio_decoder_stream.cc audio_filter.cc audio_mapping.cc + audio_point.cc audio_processor.cc + audio_stream.cc cinema.cc cinema_sound_processor.cc colour_conversion.cc config.cc content.cc content_factory.cc - content_subtitle.cc cross.cc + curl_uploader.cc + data.cc dcp_content.cc dcp_content_type.cc dcp_decoder.cc @@ -30,10 +52,11 @@ sources = """ dcpomatic_time.cc dolby_cp750.cc encoder.cc - encoded_data.cc + environment_info.cc examine_content_job.cc exceptions.cc file_group.cc + file_log.cc filter_graph.cc ffmpeg.cc ffmpeg_audio_stream.cc @@ -57,11 +80,13 @@ sources = """ job.cc job_manager.cc kdm.cc + json_server.cc log.cc magick_image_proxy.cc md5_digester.cc mid_side_decoder.cc player.cc + player_subtitles.cc player_video.cc playlist.cc position_image.cc @@ -71,16 +96,18 @@ sources = """ render_subtitles.cc resampler.cc safe_stringstream.cc - scp_dcp_job.cc - scaler.cc scoped_temporary.cc + scp_uploader.cc + screen.cc send_kdm_email_job.cc send_problem_report_job.cc server.cc server_finder.cc single_stream_audio_content.cc + sndfile_base.cc sndfile_content.cc sndfile_decoder.cc + sndfile_examiner.cc subrip.cc subrip_content.cc subrip_decoder.cc @@ -90,8 +117,10 @@ sources = """ transcode_job.cc transcoder.cc types.cc - ui_signaller.cc + signal_manager.cc update.cc + upload_job.cc + uploader.cc upmixer_a.cc util.cc video_content.cc @@ -101,7 +130,7 @@ sources = """ """ def build(bld): - if bld.env.BUILD_STATIC: + if bld.env.STATIC_DCPOMATIC: obj = bld(features = 'cxx cxxstlib') else: obj = bld(features = 'cxx cxxshlib') @@ -109,10 +138,10 @@ def build(bld): obj.name = 'libdcpomatic2' obj.export_includes = ['..'] obj.uselib = """ - AVCODEC AVUTIL AVFORMAT AVFILTER SWSCALE SWRESAMPLE - BOOST_FILESYSTEM BOOST_THREAD BOOST_DATETIME BOOST_SIGNALS2 + AVCODEC AVUTIL AVFORMAT AVFILTER SWSCALE SWRESAMPLE + BOOST_FILESYSTEM BOOST_THREAD BOOST_DATETIME BOOST_SIGNALS2 BOOST_REGEX SNDFILE OPENJPEG POSTPROC TIFF MAGICK SSH DCP CXML GLIB LZMA XML++ - CURL ZIP PANGOMM CAIROMM XMLSEC SUB + CURL ZIP FONTCONFIG PANGOMM CAIROMM XMLSEC SUB """ if bld.env.TARGET_OSX: @@ -122,7 +151,7 @@ def build(bld): if bld.env.TARGET_WINDOWS: obj.uselib += ' WINSOCK2 BFD DBGHELP IBERTY SHLWAPI MSWSOCK BOOST_LOCALE' - if bld.env.BUILD_STATIC: + if bld.env.STATIC_DCPOMATIC: obj.uselib += ' XMLPP' obj.target = 'dcpomatic2'