diff options
author | konablend <[email protected]> | 2009-06-20 01:33:25 +0000 |
---|---|---|
committer | konablend <[email protected]> | 2009-06-20 01:33:25 +0000 |
commit | b5da65ca2b50cc81ec38d0a73dee3b0c9fc14cfc (patch) | |
tree | 3b916732bae29937c0fb5ee70b6d37bb5c2a751f | |
parent | 9a03d0850eb39f5b032934f28d81749521a5431c (diff) |
BuildSystem: packaging process now hard-codes svn rev into source-tarball's configure.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2581 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | make/configure.py | 2 | ||||
-rw-r--r-- | pkg/module.rules | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/make/configure.py b/make/configure.py index 1e5a9d516..b6705d726 100644 --- a/make/configure.py +++ b/make/configure.py @@ -677,7 +677,7 @@ class Project( Action ): url_ctype = '_unofficial' url_ntype = 'unofficial' self.build = time.strftime('%Y%m%d') + '99' - self.title = 'Unofficial svn%d (%s)' % (repo.rev,self.build) + self.title = '%s svn%d (%s)' % (self.name,repo.rev,self.build) self.url_appcast = 'http://handbrake.fr/appcast%s%s.xml' % (url_ctype,url_arch) self.url_appnote = 'http://handbrake.fr/appcast/%s.html' % (url_ntype) diff --git a/pkg/module.rules b/pkg/module.rules index 90412eb17..60457d215 100644 --- a/pkg/module.rules +++ b/pkg/module.rules @@ -16,6 +16,9 @@ $(PKG.src.tar.bz2): | $(STAGE.out.src/) $(STAGE.out.src/): svn export -r$(HB.repo.rev) $(HB.repo.url) $@/$(HB.name)-$(HB.version) + sed 's/\(self.rev.*=.*\)0/\1$(HB.repo.rev)/' \ + $@/$(HB.name)-$(HB.version)/make/configure.py > $@/$(HB.name)-$(HB.version)/make/configure.py.tmp + $(MV.exe) $@/$(HB.name)-$(HB.version)/make/configure.py.tmp $@/$(HB.name)-$(HB.version)/make/configure.py ############################################################################### |