Skip to content

Instantly share code, notes, and snippets.

@sukso96100
Last active January 31, 2017 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sukso96100/a30d3afbf3d823af1f510a2abceb2104 to your computer and use it in GitHub Desktop.
Save sukso96100/a30d3afbf3d823af1f510a2abceb2104 to your computer and use it in GitHub Desktop.
snapcraft file for nimf
name: nimf # you probably want to 'snapcraft register <name>'
version: '2017.01.28' # just for humans, typically '1.2+git' or '1.3.2'
summary: Nimf is an input method framework # 79 char long summary
description: |
Nimf is an input method framework which has a module-based client-server
architecture in which an application acts as a client and communicates
synchronously with the Nimf server via a unix socket.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
nimf-daemon:
command: bin/nimf-daemon
plugs: [x11, gsettings, dbus, locale-control]
nimf-indicator:
command: bin/nimf-indicator
plugs: [x11, gsettings, dbus, locale-control]
nimf-settings:
command: bin/nimf-settings
plugs: [x11, gsettings, dbus, locale-control]
parts:
nimf:
plugin: autotools
source: https://github.com/cogniti/nimf/archive/2017.01.28.tar.gz
build-packages: [libgtk-3-dev, libgtk-3-bin, libgtk2.0-dev, libqt4-dev, qtbase5-dev, qtbase5-private-dev, libappindicator3-dev, libglib2.0-dev, libgirepository1.0-dev, pkg-config, librsvg2-bin, intltool, fonts-noto-cjk, libhangul-dev, libsunpinyin-dev, sunpinyin-data, anthy, libanthy-dev, libchewing3-dev, librime-dev, libxkbcommon-dev]
stage-packages: [libanthy0, libappindicator3-1, libc6, libchewing3, libgcc1, libglib2.0-0, libgtk-3-0, libgtk2.0-0, libhangul1, libpango-1.0-0, libqt5core5a, libqt5gui5, libqt5gui5-gles, libqt5widgets5, libqtcore4, libqtgui4, librime1, libstdc++6, libsunpinyin3v5, libx11-6, dconf-gsettings-backend, anthy, sunpinyin-data, libcanberra-gtk-module, gir1.2-gdkpixbuf-2.0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment