From 17637b0663599f87d7dd51adb0930d82c5e8f6de Mon Sep 17 00:00:00 2001 From: Salem Yaslem Date: Wed, 24 Feb 2021 00:06:03 +0300 Subject: [PATCH] reduce snap package size --- snap/snapcraft.yaml | 19 +++---------------- tests | 7 +++++++ 2 files changed, 10 insertions(+), 16 deletions(-) create mode 100644 tests diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f7cf4a6..9069d79 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -3,7 +3,7 @@ base: core18 # the base snap is the execution environment for this snap 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 description: | - A simple desktop recorder for Linux systems. Built using Python, GTK+ 3 and ffmpeg. It supports recording audio and video on almost all Linux interfaces. Also, Blue Recorder is the first desktop program to support Wayland display server on GNOME session. + 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. The following formats are currently supported: mkv, avi, mp4, wmv, gif and nut (And only WebM for Wayland's GNOME session). 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). 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. Based on GREEN RECORDER but rewritten in RUST @@ -19,26 +19,13 @@ parts: stage-snaps: - ffmpeg stage-packages: - - libgirepository1.0-dev - - libgstreamer1.0-0 - - gstreamer1.0-plugins-base - - gstreamer1.0-plugins-good - - gstreamer1.0-pulseaudio - - pulseaudio - - gir1.2-appindicator3-0.1 - libappindicator3-dev - - libglu1-mesa - - freeglut3 - - libgpm2 - - libslang2 - - imagemagick - - gawk - - gettext - x11-utils - xdg-utils build-packages: - - clang - libappindicator3-dev + - clang + - gettext - build-essential override-build: | snapcraftctl build diff --git a/tests b/tests new file mode 100644 index 0000000..111e1cf --- /dev/null +++ b/tests @@ -0,0 +1,7 @@ +full packages: +lzo = 300M +xz = 228M + +only needed packages: +lzo = 226M +xz = 170M \ No newline at end of file