lnav/snapcraft.yaml

78 lines
1.7 KiB
YAML
Raw Normal View History

2018-06-26 20:37:30 +00:00
name: lnav
2020-09-23 21:47:44 +00:00
adopt-info: lnav
2020-09-23 21:15:48 +00:00
summary: Log File Navigator
2018-06-26 20:37:30 +00:00
description: |
2020-09-23 21:15:48 +00:00
The Log File Navigator, **lnav** for short, is an advanced log file viewer
for the small-scale.
2018-06-26 20:37:30 +00:00
2021-10-02 00:37:16 +00:00
base: core20
2020-09-24 06:35:13 +00:00
grade: stable
2018-06-26 20:37:30 +00:00
confinement: strict
2021-09-16 13:47:55 +00:00
environment:
LOCPATH: $SNAP/usr/lib/locale
2021-09-27 04:14:54 +00:00
GIT_TEMPLATE_DIR: $SNAP/usr/share/git-core/templates
GIT_EXEC_PATH: $SNAP/usr/lib/git-core
2021-09-16 13:47:55 +00:00
2018-06-26 20:37:30 +00:00
apps:
2018-07-11 05:39:05 +00:00
lnav:
2021-10-02 01:43:14 +00:00
command: usr/bin/lnav
2021-08-25 11:21:07 +00:00
plugs:
2018-06-26 20:37:30 +00:00
- home # optional, allows to read log files from home directory
- log-observe # required, provide access to system logs in /var/log
2021-06-09 02:27:44 +00:00
- network # required, lnav uses sendto() with UNIX domain socket
- removable-media
2021-06-09 02:27:44 +00:00
- ssh-keys
- x11
2018-06-26 20:37:30 +00:00
parts:
2020-09-23 21:47:44 +00:00
selective-checkout:
source: https://github.com/Lin-Buo-Ren/selective-checkout.git
source-tag: v2.0.2
2020-09-23 21:47:44 +00:00
plugin: dump
build-packages:
# Uncomment the VCS your main part is using
- git
2021-09-15 05:58:48 +00:00
- curl
- jq
- sed
2020-09-23 21:47:44 +00:00
#- mercurial
#- subversion
stage:
- scriptlets/selective-checkout
prime:
- -*
2018-06-26 20:37:30 +00:00
lnav:
2020-09-23 21:47:44 +00:00
after:
- selective-checkout
2018-06-26 20:37:30 +00:00
plugin: autotools
source: https://github.com/tstack/lnav.git
2020-09-23 21:47:44 +00:00
source-depth: 500
override-pull: |
snapcraftctl pull
2020-09-24 02:29:02 +00:00
"$SNAPCRAFT_STAGE"/scriptlets/selective-checkout --debug --force-snapshot
2021-08-25 11:21:07 +00:00
build-packages:
2018-06-26 20:37:30 +00:00
- build-essential
2021-06-08 22:35:25 +00:00
- libarchive-dev
2018-06-26 20:37:30 +00:00
- libpcre3-dev
- libsqlite3-dev
2021-10-01 23:19:35 +00:00
- libncursesw6
2018-06-26 20:37:30 +00:00
- libreadline-dev
- zlib1g-dev
- libbz2-dev
- libgpm-dev
2020-09-23 22:05:43 +00:00
stage-packages:
2018-06-26 20:37:30 +00:00
- zlib1g
2021-09-27 04:14:54 +00:00
- git-core
2021-10-01 23:19:35 +00:00
- libncursesw6
2018-06-26 20:37:30 +00:00
- libpcre3
- libgpm2
2021-06-08 22:50:36 +00:00
- libarchive13
2021-10-02 01:08:28 +00:00
- libicu66
2021-06-08 22:50:36 +00:00
- libxml2
- locales-all
2021-09-26 08:54:06 +00:00
- ssh
- xclip