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.

48 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=youtube-dl
  9. PKG_VERSION:=2020.5.3
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=youtube_dl
  12. PKG_HASH:=e7a400a61e35b7cb010296864953c992122db4b0d6c9c6e2630f3e0b9a655043
  13. PKG_MAINTAINER:=Adrian Panella <ianchi74@outlook.com>, Josef Schlehofer <pepe.schlehofer@gmail.com>
  14. PKG_LICENSE:=Unlicense
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../../lang/python/pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../../lang/python/python3-package.mk
  19. define Package/youtube-dl
  20. SECTION:=multimedia
  21. CATEGORY:=Multimedia
  22. TITLE:=Utility to download videos from YouTube.com
  23. URL:=https://yt-dl.org
  24. DEPENDS:= \
  25. +ca-certificates \
  26. +python3 \
  27. +python3-email \
  28. +python3-xml \
  29. +python3-codecs \
  30. +python3-ctypes \
  31. +python3-setuptools
  32. endef
  33. define Package/youtube-dl/description
  34. youtube-dl is a small command-line program to download videos
  35. from YouTube.com and other video sites.
  36. It requires the Python3 interpreter.
  37. endef
  38. $(eval $(call Py3Package,youtube-dl))
  39. $(eval $(call BuildPackage,youtube-dl))
  40. $(eval $(call BuildPackage,youtube-dl-src))