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.

50 lines
1.3 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:=2019.9.12.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=youtube_dl-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/y/youtube_dl/
  13. PKG_HASH:=d61dd64e81a4cc026726b25981faf8ef8453363598483d51f7dc6f6d5580a78f
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/youtube_dl-$(PKG_VERSION)
  15. PKG_MAINTAINER:=Adrian Panella <ianchi74@outlook.com>, Josef Schlehofer <pepe.schlehofer@gmail.com>
  16. PKG_LICENSE:=Unlicense
  17. PKG_LICENSE_FILES:=LICENSE
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../../lang/python/python3-package.mk
  20. define Package/youtube-dl
  21. SECTION:=multimedia
  22. CATEGORY:=Multimedia
  23. TITLE:=Utility to download videos from YouTube.com
  24. URL:=https://yt-dl.org
  25. DEPENDS:= \
  26. +ca-certificates \
  27. +python3 \
  28. +python3-email \
  29. +python3-xml \
  30. +python3-codecs \
  31. +python3-ctypes \
  32. +python3-setuptools
  33. VARIANT:=python3
  34. endef
  35. define Package/youtube-dl/description
  36. youtube-dl is a small command-line program to download videos
  37. from YouTube.com and other video sites.
  38. It requires the Python3 interpreter.
  39. endef
  40. $(eval $(call Py3Package,youtube-dl))
  41. $(eval $(call BuildPackage,youtube-dl))
  42. $(eval $(call BuildPackage,youtube-dl-src))