-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
89 lines (77 loc) · 1.94 KB
/
snapcraft.yaml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: transmissionbt
version: 2.92oparoz3
summary: Download and share using torrents with transmissionbt
description: Download and share files using transmissionbt Bittorrent application on Ubuntu Snappy. Has to be run in devmode
grade: devel
confinement: devmode
apps:
# Transmission daemon
transmission-daemon:
command: transmission-init start
stop-command: transmission-init stop
daemon: forking
plugs: [network, network-bind, mount-observe, home, removable-media]
# mDNS daemon
mdns-publisher:
command: delay-on-failure mdns-publisher transmission
daemon: simple
plugs: [network, network-bind]
# Some tools
wget:
command: wget
plugs: [network]
p7zip:
command: p7zip
transmission-remote:
command: transmission-remote
plugs: [network]
transmission-create:
command: transmission-create
plugs: [network]
parts:
transmission:
plugin: autotools
source: https://github.com/transmission/transmission-releases/raw/master/transmission-2.92.tar.xz
source-type: tar
configflags:
- --without-gtk
- --disable-mac
- --disable-nls
- --disable-cli
- --enable-inotify
build-packages:
- autoconf
- libcurl4-openssl-dev
- libssl-dev
- libglib2.0-dev
- libevent-dev
- libminiupnpc-dev
- libminiupnpc10
- libappindicator-dev
transmission-customizations:
plugin: dump
source: src/transmission/customizations
organize:
settings.json: transmission/
blocklists.sh: transmission/
transmission-init: bin/
mdns-publisher:
plugin: go
go-packages: [github.com/kyrofa/mdns-publisher]
delay-on-failure:
plugin: dump
source: src/delay-on-failure
organize:
delay-on-failure: bin/
wget:
plugin: nil
stage-packages:
- wget
p7zip:
plugin: dump
source: src/tools
organize:
p7zip: bin/
stage-packages:
- p7zip-full
- p7zip-rar