-
Notifications
You must be signed in to change notification settings - Fork 6
/
com.cisco.PacketTracer.yml
52 lines (48 loc) · 1.89 KB
/
com.cisco.PacketTracer.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
app-id: com.cisco.PacketTracer
runtime: org.kde.Platform
runtime-version: '5.15-22.08'
sdk: org.kde.Sdk
base: io.qt.qtwebengine.BaseApp
base-version: '5.15-22.08'
command: /app/pt/packettracer
separate-locales: false
tags:
- proprietary
finish-args:
- --share=ipc
- --share=network
- --socket=x11
- --socket=pulseaudio
- --device=dri
- --filesystem=xdg-download
- --persist=.
- --env=TZ=
modules:
- name: packettracer
buildsystem: simple
build-commands:
- install -D com.cisco.PacketTracer.appdata.xml /app/share/metainfo/com.cisco.PacketTracer.appdata.xml
- ar x Packet_Tracer821_amd64_signed.deb
- xz -d data.tar.xz
- tar -xf data.tar
- find opt/pt/saves opt/pt/templates opt/pt/templates/environments -type d -exec chmod 755 {} +
- find opt/pt/saves opt/pt/templates opt/pt/templates/environments -type f -exec chmod 644 {} +
- mv opt/pt /app
- install -D /app/pt/art/app.png /app/share/icons/hicolor/48x48/apps/com.cisco.PacketTracer.png
- install -D com.cisco.PacketTracer.png /app/share/icons/hicolor/128x128/apps/com.cisco.PacketTracer.png
- install -D com.cisco.PacketTracer.desktop /app/share/applications/com.cisco.PacketTracer.desktop
- install -D com.cisco.PacketTracer.url.desktop /app/share/applications/com.cisco.PacketTracer.url.desktop
- sed -i -e 's\/opt/\/app/\g' /app/pt/packettracer /app/pt/linguist
- sed -i -e 's\"$@"\-style windows "$@"\;' /app/pt/packettracer /app/pt/linguist
sources:
- type: file
path: Packet_Tracer821_amd64_signed.deb
sha256: 428338ac32a474d4c9e930433c202cfa5d7b24b9eca50165972f41eb484e07ba
- type: file
path: com.cisco.PacketTracer.appdata.xml
- type: file
path: com.cisco.PacketTracer.desktop
- type: file
path: com.cisco.PacketTracer.url.desktop
- type: file
path: com.cisco.PacketTracer.png