1ec3ebaedd04d17123c7e1b7031502bc2156e159
[feed/packages.git] / multimedia / yt-dlp / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=yt-dlp
4 PKG_VERSION:=2023.3.4
5 PKG_RELEASE:=1
6
7 PYPI_NAME:=yt-dlp
8 PKG_HASH:=265d5da97a76c15d7d9a4088a67b78acd5dcf6f8cfd8257c52f581ff996ff515
9
10 PKG_MAINTAINER:=Michal Vasilek <michal.vasilek@nic.cz>
11 PKG_LICENSE:=Unlicense
12 PKG_LICENSE_FILES:=LICENSE
13
14 include ../../lang/python/pypi.mk
15 include $(INCLUDE_DIR)/package.mk
16 include ../../lang/python/python3-package.mk
17
18 define Package/yt-dlp
19 SECTION:=multimedia
20 CATEGORY:=Multimedia
21 TITLE:=Utility to download videos from YouTube.com
22 URL:=https://github.com/yt-dlp/yt-dlp
23 PROVIDES:=youtube-dl
24 DEPENDS:= \
25 +ca-certificates \
26 +python3-asyncio \
27 +python3-codecs \
28 +python3-ctypes \
29 +python3-email \
30 +python3-openssl \
31 +python3-sqlite3 \
32 +python3-urllib \
33 +python3-xml
34 endef
35
36 define Package/yt-dlp/description
37 yt-dlp is a small command-line program to download videos
38 from YouTube.com and other video sites.
39 It requires the Python3 interpreter.
40 endef
41
42 $(eval $(call Py3Package,yt-dlp))
43 $(eval $(call BuildPackage,yt-dlp))
44 $(eval $(call BuildPackage,yt-dlp-src))