mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
refactor packaing dependency for flatpak
This commit is contained in:
parent
68e26883a9
commit
2d212cd1b6
@ -265,12 +265,17 @@ unix {
|
||||
INSTALLS += target desktop icon
|
||||
}
|
||||
|
||||
has_metainfo {
|
||||
build_flatpak {
|
||||
# For Packaging
|
||||
message("Configuring for packaging platform")
|
||||
message(" --> Generating metainfo dependency.")
|
||||
appdataXml.files += ./icons/qv2ray.appdata.xml
|
||||
appdataXml.path = /usr/share/metainfo/
|
||||
appdataXml.path = /app/share/metainfo/
|
||||
LIBS += -L/app/lib -lgrpc++ -lprotobuf -lgrpc
|
||||
INCLUDEPATH += /app/include/
|
||||
desktop.path = /app/share/applications/
|
||||
icon.path = /app/share/icons/hicolor/256x256/apps/
|
||||
target.path = /app/bin/
|
||||
INSTALLS += appdataXml
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user