X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fwscript;h=c5a270f6536cac8972d043f362c9984f78fdc6af;hb=006e38346a8bcdcc889979b7c00802d9bb8fc6f8;hp=b615b575d4c016c1410b421180ccd05dd580bc7d;hpb=f74d619bf98c6069ecc012c1c34fb543592d6bff;p=dcpomatic.git diff --git a/src/lib/wscript b/src/lib/wscript index b615b575d..c5a270f65 100644 --- a/src/lib/wscript +++ b/src/lib/wscript @@ -1,60 +1,94 @@ # # Copyright (C) 2012-2015 Carl Hetherington # -# This program is free software; you can redistribute it and/or modify +# This file is part of DCP-o-matic. +# +# DCP-o-matic 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, +# DCP-o-matic 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. +# along with DCP-o-matic. If not, see . # import os import i18n sources = """ + active_text.cc analyse_audio_job.cc + analytics.cc + atmos_mxf_content.cc + atomicity_checker.cc audio_analysis.cc audio_buffers.cc audio_content.cc audio_decoder.cc - audio_decoder_stream.cc audio_delay.cc audio_filter.cc + audio_filter_graph.cc audio_mapping.cc + audio_merger.cc audio_point.cc audio_processor.cc + audio_ring_buffers.cc audio_stream.cc + butler.cc + text_content.cc + text_decoder.cc + case_insensitive_sorter.cc + checker.cc + check_content_change_job.cc cinema.cc + cinema_kdms.cc cinema_sound_processor.cc colour_conversion.cc config.cc content.cc content_factory.cc + create_cli.cc cross.cc + crypto.cc curl_uploader.cc - data.cc + dcp.cc dcp_content.cc dcp_content_type.cc dcp_decoder.cc + dcp_encoder.cc dcp_examiner.cc dcp_subtitle.cc dcp_subtitle_content.cc dcp_subtitle_decoder.cc + dcp_text_track.cc dcp_video.cc + dcpomatic_log.cc dcpomatic_socket.cc dcpomatic_time.cc + decoder.cc + decoder_factory.cc + decoder_part.cc + decrypted_ecinema_kdm.cc + digester.cc + dkdm_wrapper.cc dolby_cp750.cc + edid.cc + emailer.cc + empty.cc encoder.cc + encode_server.cc + encode_server_finder.cc + encoded_log_entry.cc + encrypted_ecinema_kdm.cc environment_info.cc + event_history.cc examine_content_job.cc + examine_ffmpeg_subtitles_job.cc exceptions.cc file_group.cc file_log.cc @@ -63,60 +97,66 @@ sources = """ ffmpeg_audio_stream.cc ffmpeg_content.cc ffmpeg_decoder.cc + ffmpeg_encoder.cc + ffmpeg_file_encoder.cc ffmpeg_examiner.cc ffmpeg_stream.cc ffmpeg_subtitle_stream.cc film.cc filter.cc + ffmpeg_image_proxy.cc font.cc frame_rate_change.cc + hints.cc internet.cc image.cc image_content.cc image_decoder.cc image_examiner.cc + image_filename_sorter.cc image_proxy.cc isdcf_metadata.cc j2k_image_proxy.cc job.cc job_manager.cc - kdm.cc + j2k_encoder.cc json_server.cc + lock_file_checker.cc log.cc - magick_image_proxy.cc - md5_digester.cc + log_entry.cc mid_side_decoder.cc + monitor_checker.cc + overlaps.cc player.cc - player_subtitles.cc + player_text.cc player_video.cc playlist.cc position_image.cc - quickmail.cc ratio.cc raw_image_proxy.cc - render_subtitles.cc + reel_writer.cc + render_text.cc resampler.cc - safe_stringstream.cc + rgba.cc scoped_temporary.cc scp_uploader.cc screen.cc + screen_kdm.cc send_kdm_email_job.cc + send_notification_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 - subtitle_content.cc - subtitle_decoder.cc + shuffler.cc + state.cc + spl.cc + spl_entry.cc + string_log_entry.cc + string_text_file.cc + string_text_file_content.cc + string_text_file_decoder.cc + text_ring_buffers.cc timer.cc transcode_job.cc - transcoder.cc types.cc signal_manager.cc update_checker.cc @@ -125,9 +165,15 @@ sources = """ upmixer_a.cc upmixer_b.cc util.cc + verify_dcp_job.cc video_content.cc video_content_scale.cc video_decoder.cc + video_filter_graph.cc + video_mxf_content.cc + video_mxf_decoder.cc + video_mxf_examiner.cc + video_ring_buffers.cc writer.cc """ @@ -140,10 +186,10 @@ def build(bld): obj.name = 'libdcpomatic2' obj.export_includes = ['..'] obj.uselib = """ - AVCODEC AVUTIL AVFORMAT AVFILTER SWSCALE SWRESAMPLE + AVCODEC AVUTIL AVFORMAT AVFILTER SWSCALE BOOST_FILESYSTEM BOOST_THREAD BOOST_DATETIME BOOST_SIGNALS2 BOOST_REGEX - SNDFILE SAMPLERATE OPENJPEG POSTPROC TIFF MAGICK SSH DCP CXML GLIB LZMA XML++ - CURL ZIP FONTCONFIG PANGOMM CAIROMM XMLSEC SUB UCHARDET + SAMPLERATE POSTPROC TIFF SSH DCP CXML GLIB LZMA XML++ + CURL ZIP FONTCONFIG PANGOMM CAIROMM XMLSEC SUB ICU NETTLE PNG """ if bld.env.TARGET_OSX: @@ -152,7 +198,7 @@ def build(bld): obj.source = sources + ' version.cc' if bld.env.TARGET_WINDOWS: - obj.uselib += ' WINSOCK2 BFD DBGHELP IBERTY SHLWAPI MSWSOCK BOOST_LOCALE' + obj.uselib += ' WINSOCK2 DBGHELP SHLWAPI MSWSOCK BOOST_LOCALE' if bld.env.STATIC_DCPOMATIC: obj.uselib += ' XMLPP' @@ -161,7 +207,7 @@ def build(bld): i18n.po_to_mo(os.path.join('src', 'lib'), 'libdcpomatic2', bld) def pot(bld): - i18n.pot(os.path.join('src', 'lib'), sources, 'libdcpomatic') + i18n.pot(os.path.join('src', 'lib'), sources + " util.h", 'libdcpomatic') def pot_merge(bld): i18n.pot_merge(os.path.join('src', 'lib'), 'libdcpomatic')