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.9.1
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=yt-dlp
  6. PKG_HASH:=bc74ee255790043e458197aaf25c6c104fefc9fcda4458f652619447ab4ae0d7
  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))