2016-04-12 06:56:46 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=youtube-dl
|
2019-11-05 23:05:09 +01:00
|
|
|
PKG_VERSION:=2019.11.5
|
2016-04-12 06:56:46 +02:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=youtube_dl
|
2019-11-05 23:05:09 +01:00
|
|
|
PKG_HASH:=25324aab78df9a09b2ee34f642f116933134bc66ea629a778c1fffe05b66f733
|
2016-04-12 06:56:46 +02:00
|
|
|
|
2019-07-11 21:19:28 +02:00
|
|
|
PKG_MAINTAINER:=Adrian Panella <ianchi74@outlook.com>, Josef Schlehofer <pepe.schlehofer@gmail.com>
|
2016-04-12 06:56:46 +02:00
|
|
|
PKG_LICENSE:=Unlicense
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../../lang/python/pypi.mk
|
2016-04-12 06:56:46 +02:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2019-03-13 18:21:47 +01:00
|
|
|
include ../../lang/python/python3-package.mk
|
2016-04-12 06:56:46 +02:00
|
|
|
|
2019-07-03 21:01:19 +02:00
|
|
|
define Package/youtube-dl
|
2016-04-12 06:56:46 +02:00
|
|
|
SECTION:=multimedia
|
|
|
|
CATEGORY:=Multimedia
|
2019-03-13 18:21:47 +01:00
|
|
|
TITLE:=Utility to download videos from YouTube.com
|
|
|
|
URL:=https://yt-dl.org
|
2019-07-03 21:01:19 +02:00
|
|
|
DEPENDS:= \
|
|
|
|
+ca-certificates \
|
2019-06-29 17:21:27 +02:00
|
|
|
+python3 \
|
|
|
|
+python3-email \
|
|
|
|
+python3-xml \
|
|
|
|
+python3-codecs \
|
|
|
|
+python3-ctypes \
|
|
|
|
+python3-setuptools
|
2019-03-13 18:21:47 +01:00
|
|
|
VARIANT:=python3
|
2016-04-12 06:56:46 +02:00
|
|
|
endef
|
|
|
|
|
2019-07-03 21:01:19 +02:00
|
|
|
define Package/youtube-dl/description
|
|
|
|
youtube-dl is a small command-line program to download videos
|
|
|
|
from YouTube.com and other video sites.
|
|
|
|
It requires the Python3 interpreter.
|
|
|
|
endef
|
|
|
|
|
2019-03-13 18:21:47 +01:00
|
|
|
$(eval $(call Py3Package,youtube-dl))
|
2016-04-12 06:56:46 +02:00
|
|
|
$(eval $(call BuildPackage,youtube-dl))
|
2019-03-13 18:21:47 +01:00
|
|
|
$(eval $(call BuildPackage,youtube-dl-src))
|