diff options
author | Kevin Bowling <kbowling@FreeBSD.org> | 2022-11-28 14:08:08 -0700 |
---|---|---|
committer | Kevin Bowling <kbowling@FreeBSD.org> | 2022-11-28 14:08:08 -0700 |
commit | 0453380c15a58b9384f199e492133ba7f79e071a (patch) | |
tree | 76280b25c43be366c5740f74b698fa30e075c3d2 /sysutils/qflipper/files/patch-qflipper__common.pri | |
parent | devel/py-virtualenv: Update to 20.17.0 (diff) |
sysutils/qflipper: New port
PC support for Flipper Zero
Diffstat (limited to 'sysutils/qflipper/files/patch-qflipper__common.pri')
-rw-r--r-- | sysutils/qflipper/files/patch-qflipper__common.pri | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/qflipper/files/patch-qflipper__common.pri b/sysutils/qflipper/files/patch-qflipper__common.pri new file mode 100644 index 000000000000..c7b70517a74b --- /dev/null +++ b/sysutils/qflipper/files/patch-qflipper__common.pri @@ -0,0 +1,35 @@ +--- qflipper_common.pri.orig 2022-11-27 18:49:46 UTC ++++ qflipper_common.pri +@@ -5,7 +5,7 @@ unix:!macx { + unix:!macx { + DEFINES += USB_BACKEND_LIBUSB + CONFIG += link_pkgconfig +- PKGCONFIG += libusb-1.0 zlib ++ LIBS += -lusb -lz + + isEmpty(PREFIX): PREFIX = /usr + +@@ -27,20 +27,11 @@ unix:!macx { + error("Unsupported OS or compiler") + } + +-GIT_VERSION = $$system("git describe --tags --abbrev=0","lines", HAS_VERSION) +-!equals(HAS_VERSION, 0) { +- GIT_VERSION = unknown +-} ++GIT_VERSION = 1.2.1 + +-GIT_COMMIT = $$system("git rev-parse --short=8 HEAD","lines", HAS_COMMIT) +-!equals(HAS_COMMIT, 0) { +- GIT_COMMIT = unknown +-} ++GIT_COMMIT = 3ec0fd9d + +-GIT_TIMESTAMP = $$system("git log -1 --pretty=format:%ct","lines", HAS_TIMESTAMP) +-!equals(HAS_TIMESTAMP, 0) { +- GIT_TIMESTAMP = 0 +-} ++GIT_TIMESTAMP = 1664810141 + + DEFINES += APP_NAME=\\\"$$NAME\\\" \ + APP_VERSION=\\\"$$GIT_VERSION\\\" \ |