xdg.eclass

Name

xdg.eclass -- Provides phases for XDG compliant packages.

Description

Utility eclass to update the desktop, icon and shared mime info as laid out in the freedesktop specs & implementations

Supported EAPIs

5 6 7 8

Transitively Provided Eclasses

  • xdg-utils

Exported Phases

  • pkg_postrm

  • pkg_preinst

  • pkg_postinst

Functions

xdg_src_prepare

Prepare sources to work with XDG standards. Note that this function is only defined and exported in EAPIs < 8.

xdg_pkg_preinst

Finds .desktop, icon and mime info files for later handling in pkg_postinst. Locations are stored in XDG_ECLASS_DESKTOPFILES, XDG_ECLASS_ICONFILES and XDG_ECLASS_MIMEINFOFILES respectively.

xdg_pkg_postinst

Handle desktop, icon and mime info database updates.

xdg_pkg_postrm

Handle desktop, icon and mime info database updates.

Authors

Original author: Gilles Dartiguelongue <eva@gentoo.org>

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/