11name : bittorrent-tracker-editor
22version : ' 1.33.0'
33base : core22
4- summary : Software for add or remove tracker from torrent files.
4+ summary : Add or remove tracker from torrent files.
55description : |
66 Features:
77 - Select one torrent file or a folder with torrent files.
88 - Add one or more trackers at the same time.
99 - Remove one or more trackers at the same time.
1010 - Remove all the trackers to create trackerless torrent. DHT torrent
1111 - Change public/private flag. Warning: This will change the torrent info HASH.
12- - Preset add/remove tracker via add_trackers.txt and remove_trackers.txt files.
13- - Optional start as console program.
1412 - Show torrent files content.
1513 - Download stable trackers from newTrackon or ngosang
1614grade : stable
@@ -19,75 +17,45 @@ confinement: strict
1917architectures :
2018 - build-on : amd64
2119 - build-on : arm64
22- - build-on : armhf
2320
2421apps :
2522 bittorrent-tracker-editor :
26- command : app/trackereditor -disableaccurateframe
23+ extensions :
24+ - kde-neon
25+ command : app/trackereditor
2726 environment :
2827 # Fallback to XWayland if running in a Wayland session.
2928 DISABLE_WAYLAND : 1
3029 plugs :
31- - desktop
32- - desktop-legacy
33- - x11
34- - unity7
3530 - home
3631 - network
37- - wayland
3832 - removable-media
39-
40- build-packages :
41- - fpc
42- - fpc-source
43- - lcl-nogui
44- - lazarus
33+ - pulseaudio
4534
4635parts :
4736 bittorrent-tracker-editor :
4837 source : https://github.com/GerryFerdinandus/bittorrent-tracker-editor.git
4938 plugin : nil
5039 override-build : |
5140 snapcraftctl build
52- lazbuild --build-mode=Release --widgetset=gtk2 source/project/tracker_editor/trackereditor.lpi
41+ lazbuild --build-mode=Release --widgetset=qt5 source/project/tracker_editor/trackereditor.lpi
5342 mkdir $CRAFT_PART_INSTALL/app
5443 mv enduser/trackereditor $CRAFT_PART_INSTALL/app
5544 build-packages :
56- - libgtk2.0-dev
57- stage-packages :
58- - libgtk2.0-0
59- - openssl
45+ - fpc
46+ - fpc-source
47+ - lcl-nogui
48+ - lazarus
49+ - libqt5pas-dev
6050
61- # This part removes all the files in this snap which already exist in
62- # connected content and base snaps. Since these files will be available
63- # at runtime from the content and base snaps, they do not need to be
64- # included in this snap itself.
65- #
66- # More info: https://forum.snapcraft.io/t/reducing-the-size-of-desktop-snaps/17280#heading--cleanup-part
67- #
68- cleanup :
69- after : # Make this part run last; list all your other parts here
70- - bittorrent-tracker-editor
51+ libQt5Pas :
7152 plugin : nil
72- build-snaps : # List all content-snaps and base snaps you're using here
73- - core22
74- - gtk-common-themes
75- override-prime : |
76- set -eux
77- for snap in "core22" "gtk-common-themes"; do # List all content-snaps and base snaps you're using here
78- cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \;
79- done
53+ stage-packages :
54+ - libqt5pas1
55+ prime :
56+ - usr/lib/*/libQt5Pas.*
8057
81- plugs :
82- gtk-2-engines :
83- interface : content
84- target : $SNAP/lib/gtk-2.0
85- default-provider : gtk2-common-themes
86- icon-themes :
87- interface : content
88- target : $SNAP/data-dir/icons
89- default-provider : gtk-common-themes
90- sound-themes :
91- interface : content
92- target : $SNAP/data-dir/sounds
93- default-provider : gtk-common-themes
58+ # Only 2 files are explicitly added in this snap: trackereditor + libQt5Pas.so
59+ # No need to add a cleanup process. There's nothing to clean up.
60+ #
61+ # Use: 'unsquashfs *.snap' to look what is inside the snap file.
0 commit comments