Forgot this very minor tweak.
[maemo-rb.git] / utils / common / deploy-rbutil.py
blobb5657b96777b58edd7829cee7480b0f884f244a4
1 #!/usr/bin/python
2 # __________ __ ___.
3 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 # \/ \/ \/ \/ \/
8 # $Id$
10 # Copyright (c) 2010 Dominik Riebeling
12 # All files in this archive are subject to the GNU General Public License.
13 # See the file COPYING in the source tree root for full license agreement.
15 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 # KIND, either express or implied.
19 import deploy
20 import sys
22 deploy.program = "RockboxUtility"
23 deploy.project = "rbutil/rbutilqt/rbutilqt.pro"
24 deploy.svnserver = "svn://svn.rockbox.org/rockbox/"
25 deploy.svnpaths = \
26 [ "rbutil/",
27 "tools/ucl",
28 "tools/rbspeex",
29 "apps/codecs/libspeex",
30 "docs/COPYING",
31 "docs/gpl-2.0.html",
32 "docs/CREDITS",
33 "tools/iriver.c",
34 "tools/Makefile",
35 "tools/mkboot.h",
36 "tools/voicefont.c",
37 "tools/VOICE_PAUSE.wav",
38 "tools/wavtrim.h",
39 "tools/iriver.h",
40 "tools/mkboot.c",
41 "tools/telechips.c",
42 "tools/telechips.h",
43 "tools/voicefont.h",
44 "tools/wavtrim.c",
45 "tools/sapi_voice.vbs" ]
46 deploy.useupx = False
47 deploy.bundlecopy = {
48 "icons/rbutilqt.icns" : "Contents/Resources/",
49 "Info.plist" : "Contents/"
51 # Windows nees some special treatment. Differentiate between program name
52 # and executable filename.
53 if sys.platform == "win32":
54 deploy.progexe = "Release/" + deploy.program + ".exe"
55 deploy.make = "mingw32-make"
56 elif sys.platform == "darwin":
57 deploy.progexe = deploy.program + ".app"
58 # OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
59 # compatible with 10.4 requires using gcc-4.0.
60 if not "QMAKESPEC" in deploy.environment:
61 deploy.environment["QMAKESPEC"] = "macx-g++40"
62 else:
63 deploy.progexe = deploy.program
64 # all files of the program. Will get put into an archive after building
65 # (zip on w32, tar.bz2 on Linux). Does not apply on Mac which uses dmg.
66 deploy.programfiles = [ deploy.progexe ]
68 deploy.deploy()