Skip to content

Commit

Permalink
Add flatpak manifest (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg authored Jul 8, 2023
1 parent 468dd47 commit 74ff017
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions flatpak/flatpak_install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/vulkanCapsViewer.pro b/vulkanCapsViewer.pro
index 68d3608..447103d 100644
--- a/vulkanCapsViewer.pro
+++ b/vulkanCapsViewer.pro
@@ -35,13 +35,13 @@ linux:!android {
QT += waylandclient
DEFINES += VK_USE_PLATFORM_WAYLAND_KHR
}
- target.path = /usr/bin
+ target.path = /app/bin
INSTALLS += target
desktop.files = vulkanCapsViewer.desktop
- desktop.path = /usr/share/applications
+ desktop.path = /app/share/applications
icon.extra = cp $$PWD/gfx/android_icon_256.png vulkanCapsViewer.png
icon.files = vulkanCapsViewer.png
- icon.path = /usr/share/icons/hicolor/256x256/apps/
+ icon.path = /app/share/icons/hicolor/256x256/apps/
INSTALLS += desktop icon
}
android {
21 changes: 21 additions & 0 deletions flatpak/org.vulkanCapsViewer.VulkanCapsViewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
app-id: org.vulkanCapsViewer.VulkanCapsViewer
runtime: org.kde.Platform
runtime-version: '5.15-22.08'
sdk: org.kde.Sdk
command: vulkanCapsViewer
finish-args:
- --share=ipc
- --share=network
- --socket=x11
- --socket=wayland
- --filesystem=host
- --device=dri
modules:
- name: vulkanCapsViewer
buildsystem: qmake
sources:
- type: git
url: https://github.com/SaschaWillems/VulkanCapsViewer.git
branch: master
- type: patch
path: flatpak_install.patch

0 comments on commit 74ff017

Please sign in to comment.