1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Add Linux install target for qtox and qtox.desktop

Implement the idea in #2622

Thanks to @subliun for the original code
This commit is contained in:
tux3 2015-12-05 02:25:53 +01:00
parent fe3fa2f751
commit 2223640fcb
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -162,6 +162,11 @@ win32 {
LIBS += -llibjpeg -llibwebp -llibpng -llibtiff -llibjasper -lIlmImf
LIBS += -lopus -lvpx -lsodium -lopenal
} else {
target.path = /usr/bin
desktop.path = /usr/share/applications
desktop.files += qTox.desktop
INSTALLS += target desktop
# If we're building a package, static link libtox[core,av] and libsodium, since they are not provided by any package
contains(STATICPKG, YES) {
target.path = /usr/bin