Skip to content

Commit c5515ec

Browse files
PeterDaveHelloqu1ck
authored andcommitted
Add basic snap package files, transmission-remote-gui#1109
1 parent c3a9bbb commit c5515ec

File tree

3 files changed

+82
-0
lines changed

3 files changed

+82
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2+
# snap package build via snapcraft
3+
/*.snap
4+
/snap/.snapcraft/
5+
/stage/
6+
/parts/
7+
/prime/
8+
19
### https://raw.github.com/github/gitignore/8edb8a95c4c4b3dce71a378aaaf89275510b9cef/Global/Lazarus.gitignore
210

311
# Lazarus compiler-generated binaries (safe to delete)

snap/local/transgui.desktop

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[Desktop Entry]
2+
Version=1.0
3+
Name=TransGUI
4+
GenericName=Transmission Remote GUI
5+
Comment=Transmission Remote GUI
6+
Exec=@bindir@/transgui
7+
TryExec=@bindir@/transgui
8+
Icon=transgui
9+
Terminal=false
10+
Type=Application
11+
Categories=Internet;
12+
MimeType=application/x-bittorrent
13+
X-KDE-Protocols=magnet
14+
Keywords=Torrent;Transmission;

snap/snapcraft.yaml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
name: transgui
3+
version: version
4+
summary: Transmission Remote GUI
5+
version-script: cat VERSION.txt
6+
description: |
7+
Transmission Remote GUI is feature rich cross platform front-end
8+
to remotely control Transmission daemon via its RPC protocol.
9+
It is faster and has more functionality than builtin Transmission
10+
web interface.
11+
icon: transgui.png
12+
grade: stable
13+
confinement: strict
14+
15+
parts:
16+
transgui:
17+
plugin: dump
18+
source: .
19+
prime:
20+
- etc
21+
- usr
22+
- var
23+
- lib
24+
- lang
25+
- LICENSE
26+
- transgui
27+
- transgui.desktop
28+
- README.md
29+
- history.txt
30+
- transgui.png
31+
override-build: |
32+
snapcraftctl build
33+
sed -i 's|Icon=transgui|Icon=${SNAP}/transgui.png|' ${SNAPCRAFT_PART_INSTALL}/transgui.desktop
34+
build-packages:
35+
- git
36+
- make
37+
- lazarus
38+
- coreutils
39+
stage-packages:
40+
- libx11-6
41+
- libcairo2
42+
- libssl-dev
43+
- libatk1.0-0
44+
- libgtk2.0-0
45+
- libglib2.0-0
46+
- libpango-1.0-0
47+
- libgdk-pixbuf2.0-0
48+
49+
apps:
50+
transgui:
51+
desktop: transgui.desktop
52+
plugs:
53+
- desktop
54+
- desktop-legacy
55+
- wayland
56+
- x11
57+
- unity7
58+
- network
59+
- home
60+
command: transgui

0 commit comments

Comments
 (0)