op-packages/ykdl/Makefile
github-actions[bot] 3ff5490518 🚀 Sync 2026-06-04 16:57:28
2026-06-04 16:57:28 +08:00

41 lines
904 B
Makefile

# SPDX-License-Identifier: GPL-3.0-only
#
# Copyright (C) 2020-2021 ImmortalWrt.org
include $(TOPDIR)/rules.mk
PKG_NAME:=ykdl
PKG_VERSION:=1.8.2
PKG_RELEASE:=2
PYPI_NAME:=ykdl
PKG_HASH:=skip
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
define Package/ykdl
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=a video downloader focus on China mainland video sites
URL:=https://github.com/SeaHOH/ykdl
DEPENDS:= \
+ca-certificates \
+ffmpeg \
+python3 \
+python3-xml \
+python3-codecs \
+python3-ctypes \
+python3-setuptools \
+python3-urllib
endef
$(eval $(call Py3Package,ykdl))
$(eval $(call BuildPackage,ykdl))
$(eval $(call BuildPackage,ykdl-src))