## 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) Components"; 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) Icons (48x48)"; 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) Icons (64x64)"; 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) Icons (64x64@2)"; 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) Icons (128x128)"; 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) Icons (128x128@2)"; 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 --source=os > /dev/null || true; fi"; };