mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00

Patched qmake files and source repository to correctly acquire Git information Added ffmpeg dependency
13 lines
501 B
Diff
13 lines
501 B
Diff
--- a/app/app.pro
|
|
+++ b/app/app.pro
|
|
@@ -208,8 +208,8 @@
|
|
|
|
GIT {
|
|
DEFINES += GIT_EXISTS \
|
|
- "GIT_CURRENT_SHA1=$$system(git --git-dir=.git --work-tree=. -C $$_PRO_FILE_PWD_/../ rev-parse HEAD)" \
|
|
- "GIT_TIMESTAMP=$$system(git --git-dir=.git --work-tree=. -C $$_PRO_FILE_PWD_/../ log -n 1 --pretty=format:"%cd" --date=format:"%Y-%m-%d_%H:%M:%S")"
|
|
+ "GIT_CURRENT_SHA1=$$cat($$_PRO_FILE_PWD_/../COMMIT)" \
|
|
+ "GIT_TIMESTAMP=$$cat($$_PRO_FILE_PWD_/../SOURCE_TIMESTAMP_EPOCH)"
|
|
}
|
|
|
|
macx {
|