From bbebba213346e0c65a391257869ffd7c821791f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D8=B3=D9=84=D9=8A=D9=85=D8=A7=D9=86?=
<37930867+me00001@users.noreply.github.com>
Date: Fri, 30 Apr 2021 12:29:02 +0300
Subject: [PATCH] last changes from flathub repo and replace category (#4)
* Remove flathub.json
* upgrade runtime
* use only x11
* fix the wrong path
* Category replaced
---
flatpak/flathub.json | 3 ---
flatpak/sa.sy.bluerecorder.metainfo.xml | 2 +-
flatpak/sa.sy.bluerecorder.yaml | 5 ++---
3 files changed, 3 insertions(+), 7 deletions(-)
delete mode 100644 flatpak/flathub.json
diff --git a/flatpak/flathub.json b/flatpak/flathub.json
deleted file mode 100644
index c75b742..0000000
--- a/flatpak/flathub.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "only-arches": ["x86_64"]
-}
diff --git a/flatpak/sa.sy.bluerecorder.metainfo.xml b/flatpak/sa.sy.bluerecorder.metainfo.xml
index d5e8474..5f624f6 100644
--- a/flatpak/sa.sy.bluerecorder.metainfo.xml
+++ b/flatpak/sa.sy.bluerecorder.metainfo.xml
@@ -24,7 +24,7 @@
- Graphics
+ AudioVideo
GTK
diff --git a/flatpak/sa.sy.bluerecorder.yaml b/flatpak/sa.sy.bluerecorder.yaml
index 68bad91..c7b0288 100644
--- a/flatpak/sa.sy.bluerecorder.yaml
+++ b/flatpak/sa.sy.bluerecorder.yaml
@@ -1,6 +1,6 @@
app-id: sa.sy.bluerecorder
runtime: org.gnome.Platform
-runtime-version: "3.38"
+runtime-version: "40"
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
@@ -13,7 +13,6 @@ finish-args:
- --filesystem=home
- --share=ipc
- --socket=x11
- - --socket=wayland
- --socket=pulseaudio
- --device=dri
- --talk-name=org.gnome.Shell.Screencast
@@ -31,7 +30,7 @@ modules:
RUST_BACKTRACE: "1"
build-commands:
- mkdir -p $FLATPAK_DEST/opt $FLATPAK_DEST/share/icons/hicolor/128x128/apps/
- - install -D flatpak/sa.sy.bluerecorder.metainfo.xml -t $FLATPAK_DEST/usr/share/metainfo/
+ - install -D flatpak/sa.sy.bluerecorder.metainfo.xml -t $FLATPAK_DEST/share/metainfo/
- install -D flatpak/sa.sy.bluerecorder.desktop -t $FLATPAK_DEST/share/applications/
- cp -v data/blue-recorder@x128.png $FLATPAK_DEST/share/icons/hicolor/128x128/apps/sa.sy.bluerecorder.png
- cargo --offline fetch --manifest-path Cargo.toml --verbose