summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2016-06-05 21:35:43 +0000
committerTed Gould <ted@gould.cx>2016-06-05 21:35:43 +0000
commit32e046d9c5ef4e8b689e4bc8d1e99a5178fbc485 (patch)
tree7b4ba4886a99049c6ea4e4a8275f3716c739f09a
parentFix reading of 'stroke-dasharray' when there is a trailing blank. (diff)
downloadinkscape-32e046d9c5ef4e8b689e4bc8d1e99a5178fbc485.tar.gz
inkscape-32e046d9c5ef4e8b689e4bc8d1e99a5178fbc485.zip
Initial build to get the binaries installed, needs more work
(bzr r14950.1.1)
-rwxr-xr-xsnapcraft.sh6
-rw-r--r--snapcraft.yaml31
2 files changed, 37 insertions, 0 deletions
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