2021-01-31 09:35:10 +03:00
name : blue-recorder # you probably want to 'snapcraft register <name>'
2023-10-28 19:25:29 +03:00
base : core22 # the base snap is the execution environment for this snap
2021-02-22 12:22:06 +03:00
version : git # just for humans, typically '1.2+git' or '1.3.2'
summary : A simple screen recorder for Linux desktop. Supports Wayland & Xorg # 79 char long summary
2021-01-31 09:35:10 +03:00
description : |
2021-02-24 00:06:03 +03:00
A simple desktop recorder for Linux systems. Built using Rust, GTK+ 3 and ffmpeg. It supports recording audio and video on almost all Linux interfaces with support for Wayland display server on GNOME session.
2021-03-08 03:12:20 +03:00
The following formats are currently supported : mkv, avi, mp4, wmv, gif and nut. You can stop the recording process easily by right-clicking the icon and choosing "Stop Record". Or middle-clicking the recording icon in the notifications area (but doesn't work on all interfaces).
2021-01-31 09:35:10 +03:00
You can choose the audio input source you want from the list. You can also set the default values you want by simply changing them in the interface, and the program will save them for you for the next time you open it.
2021-02-22 12:22:06 +03:00
Based on GREEN RECORDER but rewritten in RUST
2023-10-28 19:25:29 +03:00
adopt-info : blue-recorder
2021-01-31 09:35:10 +03:00
grade : stable # must be 'stable' to release into candidate/stable channels
2023-10-28 19:25:29 +03:00
confinement : devmode # use 'strict' once you have the right plugs and slots
2021-01-31 09:35:10 +03:00
compression : lzo
parts :
2023-10-28 19:25:29 +03:00
rust-deps :
plugin : nil
build-packages :
- curl
override-pull : |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
2021-01-31 09:35:10 +03:00
blue-recorder :
plugin : rust
2021-02-22 12:22:06 +03:00
source : .
2023-10-28 19:25:29 +03:00
after : [ rust-deps]
2021-01-31 09:35:10 +03:00
stage-snaps :
- ffmpeg
stage-packages :
- x11-utils
2023-10-28 19:25:29 +03:00
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-ugly
- gstreamer1.0-libav
2021-01-31 09:35:10 +03:00
build-packages :
2021-02-24 00:06:03 +03:00
- clang
- gettext
2021-01-31 09:35:10 +03:00
- build-essential
2023-10-28 19:25:29 +03:00
- libgstreamer-plugins-bad1.0-dev
- libgstreamer-plugins-base1.0-dev
- libgstreamer1.0-dev
override-pull : | # set version from Cargo.toml
craftctl default
craftctl set version=$(cat Cargo.toml | grep version | head -n1 | cut -d"=" -f2 | awk '{$1=$1};1' | tr -d '"')
2021-02-22 12:22:06 +03:00
override-build : |
2023-10-28 19:25:29 +03:00
craftctl default
cp -a data interfaces po $CRAFT_PART_INSTALL
cp -a target/release/blue-recorder $CRAFT_PART_INSTALL/blue-recorder
2021-01-31 09:35:10 +03:00
apps :
blue-recorder :
2021-02-22 12:22:06 +03:00
command : blue-recorder
2021-07-11 20:19:38 +03:00
desktop : data/snap/blue-recorder.desktop
2021-01-31 09:35:10 +03:00
extensions :
2023-10-28 19:25:29 +03:00
- gnome
2021-01-31 09:35:10 +03:00
plugs :
- desktop
- home
- audio-playback
- audio-record
2023-10-28 19:25:29 +03:00
- wayland
- x11
2021-02-22 16:21:33 +03:00
- screencast-legacy # for wayland support
2023-10-28 19:25:29 +03:00
# slots:
# - dbus-daemon
# common-id: sa.sy.blue-recorder
2021-01-31 09:35:10 +03:00
2023-10-28 19:25:29 +03:00
# slots:
# dbus-daemon:
# interface: dbus
# bus: session
# name: sa.sy.blue-recorder