Remove tabs.
[kugel-rb.git] / utils / common / deploy-rbutil.py
blob3273a295e86e68049a7711b0be9b6ab30ed5a2e4
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
21 deploy.program = "RockboxUtility"
22 deploy.project = "rbutil/rbutilqt/rbutilqt.pro"
23 deploy.svnserver = "svn://svn.rockbox.org/rockbox/"
24 deploy.svnpaths = \
25 [ "rbutil/",
26 "tools/ucl",
27 "tools/rbspeex",
28 "apps/codecs/libspeex",
29 "docs/COPYING",
30 "docs/gpl-2.0.html",
31 "docs/CREDITS",
32 "tools/iriver.c",
33 "tools/Makefile",
34 "tools/mkboot.h",
35 "tools/voicefont.c",
36 "tools/VOICE_PAUSE.wav",
37 "tools/wavtrim.h",
38 "tools/iriver.h",
39 "tools/mkboot.c",
40 "tools/telechips.c",
41 "tools/telechips.h",
42 "tools/voicefont.h",
43 "tools/wavtrim.c",
44 "tools/sapi_voice.vbs" ]
45 deploy.useupx = False
46 deploy.bundlecopy = {
47 "icons/rbutilqt.icns" : "Contents/Resources/",
48 "Info.plist" : "Contents/"
50 deploy.progexe = {
51 "win32" : "release/RockboxUtility.exe",
52 "darwin" : "RockboxUtility.app",
53 "linux2" : "RockboxUtility"
55 deploy.regreplace = {
56 "rbutil/rbutilqt/version.h" : ["SVN \$.*\$", "SVN r%REVISION%"],
57 "rbutil/rbutilqt/Info.plist" : ["SVN \$.*\$", "SVN r%REVISION%"]
59 # OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
60 # compatible with 10.4 requires using gcc-4.0.
61 deploy.qmakespec = {
62 "win32" : "",
63 "darwin" : "macx-g++40",
64 "linux2" : ""
66 deploy.make = {
67 "win32" : "mingw32-make",
68 "darwin" : "make",
69 "linux2" : "make"
72 # all files of the program. Will get put into an archive after building
73 # (zip on w32, tar.bz2 on Linux). Does not apply on Mac which uses dmg.
74 # progexe will get added automatically.
75 deploy.programfiles = [ ]
76 deploy.nsisscript = ""
78 deploy.deploy()