summaryrefslogtreecommitdiffstats
path: root/make/configure.py
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-18 20:48:07 +0000
committerkonablend <[email protected]>2009-06-18 20:48:07 +0000
commit9bc7f6cea55af4796aaac35057ca7058456c3e03 (patch)
tree38a753a2bbdc366270841ae1d1fe9e2315d81b5b /make/configure.py
parentdf54e47eb709cb97075d18e1101e1ce2c464ef75 (diff)
BuildSystem: appcast updates
- changed appcast URL to add architecture for OSX platform - added autogen'd appcast.xml during 'make pkg.create' - added new build of Sparkle 1.5b6 for 4 { i386, x86_64, ppc, ppc64 } which disables security. - added patch which was used against Sparkle sources. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2569 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/configure.py')
-rw-r--r--make/configure.py41
1 files changed, 26 insertions, 15 deletions
diff --git a/make/configure.py b/make/configure.py
index 0c4179255..790d29abb 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -654,24 +654,34 @@ class Project( Action ):
self.vpoint = 4
def _action( self ):
- appcastfmt = 'http://handbrake.fr/appcast%s.xml'
+ ## add architecture to URL only for Mac
+ if fnmatch.fnmatch( build.spec, '*-*-darwin*' ):
+ url_arch = '.%s' % (arch.mode.mode)
+ else:
+ url_arch = ''
if repo.type == 'release':
self.version = '%d.%d.%d' % (self.vmajor,self.vminor,self.vpoint)
- self.url_appcast = appcastfmt % ('')
+ url_type = ''
self.build = time.strftime('%Y%m%d') + '00'
self.title = '%s %s (%s)' % (self.name,self.version,self.build)
elif repo.type == 'developer':
self.version = 'svn%d' % (repo.rev)
- self.url_appcast = appcastfmt % ('_unstable')
+ url_type = '_unstable'
self.build = time.strftime('%Y%m%d') + '01'
self.title = '%s svn%d (%s)' % (self.name,repo.rev,self.build)
else:
self.version = 'svn%d' % (repo.rev)
- self.url_appcast = appcastfmt % ('_unofficial')
+ url_type = '_unofficial'
+ self.url_appcast = appcast_fmt % ('_unofficial',appcast_arch)
self.build = time.strftime('%Y%m%d') + '99'
self.title = 'Unofficial svn%d (%s)' % (repo.rev,self.build)
+ #self.url_appbase = 'http://handbrake.fr/appcast%s.xml' % (url_type)
+ #self.url_appcast = 'http://handbrake.fr/appcast%s%s.xml' % (url_type,url_arch)
+ self.url_appbase = 'http://localhost/appcast%s' % (url_type)
+ self.url_appcast = 'http://localhost/appcast%s%s.xml' % (url_type,url_arch)
+
self.msg_end = '%s (%s)' % (self.name,repo.type)
self.fail = False
@@ -1190,17 +1200,18 @@ try:
doc.add( 'CONF.args', ' '.join( args ))
doc.addBlank()
- doc.add( 'HB.title', project.title )
- doc.add( 'HB.name', project.name )
- doc.add( 'HB.name.lower', project.name_lower )
- doc.add( 'HB.name.upper', project.name_upper )
- doc.add( 'HB.acro.lower', project.acro_lower )
- doc.add( 'HB.acro.upper', project.acro_upper )
-
- doc.add( 'HB.url.website', project.url_website )
- doc.add( 'HB.url.community', project.url_community )
- doc.add( 'HB.url.irc', project.url_irc )
- doc.add( 'HB.url.appcast', project.url_appcast )
+ doc.add( 'HB.title', project.title )
+ doc.add( 'HB.name', project.name )
+ doc.add( 'HB.name.lower', project.name_lower )
+ doc.add( 'HB.name.upper', project.name_upper )
+ doc.add( 'HB.acro.lower', project.acro_lower )
+ doc.add( 'HB.acro.upper', project.acro_upper )
+
+ doc.add( 'HB.url.website', project.url_website )
+ doc.add( 'HB.url.community', project.url_community )
+ doc.add( 'HB.url.irc', project.url_irc )
+ doc.add( 'HB.url.appbase', project.url_appbase )
+ doc.add( 'HB.url.appcast', project.url_appcast )
doc.add( 'HB.version.major', project.vmajor )
doc.add( 'HB.version.minor', project.vminor )