mirror of
https://gitlab.com/then-try-this/samplebrain.git
synced 2025-07-04 19:23:34 +00:00
Merge branch 'packaging/flatpak' into 'main'
packaging: Add support for building a Flatpak See merge request then-try-this/samplebrain!4
This commit is contained in:
@ -51,10 +51,15 @@ QMAKE_CXXFLAGS += -O3 -Wall -Wno-unused -std=c++11
|
||||
# assets
|
||||
RESOURCES = app/samplebrain.qrc
|
||||
|
||||
unix:desktopfile.path = /usr/share/applications/
|
||||
PREFIX = $$(PREFIX)
|
||||
isEmpty(PREFIX) {
|
||||
PREFIX = /usr
|
||||
}
|
||||
|
||||
unix:desktopfile.path = $$PREFIX/share/applications/
|
||||
unix:desktopfile.files = desktop/samplebrain.desktop
|
||||
unix:iconfile.path = /usr/share/icons/hicolor/scalable/apps
|
||||
unix:iconfile.path = $$PREFIX/share/icons/hicolor/scalable/apps
|
||||
unix:iconfile.files = desktop/samplebrain.svg
|
||||
|
||||
target.path = /usr/bin
|
||||
target.path = $$PREFIX/bin
|
||||
INSTALLS += target desktopfile iconfile
|
||||
|
Reference in New Issue
Block a user