install desktop and icon in flatpak
This commit is contained in:
parent
15f7024f87
commit
b9e3ba0b6f
|
@ -13,6 +13,9 @@ finish-args:
|
||||||
- --filesystem=xdg-download
|
- --filesystem=xdg-download
|
||||||
- --talk-name=org.freedesktop.Notifications
|
- --talk-name=org.freedesktop.Notifications
|
||||||
|
|
||||||
|
rename-icon: mirage
|
||||||
|
rename-desktop-file: mirage.desktop
|
||||||
|
|
||||||
#cleanup:
|
#cleanup:
|
||||||
# - /usr/include
|
# - /usr/include
|
||||||
|
|
||||||
|
@ -807,15 +810,15 @@ modules:
|
||||||
url: https://github.com/mirukana/matrix-nio.git
|
url: https://github.com/mirukana/matrix-nio.git
|
||||||
commit: ee2a90da2f1d7ce12df7153dd944fffdaf978787
|
commit: ee2a90da2f1d7ce12df7153dd944fffdaf978787
|
||||||
|
|
||||||
# - name: mirage
|
|
||||||
# buildsystem: qmake
|
|
||||||
# sources:
|
|
||||||
# - type: dir
|
|
||||||
# path: .
|
|
||||||
|
|
||||||
- name: mirage
|
- name: mirage
|
||||||
buildsystem: qmake
|
buildsystem: qmake
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: dir
|
||||||
url: https://github.com/mirukana/mirage.git
|
path: .
|
||||||
tag: v0.4.0
|
|
||||||
|
# - name: mirage
|
||||||
|
# buildsystem: qmake
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/mirukana/mirage.git
|
||||||
|
# tag: v0.4.1
|
||||||
|
|
|
@ -43,10 +43,11 @@ dev {
|
||||||
shortcuts.path = $$PREFIX/share/applications
|
shortcuts.path = $$PREFIX/share/applications
|
||||||
shortcuts.files = extra/linux/mirage.desktop
|
shortcuts.files = extra/linux/mirage.desktop
|
||||||
|
|
||||||
icons.path = $$PREFIX/share/pixmaps
|
icons256.path = $$PREFIX/share/icons/hicolor/256x256/apps
|
||||||
icons.files = extra/linux/mirage.png
|
icons256.extra = mkdir -p $(INSTALL_ROOT)/$$PREFIX/share/icons/hicolor/256x256/apps && cp $$PWD/extra/linux/mirage.png $(INSTALL_ROOT)/$$PREFIX/share/icons/hicolor/256x256/apps/$${TARGET}.png
|
||||||
|
INSTALLS += icons256
|
||||||
|
|
||||||
INSTALLS += executables shortcuts icons
|
INSTALLS += executables shortcuts icons256
|
||||||
}
|
}
|
||||||
|
|
||||||
!dev:win32 {
|
!dev:win32 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user