Commit 5924da49 authored by Merlijn Sebrechts's avatar Merlijn Sebrechts 🐼 Committed by Boudewijn Rempt

[snap] upgrade to 4.2.8.2 and use metadata from appstream

parent dea9c67c
......@@ -10,7 +10,7 @@ apt-key adv --keyserver keyserver.ubuntu.com --recv E6D4736255751E5D
echo 'deb http://archive.neon.kde.org/unstable bionic main' > /etc/apt/sources.list.d/neon.list
apt update
snap install --edge --classic snapcraft
snap install --classic snapcraft
snapcraft --version
snapcraft --destructive-mode
......
name: krita
version: 4.2.7.1
summary: Krita is the digital painting studio for artists
description: Krita is a creative application for raster images. Whether you want to create
from scratch or work with existing images, Krita is for you. You can work with
photos or scanned images, or start with a blank slate. Krita supports most
graphics tablets out of the box.
version: 4.2.8.2
adopt-info: krita
base: core18
confinement: strict
apps:
krita:
common-id: org.kde.krita
command: usr/bin/krita
command-chain:
- bin/qt5-launch
plugs: [x11, unity7, home, opengl, network, network-bind, removable-media, desktop, desktop-legacy]
desktop: usr/share/applications/org.kde.krita.desktop
layout:
/usr/bin/ffmpeg:
......@@ -29,16 +27,12 @@ parts:
- "-DBUILD_TESTING=OFF"
- "-DHIDE_SAFE_ASSERTS=OFF"
- "-DKDE_SKIP_TEST_SETTINGS=ON"
source: https://download.kde.org/stable/krita/4.2.7.1/krita-4.2.7.1.tar.xz
# Use these instead to build from the git source
# source: https://anongit.kde.org/krita.git
# source-type: git
# source-branch: master
override-stage: |
# Stage the part
snapcraftctl stage
# Modify the .desktop file in the stage to point to where the icon will be in the installed snap
sed -i 's|Icon=\(.*\)|Icon=${SNAP}/usr/share/icons/hicolor/1024x1024/apps/\1.png|' usr/share/applications/org.kde.krita.desktop
source: https://download.kde.org/stable/krita/4.2.8/krita-$SNAPCRAFT_PROJECT_VERSION.tar.xz
# Use these instead to build from the git source
# source: https://anongit.kde.org/krita.git
# source-type: git
# source-branch: master
parse-info: ["usr/share/metainfo/org.kde.krita.appdata.xml"]
build-packages:
- gettext
- build-essential
......@@ -61,7 +55,7 @@ parts:
- libopenexr-dev
- libpng-dev
- libpoppler-qt5-dev
- libopenjpeg-dev
- libopenjp2-7-dev
- libtiff5-dev
- libvc-dev
- libopencolorio-dev
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment