summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2018-01-11 22:21:40 +0000
committerTed Gould <ted@gould.cx>2018-01-13 18:24:56 +0000
commit2ae71abdcff846a42ea091c090e0b7f3c743657d (patch)
treef85cc5e36b0a6d5c04c9dbd7597f650244855efc
parentFix tiny default size of preferences dialog (diff)
downloadinkscape-2ae71abdcff846a42ea091c090e0b7f3c743657d.tar.gz
inkscape-2ae71abdcff846a42ea091c090e0b7f3c743657d.zip
Grab the snapcraft.yaml from the 0.92.x branch
-rw-r--r--snap/snapcraft.yaml34
1 files changed, 21 insertions, 13 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 4956ce6a7..4f84ab12f 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,7 +1,7 @@
name: inkscape
-version: 0.92+devel
+version-script: packaging/snappy/version.sh
+version: devel # Replaced at build time ^^^
summary: Vector Graphics Editor
-icon: share/branding/inkscape.svg
description: |
An Open Source vector graphics editor, with capabilities similar to
Illustrator, CorelDraw, or Xara X, using the W3C standard Scalable Vector
@@ -21,7 +21,8 @@ parts:
inkscape:
plugin: cmake
source: .
- configflags: ['-DENABLE_BINRELOC=ON']
+ configflags:
+ - '-DENABLE_BINRELOC=ON'
build-packages:
- cmake
- intltool
@@ -32,6 +33,7 @@ parts:
- libgc-dev
- libgdl-3-dev
- libglib2.0-dev
+ - libgnomevfs2-dev
- libgsl-dev
- libgtk-3-dev
- libgtkmm-3.0-dev
@@ -55,8 +57,6 @@ parts:
- libxml2-dev
- libxslt1-dev
- pkg-config
- - python-dev
- - python-lxml
- zlib1g-dev
stage-packages:
- libaspell15
@@ -65,6 +65,7 @@ parts:
- libcdr-0.1-1
- libgdk-pixbuf2.0-0
- libglibmm-2.4-1v5
+ - libgnomevfs2-0
- libgtkmm-2.4-1v5
- libgtkspell0
- liblcms2-2
@@ -79,26 +80,33 @@ parts:
- imagemagick
- libimage-magick-perl
- libwmf-bin
- - python-lxml
- - python-numpy
- transfig
- - pstoedit
- libsvg-perl
- libxml-xql-perl
- - python-uniconvertor
- ruby
+ stage:
+ - -usr/sbin/update-icon-caches
prime:
- -lib/inkscape/*.a
after: [desktop-gtk3]
snapcraft-wrapper:
plugin: dump
source: packaging/snappy/
+ python-deps:
+ plugin: python
+ python-version: python2
+ python-packages:
+ - lxml
+ - numpy
+ stage-packages:
+ - pstoedit
+ - python-uniconvertor
apps:
inkscape:
- command: snapcraft.sh desktop-launch inkscape
- plugs: [home, unity7, gsettings, cups-control, network]
+ command: desktop-launch ${SNAP}/snapcraft.sh inkscape
+ plugs: [home, unity7, gsettings, cups-control, desktop, desktop-legacy]
desktop: share/applications/inkscape.desktop
viewer:
- command: snapcraft.sh desktop-launch inkview
- plugs: [home, unity7, gsettings]
+ command: desktop-launch ${SNAP}/snapcraft.sh inkview
+ plugs: [home, unity7, gsettings, cups-control, desktop, desktop-legacy]