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.

49 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.3.24
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=youtube_dl
  12. PKG_HASH:=4b03efe439f7cae26eba909821d1df00a9a4eb82741cb2e8b78fe29702bd4633
  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. VARIANT:=python3
  33. endef
  34. define Package/youtube-dl/description
  35. youtube-dl is a small command-line program to download videos
  36. from YouTube.com and other video sites.
  37. It requires the Python3 interpreter.
  38. endef
  39. $(eval $(call Py3Package,youtube-dl))
  40. $(eval $(call BuildPackage,youtube-dl))
  41. $(eval $(call BuildPackage,youtube-dl-src))