Dominik Riebeling | a9acd1f | 2010-07-28 18:37:12 +0000 | [diff] [blame] | 1 | #!/usr/bin/python |
| 2 | # __________ __ ___. |
| 3 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | # \/ \/ \/ \/ \/ |
| 8 | # $Id$ |
| 9 | # |
| 10 | # Copyright (c) 2010 Dominik Riebeling |
| 11 | # |
| 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. |
| 14 | # |
| 15 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 16 | # KIND, either express or implied. |
| 17 | # |
| 18 | |
| 19 | import deploy |
Dominik Riebeling | a9acd1f | 2010-07-28 18:37:12 +0000 | [diff] [blame] | 20 | |
Dominik Riebeling | 05e5fbf | 2010-07-28 18:46:20 +0000 | [diff] [blame] | 21 | deploy.program = "rbthemeeditor" |
| 22 | deploy.project = "utils/themeeditor/themeeditor.pro" |
Dominik Riebeling | a9acd1f | 2010-07-28 18:37:12 +0000 | [diff] [blame] | 23 | deploy.svnserver = "svn://svn.rockbox.org/rockbox/" |
| 24 | deploy.svnpaths = \ |
Dominik Riebeling | 05e5fbf | 2010-07-28 18:46:20 +0000 | [diff] [blame] | 25 | [ "utils/themeeditor/", |
Dominik Riebeling | 93c81dc | 2010-08-08 20:56:58 +0000 | [diff] [blame] | 26 | "lib/skin_parser/", |
| 27 | "docs/COPYING" ] |
Dominik Riebeling | a9acd1f | 2010-07-28 18:37:12 +0000 | [diff] [blame] | 28 | deploy.useupx = False |
| 29 | deploy.bundlecopy = { |
Dominik Riebeling | 05e5fbf | 2010-07-28 18:46:20 +0000 | [diff] [blame] | 30 | "resources/windowicon.icns" : "Contents/Resources/", |
Dominik Riebeling | a9acd1f | 2010-07-28 18:37:12 +0000 | [diff] [blame] | 31 | "Info.plist" : "Contents/" |
| 32 | } |
Dominik Riebeling | 43a40ca | 2011-03-06 00:04:26 +0000 | [diff] [blame] | 33 | deploy.progexe = { |
| 34 | "win32" : "release/rbthemeeditor.exe", |
| 35 | "darwin" : "rbthemeeditor.app", |
Dominik Riebeling | 8059347 | 2011-03-07 21:22:57 +0000 | [diff] [blame] | 36 | "linux2" : "rbthemeeditor" |
Dominik Riebeling | 43a40ca | 2011-03-06 00:04:26 +0000 | [diff] [blame] | 37 | } |
Dominik Riebeling | 2c29776 | 2011-04-06 20:17:29 +0000 | [diff] [blame] | 38 | deploy.regreplace = {} |
Dominik Riebeling | 43a40ca | 2011-03-06 00:04:26 +0000 | [diff] [blame] | 39 | # OS X 10.6 defaults to gcc 4.2. Building universal binaries that are |
| 40 | # compatible with 10.4 requires using gcc-4.0. |
| 41 | deploy.qmakespec = { |
| 42 | "win32" : "", |
| 43 | "darwin" : "macx-g++40", |
Dominik Riebeling | 8059347 | 2011-03-07 21:22:57 +0000 | [diff] [blame] | 44 | "linux2" : "" |
Dominik Riebeling | 43a40ca | 2011-03-06 00:04:26 +0000 | [diff] [blame] | 45 | } |
| 46 | deploy.make = { |
| 47 | "win32" : "mingw32-make", |
| 48 | "darwin" : "make", |
Dominik Riebeling | 8059347 | 2011-03-07 21:22:57 +0000 | [diff] [blame] | 49 | "linux2" : "make" |
Dominik Riebeling | 43a40ca | 2011-03-06 00:04:26 +0000 | [diff] [blame] | 50 | } |
| 51 | |
Dominik Riebeling | a9acd1f | 2010-07-28 18:37:12 +0000 | [diff] [blame] | 52 | # all files of the program. Will get put into an archive after building |
| 53 | # (zip on w32, tar.bz2 on Linux). Does not apply on Mac which uses dmg. |
Dominik Riebeling | 43a40ca | 2011-03-06 00:04:26 +0000 | [diff] [blame] | 54 | # progexe will get added automatically. |
| 55 | deploy.programfiles = [ ] |
Dominik Riebeling | 93c81dc | 2010-08-08 20:56:58 +0000 | [diff] [blame] | 56 | deploy.nsisscript = "utils/themeeditor/themeeditor.nsi" |
Dominik Riebeling | a9acd1f | 2010-07-28 18:37:12 +0000 | [diff] [blame] | 57 | |
| 58 | deploy.deploy() |
| 59 | |