update metainfo

This commit is contained in:
Kevin Yue 2021-09-20 17:18:21 +08:00
parent 65bd0e1309
commit c7d8ed14af
3 changed files with 15 additions and 6 deletions

View File

@ -85,5 +85,6 @@ target_link_libraries(gpclient
target_compile_definitions(gpclient PUBLIC QAPPLICATION_CLASS=QApplication) target_compile_definitions(gpclient PUBLIC QAPPLICATION_CLASS=QApplication)
install(TARGETS gpclient DESTINATION "/usr/bin") install(TARGETS gpclient DESTINATION "/usr/bin")
install(FILES com.yuezk.qt.gpclient.metainfo.xml DESTINATION "/usr/share/metainfo")
install(FILES com.yuezk.qt.gpclient.desktop DESTINATION "/usr/share/applications") install(FILES com.yuezk.qt.gpclient.desktop DESTINATION "/usr/share/applications")
install(FILES com.yuezk.qt.GPClient.svg DESTINATION "/usr/share/pixmaps") install(FILES com.yuezk.qt.GPClient.svg DESTINATION "/usr/share/icons/hicolor/scalable/apps")

View File

@ -33,7 +33,7 @@
<launchable type="desktop-id">com.yuezk.qt.gpclient.desktop</launchable> <launchable type="desktop-id">com.yuezk.qt.gpclient.desktop</launchable>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<image>https://raw.githubusercontent.com/yuezk/GlobalProtect-openconnect/master/screenshot.png</image> <image>https://user-images.githubusercontent.com/3297602/133869036-5c02b0d9-c2d9-4f87-8c81-e44f68cfd6ac.png</image>
</screenshot> </screenshot>
</screenshots> </screenshots>
<provides> <provides>

View File

@ -1,12 +1,18 @@
name: globalprotect-openconnect name: globalprotect-openconnect
base: core18 base: core18
version: 'test' version: 'test'
summary: A GlobalProtect VPN client powered by OpenConnect
description: |
A GlobalProtect VPN client (GUI) for Linux based on OpenConnect and built with Qt5, supports SAML auth mode.
grade: devel grade: devel
confinement: devmode # use 'strict' once you have the right plugs and slots confinement: devmode # use 'strict' once you have the right plugs and slots
compression: lzo
contact: k3vinyue@gmail.com
donation: https://www.buymeacoffee.com/yuezk
issues: https://github.com/yuezk/GlobalProtect-openconnect/issues
source-code: https://github.com/yuezk/GlobalProtect-openconnect
website: https://github.com/yuezk/GlobalProtect-openconnect
license: GPL-3.0
adopt-info: application
package-repositories: package-repositories:
- type: apt - type: apt
@ -63,6 +69,8 @@ apps:
parts: parts:
application: application:
parse-info:
- usr/share/metainfo/com.yuezk.qt.gpclient.metainfo.xml
plugin: cmake plugin: cmake
source: . source: .
build-packages: build-packages: