mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-28 03:01:54 +08:00
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-3.0-only
|
|
#
|
|
# Copyright (C) 2020-2021 ImmortalWrt.org
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=you-get
|
|
PKG_VERSION:=0.4.1718
|
|
PKG_RELEASE:=2
|
|
|
|
PYPI_NAME:=you-get
|
|
PYPI_SOURCE_NAME:=you_get
|
|
PKG_HASH:=skip
|
|
|
|
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
|
|
|
|
define Package/you-get
|
|
SECTION:=multimedia
|
|
CATEGORY:=Multimedia
|
|
TITLE:=Dumb downloader that scrapes the web
|
|
URL:=https://you-get.org
|
|
DEPENDS:= \
|
|
+ca-certificates \
|
|
+ffmpeg \
|
|
+python3 \
|
|
+python3-xml \
|
|
+python3-codecs \
|
|
+python3-ctypes \
|
|
+python3-setuptools \
|
|
+python3-urllib
|
|
endef
|
|
|
|
define Package/you-get/description
|
|
You-Get is a tiny command-line utility to download
|
|
media contents (videos, audios, images) from the Web,
|
|
in case there is no other handy way to do it.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,you-get))
|
|
$(eval $(call BuildPackage,you-get))
|
|
$(eval $(call BuildPackage,you-get-src))
|