Scroll to navigation

DH_KODIADDON_DEPENDS(1) User Contributed Perl Documentation DH_KODIADDON_DEPENDS(1)

NAME

dh_kodiaddon_depends - Provides substvars for Kodi addons

SYNOPSIS

dh_kodiaddon_depends [debhelper options]

DESCRIPTION

dh_kodiaddon_depends is a debhelper program, that is responsible for setting substvars providing the Kodi addon-API dependencies. Kodi provides a virtual package for each API which might be used by an addon. The following substvars will be set to a dependency clause which can be used directly in the "Depends"-line of the addons debian/control:

${kodi:AUDIODECODERAPI} (ADDON_INSTANCE_VERSION_AUDIODECODER) ${kodi:AUDIOENCODERAPI} (ADDON_INSTANCE_VERSION_AUDIOENCODER) ${kodi:AUDIOENGINEAPI} (ADDON_GLOBAL_VERSION_AUDIOENGINE) ${kodi:FILESYSTEMAPI} (ADDON_GLOBAL_VERSION_FILESYSTEM) ${kodi:GAMEAPI} (ADDON_INSTANCE_VERSION_GAME) ${kodi:GENERALAPI} (ADDON_GLOBAL_VERSION_GENERAL) ${kodi:GUIAPI} (ADDON_GLOBAL_VERSION_GUI) ${kodi:IMAGEDECODERAPI} (ADDON_INSTANCE_VERSION_IMAGEDECODER) ${kodi:INPUTSTREAMAPI} (ADDON_INSTANCE_VERSION_INPUTSTREAM) ${kodi:MAINAPI} (ADDON_GLOBAL_VERSION_MAIN) ${kodi:NETWORKAPI} (ADDON_GLOBAL_VERSION_NETWORK) ${kodi:PERIPHERALAPI} (ADDON_INSTANCE_VERSION_PERIPHERAL) ${kodi:PVRAPI} (ADDON_INSTANCE_VERSION_PVR) ${kodi:SCREENSAVERAPI} (ADDON_INSTANCE_VERSION_SCREENSAVER) ${kodi:VFSAPI} (ADDON_INSTANCE_VERSION_VFS) ${kodi:VIDEOCODECAPI} (ADDON_INSTANCE_VERSION_VIDEOCODEC) ${kodi:VISUALIZATIONAPI} (ADDON_INSTANCE_VERSION_VISUALIZATION)

EXAMPLES

dh_kodiaddon_depends is usually called indirectly in a rules file via the dh command.

        %:
                dh $@ --with kodiaddon

It can also be called directly, prior to calling dh_gencontrol.

CONFORMS TO

Debian policy, version 3.8.1

SEE ALSO

debhelper(7)

This program is not a part of debhelper.

AUTHOR

Tobias Grimm <tobias.grimm@e-tobi.net>

2024-09-12 perl v5.38.2