Skip to content

Commit

Permalink
WIP: Implementing snap definition file
Browse files Browse the repository at this point in the history
Currently NOT buildable due to missing boost library dependency etc.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
  • Loading branch information
brlin-tw committed Apr 23, 2018
1 parent 06fc20a commit 9e88cda
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions snappy/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9e88cda

Please sign in to comment.