projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stub player.
[dcpomatic.git]
/
src
/
tools
/
wscript
diff --git
a/src/tools/wscript
b/src/tools/wscript
index e827c8b833f6cf98016d3d98b0ebbf296cfd4abf..8b24bb0432201181d67af46a6c9a2e9c279b5d03 100644
(file)
--- a/
src/tools/wscript
+++ b/
src/tools/wscript
@@
-1,19
+1,20
@@
#
# Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
#
#
# Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
#
-# 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.
#
# 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
# 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 <http://www.gnu.org/licenses/>.
#
import os
#
import os
@@
-27,14
+28,15
@@
def configure(conf):
conf.env.append_value('LINKFLAGS', ['-mconsole'])
def build(bld):
conf.env.append_value('LINKFLAGS', ['-mconsole'])
def build(bld):
- uselib = 'BOOST_THREAD BOOST_DATETIME OPENJPEG DCP XMLSEC CXML XMLPP AVFORMAT AVFILTER AVCODEC '
- uselib += 'AVUTIL SWSCALE POSTPROC CURL BOOST_FILESYSTEM SSH WXWIDGETS ZIP CAIROMM PANGOMM SUB MAGICK SNDFILE BOOST_REGEX '
+ uselib = 'BOOST_THREAD BOOST_DATETIME DCP XMLSEC CXML XMLPP AVFORMAT AVFILTER AVCODEC '
+ uselib += 'AVUTIL SWSCALE SWRESAMPLE POSTPROC CURL BOOST_FILESYSTEM SSH ZIP CAIROMM FONTCONFIG PANGOMM SUB '
+ uselib += 'MAGICK SNDFILE SAMPLERATE BOOST_REGEX ICU NETTLE RTAUDIO '
if bld.env.TARGET_WINDOWS:
if bld.env.TARGET_WINDOWS:
- uselib += 'WINSOCK2'
+ uselib += 'WINSOCK2
DBGHELP SHLWAPI MSWSOCK BOOST_LOCALE WINSOCK2 OLE32 DSOUND WINMM KSUSER
'
- for t in ['dcpomatic_cli', 'dcpomatic_server_cli', 'server_test', 'dcpomatic_kdm', 'dcpomatic_create']:
- obj = bld(features
=
'cxx cxxprogram')
+ for t in ['dcpomatic_cli', 'dcpomatic_server_cli', 'server_test', 'dcpomatic_kdm
_cli
', 'dcpomatic_create']:
+ obj = bld(features
=
'cxx cxxprogram')
obj.uselib = uselib
obj.includes = ['..']
obj.use = ['libdcpomatic2']
obj.uselib = uselib
obj.includes = ['..']
obj.use = ['libdcpomatic2']
@@
-44,22
+46,23
@@
def build(bld):
obj.install_path = None
if not bld.env.DISABLE_GUI:
obj.install_path = None
if not bld.env.DISABLE_GUI:
- for t in ['dcpomatic', 'dcpomatic_batch', 'dcpomatic_server']:
- obj = bld(features
=
'cxx cxxprogram')
+ for t in ['dcpomatic', 'dcpomatic_batch', 'dcpomatic_server'
, 'dcpomatic_kdm', 'dcpomatic_player'
]:
+ obj = bld(features
=
'cxx cxxprogram')
obj.uselib = uselib
if bld.env.BUILD_STATIC or bld.env.TARGET_LINUX:
obj.uselib += ' GTK'
obj.uselib = uselib
if bld.env.BUILD_STATIC or bld.env.TARGET_LINUX:
obj.uselib += ' GTK'
+ obj.uselib += ' WXWIDGETS'
obj.includes = ['..']
obj.use = ['libdcpomatic2', 'libdcpomatic2-wx']
obj.source = '%s.cc' % t
if bld.env.TARGET_WINDOWS:
obj.includes = ['..']
obj.use = ['libdcpomatic2', 'libdcpomatic2-wx']
obj.source = '%s.cc' % t
if bld.env.TARGET_WINDOWS:
- obj.source += ' ../../platform/windows/
dcpomatic.rc'
+ obj.source += ' ../../platform/windows/
%s.rc' % t
obj.target = t.replace('dcpomatic', 'dcpomatic2')
i18n.po_to_mo(os.path.join('src', 'tools'), 'dcpomatic2', bld)
def pot(bld):
obj.target = t.replace('dcpomatic', 'dcpomatic2')
i18n.po_to_mo(os.path.join('src', 'tools'), 'dcpomatic2', bld)
def pot(bld):
- i18n.pot(os.path.join('src', 'tools'), 'dcpomatic.cc dcpomatic_batch.cc', 'dcpomatic')
+ i18n.pot(os.path.join('src', 'tools'), 'dcpomatic.cc dcpomatic_batch.cc
dcpomatic_kdm.cc dcpomatic_server.cc
', 'dcpomatic')
def pot_merge(bld):
i18n.pot_merge(os.path.join('src', 'tools'), 'dcpomatic')
def pot_merge(bld):
i18n.pot_merge(os.path.join('src', 'tools'), 'dcpomatic')