Merge pull request #12516 from rozhuk-im/fbsd_build
[feed/packages.git] / multimedia / youtube-dl / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=youtube-dl
11 PKG_VERSION:=2020.6.16.1
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=youtube_dl
15 PKG_HASH:=9fc0389a1bbbeb609a5bb4ad5630dea107a9d1a24c73721c611a78c234309a75
16
17 PKG_MAINTAINER:=Adrian Panella <ianchi74@outlook.com>, Josef Schlehofer <pepe.schlehofer@gmail.com>
18 PKG_LICENSE:=Unlicense
19 PKG_LICENSE_FILES:=LICENSE
20
21 include ../../lang/python/pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../../lang/python/python3-package.mk
24
25 define Package/youtube-dl
26 SECTION:=multimedia
27 CATEGORY:=Multimedia
28 TITLE:=Utility to download videos from YouTube.com
29 URL:=https://yt-dl.org
30 DEPENDS:= \
31 +ca-certificates \
32 +python3 \
33 +python3-email \
34 +python3-xml \
35 +python3-codecs \
36 +python3-ctypes \
37 +python3-setuptools
38 endef
39
40 define Package/youtube-dl/description
41 youtube-dl is a small command-line program to download videos
42 from YouTube.com and other video sites.
43 It requires the Python3 interpreter.
44 endef
45
46 $(eval $(call Py3Package,youtube-dl))
47 $(eval $(call BuildPackage,youtube-dl))
48 $(eval $(call BuildPackage,youtube-dl-src))