File HandBrake-0.10.0-no-builddate.patch of Package handbrake (Revision 11)
Currently displaying revision 11 , Show latest
46
1
Index: b/make/configure.py
2
===================================================================
3
--- a/make/configure.py
4
+++ b/make/configure.py
5
6
self.version = '%d.%d.%d' % (self.vmajor,self.vminor,self.vpoint)
7
url_ctype = ''
8
url_ntype = 'stable'
9
- self.build = time.strftime('%Y%m%d') + '00'
10
+ self.build = '@BUILD@' + '00'
11
self.title = '%s %s (%s)' % (self.name,self.version,self.build)
12
elif repo.type == 'developer':
13
self.version = '%dsvn' % (repo.rev)
14
url_ctype = '_unstable'
15
url_ntype = 'unstable'
16
- self.build = time.strftime('%Y%m%d') + '01'
17
+ self.build = '@BUILD@' + '01'
18
self.title = '%s svn%d (%s)' % (self.name,repo.rev,self.build)
19
else:
20
self.version = 'rev%d' % (repo.rev)
21
url_ctype = '_unofficial'
22
url_ntype = 'unofficial'
23
- self.build = time.strftime('%Y%m%d') + '99'
24
+ self.build = '@BUILD@' + '99'
25
self.title = '%s rev%d (%s)' % (self.name,repo.rev,self.build)
26
27
self.url_appcast = 'https://handbrake.fr/appcast%s%s.xml' % (url_ctype,url_arch)
28
29
30
## create document object
31
doc = ConfigDocument()
32
- doc.addComment( 'generated by configure on %s', time.strftime( '%c' ))
33
+ # doc.addComment( 'generated by configure on %s', time.strftime( '%c' ))
34
35
## add configure line for reconfigure purposes
36
doc.addBlank()
37
38
else:
39
doc.add( 'BUILD.cross.prefix', '' )
40
41
- doc.add( 'BUILD.date', time.strftime('%c') )
42
+ # doc.add( 'BUILD.date', time.strftime('%c') )
43
doc.add( 'BUILD.arch', arch.mode.mode )
44
45
doc.addBlank()
46