Qv2ray/debian/patches/change-target-path.patch

51 lines
1.8 KiB
Diff

Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
qv2ray (1.99.4-1) unstable; urgency=medium
.
* Bump version to v1.99.4
Author: Guobang Bi <ymshenyu@gmail.com>
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2020-01-04
--- a/Qv2ray.pro
+++ b/Qv2ray.pro
@@ -245,11 +245,11 @@
message("Configuring for unix-like environment")
# For gRPC and protobuf in linux and macOS
message(" --> Linking against gRPC and protobuf library.")
- LIBS += -L/usr/local/lib -lgrpc++ -lprotobuf -lgrpc
+ LIBS += -L/usr/lib -lgrpc++ -lprotobuf -lgrpc
# macOS homebrew include path
message(" --> Adding local include folder to search path")
- INCLUDEPATH += /usr/local/include/
+ INCLUDEPATH += /usr/include/
message(" --> Adding Plasma Toolbox CPP files.")
SOURCES += src/ui/NetSpeedBar/QvNetSpeedBar_linux.cpp
@@ -262,7 +262,7 @@
icon.files += ./icons/qv2ray.png
icon.path = /usr/share/icons/hicolor/256x256/apps/
- target.path = /usr/local/bin/
+ target.path = /usr/bin/
INSTALLS += target desktop icon
}