ubuntu-22.04.3-desktop-amd64/casper/filesystem/etc/apt/apt.conf.d/50appstream

78 lines
2.5 KiB
Plaintext

## This file is provided by appstreamcli(1) to download DEP-11
## metadata files.
Acquire::IndexTargets {
# The YAML metadata files
deb::DEP-11 {
MetaKey "$(COMPONENT)/dep11/Components-$(NATIVE_ARCHITECTURE).yml";
ShortDescription "Components-$(NATIVE_ARCHITECTURE)";
Description "$(RELEASE)/$(COMPONENT) $(NATIVE_ARCHITECTURE) DEP-11 Metadata";
KeepCompressed "true";
KeepCompressedAs "gz";
};
# Small icons for GUI components described in the DEP-11
# YAML metadata.
deb::DEP-11-icons-small {
MetaKey "$(COMPONENT)/dep11/icons-48x48.tar";
ShortDescription "icons-48x48";
Description "$(RELEASE)/$(COMPONENT) DEP-11 48x48 Icons";
KeepCompressed "true";
KeepCompressedAs "gz";
DefaultEnabled "false";
};
# Normal-sized icons for GUI components described in the DEP-11
# YAML metadata.
deb::DEP-11-icons {
MetaKey "$(COMPONENT)/dep11/icons-64x64.tar";
ShortDescription "icons-64x64";
Description "$(RELEASE)/$(COMPONENT) DEP-11 64x64 Icons";
KeepCompressed "true";
KeepCompressedAs "gz";
DefaultEnabled "false";
};
# Icons suitable for HiDPI displays, for GUI components described in
# the DEP-11 YAML metadata.
deb::DEP-11-icons-hidpi {
MetaKey "$(COMPONENT)/dep11/icons-64x64@2.tar";
ShortDescription "icons-64x64@2";
Description "$(RELEASE)/$(COMPONENT) DEP-11 64x64@2 Icons";
KeepCompressed "true";
KeepCompressedAs "gz";
DefaultEnabled "false";
};
# Larger icons that are often used on HiDPI displays as fallback.
deb::DEP-11-icons-large {
MetaKey "$(COMPONENT)/dep11/icons-128x128.tar";
ShortDescription "icons-128x128";
Description "$(RELEASE)/$(COMPONENT) DEP-11 128x128 Icons";
KeepCompressed "true";
KeepCompressedAs "gz";
DefaultEnabled "false";
};
# Even larger icons that are used on HiDPI displays.
deb::DEP-11-icons-large-hidpi {
MetaKey "$(COMPONENT)/dep11/icons-128x128@2.tar";
ShortDescription "icons-128x128@2";
Description "$(RELEASE)/$(COMPONENT) DEP-11 128x128@2 Icons";
KeepCompressed "true";
KeepCompressedAs "gz";
DefaultEnabled "false";
};
};
# Refresh AppStream cache when APT's cache is updated (i.e. apt update)
APT::Update::Post-Invoke-Success {
"if /usr/bin/test -w /var/cache/swcatalog -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null || true; fi";
};