You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=yt-dlp
  3. PKG_VERSION:=2022.5.18
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=yt-dlp
  6. PKG_HASH:=3a7b59d2fb4b39ce8ba8e0b9c5a37fe20e5624f46a2346b4ae66ab1320e35134
  7. PKG_MAINTAINER:=Michal Vasilek <michal.vasilek@nic.cz>
  8. PKG_LICENSE:=Unlicense
  9. PKG_LICENSE_FILES:=LICENSE
  10. include ../../lang/python/pypi.mk
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../../lang/python/python3-package.mk
  13. define Package/yt-dlp
  14. SECTION:=multimedia
  15. CATEGORY:=Multimedia
  16. TITLE:=Utility to download videos from YouTube.com
  17. URL:=https://github.com/yt-dlp/yt-dlp
  18. PROVIDES:=youtube-dl
  19. DEPENDS:= \
  20. +ca-certificates \
  21. +python3-asyncio \
  22. +python3-codecs \
  23. +python3-ctypes \
  24. +python3-email \
  25. +python3-openssl \
  26. +python3-sqlite3 \
  27. +python3-urllib \
  28. +python3-xml
  29. endef
  30. define Package/yt-dlp/description
  31. yt-dlp is a small command-line program to download videos
  32. from YouTube.com and other video sites.
  33. It requires the Python3 interpreter.
  34. endef
  35. $(eval $(call Py3Package,yt-dlp))
  36. $(eval $(call BuildPackage,yt-dlp))
  37. $(eval $(call BuildPackage,yt-dlp-src))