-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
com.github.davidmhewitt.torrential.yml
55 lines (55 loc) · 1.73 KB
/
com.github.davidmhewitt.torrential.yml
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
app-id: com.github.davidmhewitt.torrential
runtime: io.elementary.Platform
runtime-version: '8'
sdk: io.elementary.Sdk
command: com.github.davidmhewitt.torrential
finish-args:
- '--share=ipc'
- '--socket=fallback-x11'
- '--socket=wayland'
- '--share=network'
# Needs to detect .torrent files and write downloaded torrents to Downloads folder
- '--filesystem=xdg-download'
# Needed for "Show in file manager" action on torrents
- '--talk-name=org.freedesktop.FileManager1'
cleanup:
- '*.a'
- '*.la'
- '/include'
modules:
- name: libevent
buildsystem: autotools
sources:
- type: archive
url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
- name: transmission
buildsystem: cmake
builddir: true
post-install: [
cp third-party/dht/lib/libdht.a /app/lib/,
cp third-party/b64/lib/libb64.a /app/lib/,
cp third-party/miniupnpc/lib/libminiupnpc.a /app/lib/,
cp third-party/natpmp/lib/libnatpmp.a /app/lib/,
cp third-party/utp/lib/libutp.a /app/lib/
]
config-opts: [
-DENABLE_TESTS=OFF,
-DENABLE_GTK=OFF,
-DINSTALL_DOC=OFF,
-DENABLE_DAEMON=OFF,
-DENABLE_UTILS=OFF,
-DINSTALL_LIB=ON
]
sources:
- type: archive
url: https://github.com/transmission/transmission/releases/download/3.00/transmission-3.00.tar.xz
sha256: 9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2
- type: patch
path: transmission-legacy-ssl.patch
- name: torrential
buildsystem: meson
builddir: true
sources:
- type: dir
path: .