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.2.16
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=youtube_dl
  12. PKG_HASH:=b98d240c928a1bd0412b270ccf0d776aae5448672ea374e0af45f6daa3984009
  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))