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:=2021.1.16
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=youtube_dl
  12. PKG_HASH:=acf74701a31b6c3d06f9d4245a46ba8fb6c378931681177412043c6e8276fee7
  13. PKG_MAINTAINER:=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))