re-enable smalltalk/cog-spur
[oi-userland.git] / components / multimedia / yt-dlp / Makefile
blob2ba2d173f1489d9d8fd96b5bfcf6ae78056cfaf9
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project -d multimedia/yt-dlp yt_dlp
17 BUILD_STYLE = pyproject
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = yt_dlp
22 HUMAN_VERSION = 2025.1.15
23 COMPONENT_SUMMARY = A feature-rich command-line audio/video downloader
24 COMPONENT_ARCHIVE_HASH = \
25 sha256:e8ec515d49bb62704915d13a22ee6fe03a5658d651e4e64574e3a17ee01f6e3b
26 COMPONENT_LICENSE = Unlicense
27 COMPONENT_LICENSE_FILE = LICENSE
29 COMPONENT_FMRI = multimedia/yt-dlp
30 COMPONENT_CLASSIFICATION = Applications/Sound and Video
32 # This is a standalone application. Since no other Python project depends on
33 # it we just provide single unversioned package.
34 SINGLE_PYTHON_VERSION = yes
36 include $(WS_MAKE_RULES)/common.mk
39 # Add optional runtime dependencies. Technically, we do not need all of them
40 # because only subset is strongly recommended but it is easier to add all of
41 # them than to maintain the list of the strongly recommended.
43 # See also https://github.com/yt-dlp/yt-dlp/pull/11255
45 COMPONENT_POST_INSTALL_ACTION += \
46 PYTHONPATH=$(PROTO_DIR)/$(PYTHON_DIR)/site-packages:$(PROTO_DIR)/$(PYTHON_LIB) \
47 $(PYTHON) $(WS_TOOLS)/python-requires $(COMPONENT_NAME) default >> $(@D)/.depend-runtime ;
49 # Auto-generated dependencies
50 PYTHON_REQUIRED_PACKAGES += library/python/brotli
51 PYTHON_REQUIRED_PACKAGES += library/python/certifi
52 PYTHON_REQUIRED_PACKAGES += library/python/hatchling
53 PYTHON_REQUIRED_PACKAGES += library/python/mutagen
54 PYTHON_REQUIRED_PACKAGES += library/python/pycryptodomex
55 PYTHON_REQUIRED_PACKAGES += library/python/requests
56 PYTHON_REQUIRED_PACKAGES += library/python/urllib3
57 PYTHON_REQUIRED_PACKAGES += library/python/websockets
58 PYTHON_REQUIRED_PACKAGES += runtime/python
59 TEST_REQUIRED_PACKAGES.python += library/python/pytest