DH_KODI...DEPENDS(1)

πŸ’– dh_kodiaddon_depends β€” yes bestie, that's the whole name πŸ’–

okay so this is the user-contributed Perl doc for dh_kodiaddon_depends, aka the little debhelper gremlin that sorts out your Kodi addon dependencies so you don't have to. it's giving "I do the boring paperwork so you can go be iconic." πŸŽ€


✨ NAME ✨

dh_kodiaddon_depends β€” provides substvars for Kodi addons πŸ’…

✨ SYNOPSIS ✨

dh_kodiaddon_depends [debhelper options]

✨ DESCRIPTION ✨

So like. dh_kodiaddon_depends is a debhelper program, and its whole job β€” its main character moment β€” is setting up substvars that carry the Kodi addon-API dependencies for you. 🫢

Here's the tea: Kodi hands out a virtual package for every API an addon might wanna use. This program scoops those up and sets substvars to a dependency clause you can drop straight into the Depends-line of your addon's debian/control. no cap, just paste it in. ✨

And here's every single one of them, literally all of them, because we do not skip entries in this household:

  • ${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)

that's the whole roster. seventeen baddies. 🌈

✨ EXAMPLES ✨

Usually you don't even call this one yourself β€” it gets called indirectly from a rules file through the dh command, like the lowkey efficient queen it is:

%:
    dh $@ --with kodiaddon

You can also call it directly, but only prior to calling dh_gencontrol. order matters, bestie. πŸ¦‹

✨ CONFORMS TO ✨

Debian policy, version 3.8.1 πŸ‘‘

✨ SEE ALSO ✨

⚠️ real talk: this program is not a part of debhelper. it just hangs out with it. πŸ™ˆ

✨ AUTHOR ✨

Tobias Grimm <tobias.grimm@e-tobi.net> πŸŽ€


and that's a wrap on our little DH_KODI...DEPENDS(1) era 🫢 this page lives in the user-contributed Perl docs, running on perl v5.40.1, dated 2026-06-18. obsessed. periodt. πŸ’œ

πŸ“¦ where this page comes from