From 32e046d9c5ef4e8b689e4bc8d1e99a5178fbc485 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sun, 5 Jun 2016 16:35:43 -0500 Subject: Initial build to get the binaries installed, needs more work (bzr r14950.1.1) --- snapcraft.sh | 6 ++++++ snapcraft.yaml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100755 snapcraft.sh create mode 100644 snapcraft.yaml diff --git a/snapcraft.sh b/snapcraft.sh new file mode 100755 index 000000000..7e12fe964 --- /dev/null +++ b/snapcraft.sh @@ -0,0 +1,6 @@ +#!/bin/sh -e + +export INKSCAPE_PORTABLE_PROFILE_DIR="${SNAP_USER_DATA}" +export INKSCAPE_LOCALEDIR="${SNAP}/share/locale/" + +exec $@ diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 000000000..fc290a80f --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,31 @@ +name: inkscape +version: 0.91+devel +summary: Vector Graphics Editor +description: | + An Open Source vector graphics editor, with capabilities similar to + Illustrator, CorelDraw, or Xara X, using the W3C standard Scalable Vector + Graphics (SVG) file format. + + Inkscape supports many advanced SVG features (markers, clones, alpha blending, + etc.) and great care is taken in designing a streamlined interface. + It is very easy to edit nodes, perform complex path operations, trace + bitmaps and much more. + + We also aim to maintain a thriving user and developer community by using + open, community-oriented development. +confinement: devmode # use "strict" to enforce system access only via declared interfaces + +parts: + inkscape: + plugin: cmake + source: . + snapcraft-wrapper: + plugin: copy + files: + snapcraft.sh: snapcraft.sh + +apps: + inkscape: + command: snapcraft.sh inkscape + viewer: + command: snapcraft.sh inkview -- cgit v1.2.3