Skip to content

Instantly share code, notes, and snippets.

@benwah
Last active April 14, 2017 14:51
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 benwah/7f027dbb50ec2279ba3d603145040546 to your computer and use it in GitHub Desktop.
Save benwah/7f027dbb50ec2279ba3d603145040546 to your computer and use it in GitHub Desktop.
name: emacs
version: 25.1
summary: GNU Emacs 25.1
description: An extensible, customizable, free/libre text editor -- and more.
confinement: strict
apps:
emacs:
command: emacs
plugs:
- home
- x11
- gsettings
- network
- network-bind
ctags:
command: ctags
ebrowse:
command: ebrowse
etags:
command: etags
parts:
emacs:
plugin: autotools
source: http://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.gz
source-type: tar
install-via: prefix
configflags:
- CFLAGS=-no-pie
- --without-makeinfo
- --with-x-toolkit=gtk3
build-packages:
- libgnutls28-dev
- libgtk-3-dev
- libgif-dev
- libxpm-dev
- libjpeg62-turbo-dev
- libtiff5-dev
- libncursesw5-dev
- libsm-dev
- libxft-dev
stage-packages:
- libgdk-pixbuf2.0-0
- libgdk-pixbuf2.0-common
- libgtk-3-0
- libgtk-3-common
- libgtk-3-bin
- libgnutls30
- libgif7
- libxpm4
- libjpeg62-turbo
- libtiff5
- libncursesw5
- libsm6
- libxft2
after:
- desktop/glib-only
install: |
echo $(gdk-pixbuf-query-loaders) > $SNAPCRAFT_PART_INSTALL/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment