diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/ardour/files/ardour-4.x-revision-naming.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/ardour/files/ardour-4.x-revision-naming.patch')
-rw-r--r-- | media-sound/ardour/files/ardour-4.x-revision-naming.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/media-sound/ardour/files/ardour-4.x-revision-naming.patch b/media-sound/ardour/files/ardour-4.x-revision-naming.patch new file mode 100644 index 000000000000..d558f4792a84 --- /dev/null +++ b/media-sound/ardour/files/ardour-4.x-revision-naming.patch @@ -0,0 +1,38 @@ +--- ardour-4.2/wscript ++++ ardour-4.2/wscript +@@ -162,7 +162,7 @@ + if os.path.isdir (os.path.join(os.getcwd(), '.git')): + rev = fetch_git_revision () + else: +- rev = fetch_tarball_revision () ++ rev = os.environ['PV'] + + # + # rev is now of the form MAJOR.MINOR[-rcX]-rev-commit +@@ -238,16 +238,16 @@ + return version + + def create_stored_revision(): +- rev = "" +- if os.path.exists('.git'): +- rev = fetch_git_revision(); +- print("Git version: " + rev + "\n") +- elif os.path.exists('libs/ardour/revision.cc'): +- print("Using packaged revision") +- return +- else: +- print("Missing libs/ardour/revision.cc. Blame the packager.") +- sys.exit(-1) ++ rev = os.environ['PV'] + "-gentoo" ++# if os.path.exists('.git'): ++# rev = fetch_git_revision(); ++# print("Git version: " + rev + "\n") ++# elif os.path.exists('libs/ardour/revision.cc'): ++# print("Using packaged revision") ++# return ++# else: ++# print("Missing libs/ardour/revision.cc. Blame the packager.") ++# sys.exit(-1) + + try: + # |