This repository has been archived on 2023-01-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
CustomDebian11LiveISO_GUI/Makefile.extra
nodiscc edd2853d23 Makefile.extras: use APT to install additional/unofficial software
- bleachbit-cleanerml, yt-dlp, pidgin-opensteamworks, user.js
- install extra software from .deb packages instead of custom installation script (easier upgrades/removal)
- download all third-party software from the APT repository at https://nodiscc.gitlab.io/toolbox
- Sources: https://gitlab.com/nodiscc/toolbox/-/tree/master/PACKAGING,
- Build logs: https://gitlab.com/nodiscc/toolbox/-/pipelines?page=1&scope=all&ref=master
- no longer install user.js as system-wide default, see /usr/share/doc/user.js/INSTALL
- clean clean target, please rebuild from a clean copy to avoid any caching problems (make clean; git clean -xdiff)
2021-10-23 21:27:36 +02:00

43 lines
2.3 KiB
Makefile

#!/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/
# EXTRA https://github.com/yt-dlp/yt-dlp
$(WGET) https://nodiscc.gitlab.io/toolbox/pool/main/y/yt-dlp/yt-dlp_2021.09.25_amd64.deb
cp cache/downloads/yt-dlp_2021.09.25_amd64.deb config/packages.chroot/
# 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/
# EXTRA https://github.com/nodiscc/user.js
$(WGET) https://nodiscc.gitlab.io/toolbox/pool/main/u/user.js/user.js_0.2-1_all.deb
cp cache/downloads/user.js_0.2-1_all.deb config/packages.chroot/
# EXTRA https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/
# EXTRA https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/
mkdir -p config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
$(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
$(WGET) https://addons.mozilla.org/firefox/downloads/file/3530747/cookie_autodelete-3.1.1-an+fx.xpi -O config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/CookieAutoDelete@kennydo.com.xpi