summaryrefslogtreecommitdiff
path: root/snap/snapcraft.yaml
blob: 4a141da0107161c93a94d21ec0cbbadfa234079f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: newsboat
version: git
summary: An RSS/Atom feed reader for text terminals
description: |
  Newsboat is a fork of Newsbeuter, an RSS/Atom feed reader for the text 
  console. The only difference is that Newsboat is actively maintained 
  while Newsbeuter isn't.
grade: stable
confinement: strict

apps:
  newsboat:
    command: usr/local/bin/newsboat
    environment:
      LOCPATH: "$SNAP/usr/lib/locale"
    plugs:
      - network
      - home
  podboat:
    command: usr/local/bin/podboat
    aliases: [podboat]
    environment:
      LOCPATH: "$SNAP/usr/lib/locale"
    plugs:
      - network
      - home

parts:
  newsboat:
    plugin: make
    source: .
    build-packages: 
      - pkg-config
      - libsqlite3-dev
      - libcurl4-openssl-dev
      - libxml2-dev
      - libstfl-dev
      - libjson-c-dev
      - libncursesw5-dev
      - asciidoc
      - libxml2-utils
      - xsltproc
      - docbook-xml
      - docbook-xsl
      - libssl-dev
      - gettext
    stage-packages:
      - libxml2
      - librtmp1
      - locales-all
      - libcurl3