From 9e88cda52cc24878d0bf559951b458af82bfefac 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: Mon, 23 Apr 2018 08:12:02 +0800 Subject: [PATCH] WIP: Implementing snap definition file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently NOT buildable due to missing boost library dependency etc. Signed-off-by: ๆž—ๅšไป(Buo-ren Lin) --- snappy/snap/snapcraft.yaml | 81 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 snappy/snap/snapcraft.yaml diff --git a/snappy/snap/snapcraft.yaml b/snappy/snap/snapcraft.yaml new file mode 100644 index 0000000000..5a0e7342f3 --- /dev/null +++ b/snappy/snap/snapcraft.yaml @@ -0,0 +1,81 @@ +name: poedit +version: '0.0.0-git' +summary: Gettext translations editor for OS X, Windows and Unix. +description: | + This program is a GUI frontend to GNU Gettext utilities and a catalogs + editor/source code parser. It helps with translating applications into + other languages. +grade: devel # must be 'stable' to release into candidate/stable channels +confinement: devmode # use 'strict' once you have the right plugs and slots +icon: ../artwork/linux/appicon/512x512/apps/poedit.png + +parts: + poedit: + plugin: autotools + source: ../.git + source-type: git + source-depth: 1 + build-packages: + - asciidoc + - debhelper + - gettext + - libboost-dev + - libboost-iostreams-dev + - libboost-regex-dev + - libboost-system-dev + - libboost-thread-dev + - libcld2-dev + - libcpprest-dev + - libdb++-dev + - libgtk2.0-dev + - libgtkspell-dev + - libicu-dev + - liblucene++-dev + - libsecret-1-dev + - libwxgtk3.0-dev + #- nlohmann-json-dev + - xsltproc + - xmlto + - zip + prepare: ./bootstrap + stage-packages: + - gettext + filesets: + executables: [usr/local/bin/*] + freedesktop-desktop-entries: [usr/local/share/applications/*] + manpages: [usr/local/share/man] + miscellaneous-files: [usr/local/share/woeusb/*] + icons: [usr/local/share/icons] + localizations: [usr/local/share/locale] + manpages: [usr/local/share/man] + pixmaps: [usr/local/share/pixmaps] + resources: [usr/local/share/poedit] + after: [boostlib] + boostlib: + plugin: dump + source: ../deps/boost + source-type: local + prepare: ./bootstrap.sh + build-packages: + - dctrl-tools + - zlib1g-dev + - libbz2-dev + - libicu-dev + - mpi-default-dev + - bison + - flex + - docbook-to-man + - help2man + - xsltproc + - g++ + - g++-6 + - python + - python-all-dev + - python3 + - python3-all-dev + build: ./b2 install +apps: + poedit: + command: usr/local/bin/poedit + plugs: [home, removable-media, x11] + desktop: usr/local/share/applications/poedit.desktop