mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
UnblockNeteaseMusic: bump to latest git HEAD (#6935)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
ffc6bbe70e
commit
6f0e710582
@ -1,59 +1,57 @@
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2015-2020 OpenWrt.org
|
# Copyright (C) 2021 ImmortalWrt
|
||||||
|
# <https://immortalwrt.org>
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v3.
|
# This is free software, licensed under the GNU General Public License v3.
|
||||||
#
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=UnblockNeteaseMusic
|
PKG_NAME:=UnblockNeteaseMusic
|
||||||
PKG_VERSION:=0.25.3
|
PKG_BASE_VERSION:=0.25.3
|
||||||
PKG_RELEASE:=6
|
PKG_RELEASE:=7
|
||||||
|
|
||||||
PKG_LICENSE:=MIT
|
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/1715173329/UnblockNeteaseMusic.git
|
PKG_SOURCE_URL:=https://github.com/1715173329/UnblockNeteaseMusic.git
|
||||||
PKG_SOURCE_VERSION:=7fe969342c2a977f00a4a7b6a275ffae04ffffea
|
PKG_SOURCE_DATE:=2021-06-05
|
||||||
|
PKG_SOURCE_VERSION:=dc129707e96a5338eddac090ed4af9f0045604b5
|
||||||
|
PKG_MIRROR_HASH:=e99c784f20db0a48d46cd6b05050a6cf8d6a07b29011d1017b08727b40f66972
|
||||||
|
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
|
PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION))
|
||||||
PKG_SOURCE:=$(PKG_SOURCE_SUBDIR)-$(PKG_VERSION).tar.gz
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
|
PKG_LICENSE:=MIT
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_LICENSE_FILE:=LICENSE
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/$(PKG_NAME)
|
define Package/UnblockNeteaseMusic
|
||||||
SECTION:=net
|
SECTION:=multimedia
|
||||||
CATEGORY:=Network
|
CATEGORY:=Multimedia
|
||||||
TITLE:=Revive Netease Cloud Music (NodeJS)
|
TITLE:=Revive Netease Cloud Music (NodeJS)
|
||||||
DEPENDS:=+node
|
URL:=https://github.com/nondanee/UnblockNeteaseMusic
|
||||||
URL:=https://github.com/nondanee/UnblockNeteaseMusic/releases
|
DEPENDS:=+node +libopenssl
|
||||||
SUBMENU:=NeteaseMusic
|
PKGARCH:=all
|
||||||
PKGARCH:=all
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/description
|
|
||||||
Revive Netease Cloud Music (NodeJS)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
tar -xzvf $(DL_DIR)/$(PKG_SOURCE) -C $(PKG_BUILD_DIR)
|
mkdir -p $(PKG_BUILD_DIR)
|
||||||
mkdir -p $(PKG_BUILD_DIR)/$(PKG_NAME)
|
xzcat $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
|
||||||
echo -e $(PKG_VERSION) > $(PKG_BUILD_DIR)/$(PKG_NAME)/core_ver
|
|
||||||
echo -e $(PKG_SOURCE_VERSION) > $(PKG_BUILD_DIR)/$(PKG_NAME)/local_ver
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
|
echo -e $(PKG_BASE_VERSION) > $(PKG_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/core_ver
|
||||||
|
echo -e $(PKG_SOURCE_VERSION) > $(PKG_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/local_ver
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
true
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/install
|
define Package/UnblockNeteaseMusic/install
|
||||||
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)
|
$(INSTALL_DIR) $(1)/usr/share/UnblockNeteaseMusic
|
||||||
cp -pR $(PKG_BUILD_DIR)/$(PKG_NAME)/* $(1)/usr/share/$(PKG_NAME)
|
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/* $(1)/usr/share/UnblockNeteaseMusic
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
$(eval $(call BuildPackage,UnblockNeteaseMusic))
|
||||||
|
Loading…
Reference in New Issue
Block a user