From 2df3aaf9665a3320fbd8474482404c3fe9c4358e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-ren=20Lin=29?= Date: Sun, 28 Apr 2019 14:40:44 +0800 Subject: [PATCH] Migrate to core base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Snapcraft now supports a special `core` base for modern snaps to target on which has the same effect of using the Ubuntu 16.04 based `core` snap in the past(it is special as the intended base snap to support Ubuntu 16.04 is rather the `core16` base snap, but it isn't ready yet). This patch migrates the gallery-dl snap to `core` base, which allows the user to avoid installing the additional `core18` base snap in order to run it. It also drops the redundant stage-packages entries that was collected by Snapcraft automatically in the first place. Signed-off-by: ๆž—ๅšไป(Buo-ren Lin) --- snap/snapcraft.yaml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f104bd80..4be3a901 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -15,7 +15,7 @@ # https://forum.snapcraft.io/c/snapcraft name: gallery-dl license: GPL-2.0 -base: core18 +base: core summary: Download image-galleries and -collections from several image hosting sites description: | `gallery-dl` is a command-line program to download image-galleries and -collections from several image hosting sites (see [Supported Sites][1]). It is a cross-platform tool with many configuration options and powerful filenaming capabilities. @@ -92,17 +92,6 @@ parts: plugin: nil stage-packages: - ffmpeg - - libavcodec57 - - libavdevice57 - - libavfilter6 - - libavformat57 - - libavresample3 - - libavutil55 - - libpostproc54 - - libpulse0 - - libslang2 - - libswresample2 - - libswscale4 apps: gallery-dl: