-
Notifications
You must be signed in to change notification settings - Fork 34
/
Makefile.extra
59 lines (46 loc) · 3.62 KB
/
Makefile.extra
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
#!/usr/bin/make
# please update doc/md/packages/extras.md after adding changes to this file
WGET=wget --continue --no-verbose --show-progress --directory-prefix=cache/downloads/
all: download_extra
clean:
rm -rvf config/packages.chroot/
rm -rvf cache/downloads
rm -rf config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
clean_all: clean
rm -rvf cache/downloads/
download_extra: clean
# Download additional software from third-party repository (https://nodiscc.gitlab.io/toolbox)
# TODO use the APT repository at build time, but disable it in the final chroot/image
# TODO file ITPs on bugs.debian.org
mkdir -p cache/downloads/ config/packages.chroot/
# EXTRA https://github.com/az0/cleanerml
$(WGET) https://nodiscc.gitlab.io/toolbox/pool/main/b/bleachbit-cleanerml/bleachbit-cleanerml_0.0.1~git0+5bc2961_all.deb
cp cache/downloads/bleachbit-cleanerml_0.0.1~git0+5bc2961_all.deb config/packages.chroot/
# DISABLED https://github.com/yt-dlp/yt-dlp (available in stable-backports)
#$(WGET) https://nodiscc.gitlab.io/toolbox/pool/main/y/yt-dlp/yt-dlp_2022.01.21_amd64.deb
#cp cache/downloads/yt-dlp_2022.01.21_amd64.deb config/packages.chroot/
# DISABLED https://github.com/EionRobb/pidgin-opensteamworks/
#$(WGET) https://nodiscc.gitlab.io/toolbox/pool/main/p/pidgin-opensteamworks/pidgin-opensteamworks_1.7-1_amd64.deb
#cp cache/downloads/pidgin-opensteamworks_1.7-1_amd64.deb config/packages.chroot/
# DISABLED https://github.com/axcore/tartube
#$(WGET) https://nodiscc.gitlab.io/toolbox/pool/main/t/tartube/python3-tartube_2.4.260.deb
#cp cache/downloads/python3-tartube_2.4.260.deb config/packages.chroot/
# EXTRA https://github.com/nodiscc/user.js
$(WGET) https://nodiscc.gitlab.io/toolbox/pool/main/u/user.js/user.js_0.10.0-1_all.deb
cp cache/downloads/user.js_0.10.0-1_all.deb config/packages.chroot/
mkdir -p config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
# DISABLED https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/ (replaced with webext-keepassxc-browser)
# $(WGET) https://addons.mozilla.org/firefox/downloads/file/3465157/keepassxc_browser-latest-fx.xpi -O config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/keepassxc-browser@keepassxc.org.xpi
# EXTRA https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/
$(WGET) https://addons.mozilla.org/firefox/downloads/file/3711829/cookie_autodelete-3.6.0-an+fx.xpi -O config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/CookieAutoDelete@kennydo.com.xpi
# EXTRA https://addons.thunderbird.net/thunderbird/addon/gmail-conversation-view/
mkdir -p config/includes.chroot/usr/lib/thunderbird/extensions/
$(WGET) https://addons.thunderbird.net/thunderbird/downloads/latest/gmail-conversation-view/addon-54035-latest.xpi -O config/includes.chroot/usr/lib/thunderbird/extensions/gconversation@xulforum.org.xpi
# DISABLED https://signal.org/
# RFP https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842943
# requires trusting a third-party repository, adds ~400MB to installation size
# echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/signal-desktop.key.chroot.asc] https://updates.signal.org/desktop/apt xenial main' > config/archives/signal-desktop.list.chroot
# cp config/archives/signal-desktop.list.chroot config/archives/signal-desktop.list.binary
# wget -O config/archives/signal-desktop.key.chroot https://updates.signal.org/desktop/apt/keys.asc
# cp config/archives/signal-desktop.key.chroot config/archives/signal-desktop.key.binary
# echo "signal-desktop" > config/package-lists/signal-desktop.list.chroot