mirror of
https://github.com/kenzok8/openwrt-packages
synced 2025-01-08 11:17:27 +08:00
update 2023-07-16 02:01:06
This commit is contained in:
parent
44ff4f7cdd
commit
ee7f5d7030
@ -5,14 +5,14 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=UnblockNeteaseMusic
|
||||
PKG_BASE_VERSION:=0.27.2
|
||||
PKG_BASE_VERSION:=0.27.2-patch.2
|
||||
PKG_RELEASE:=$(AUTORELEASE)
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/UnblockNeteaseMusic/server.git
|
||||
PKG_SOURCE_DATE:=2022-10-09
|
||||
PKG_SOURCE_VERSION:=253dc89329ebd16ff22175d9d0ab9382ed8aaccc
|
||||
PKG_MIRROR_HASH:=030bab185e6fb3c64ca2a4fe384054cb877975aaa2e5829265cb1c84f0be1e46
|
||||
PKG_MIRROR_HASH:=2d53c77f5f68844cd511932b701dc880697cfdaa0ce40fbf2bf7658bbdedb374
|
||||
|
||||
PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION))
|
||||
|
||||
|
@ -7,13 +7,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=alist
|
||||
PKG_VERSION:=3.21.0
|
||||
PKG_WEB_VERSION:=3.20.0
|
||||
PKG_VERSION:=3.22.0
|
||||
PKG_WEB_VERSION:=3.22.0
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/alist-org/alist/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=a265b9c0ed662b52d442802f7dfd90fc1222e96132106a302da2c3f02cc12732
|
||||
PKG_HASH:=163b55c34f050c5220b1d8cc7eeff4d84da22a8dd980ec56348b996e8bff56b7
|
||||
|
||||
PKG_LICENSE:=GPL-3.0
|
||||
PKG_LICENSE_FILE:=LICENSE
|
||||
@ -23,7 +23,7 @@ define Download/$(PKG_NAME)-web
|
||||
FILE:=$(PKG_NAME)-web-$(PKG_WEB_VERSION).tar.gz
|
||||
URL_FILE:=dist.tar.gz
|
||||
URL:=https://github.com/alist-org/alist-web/releases/download/$(PKG_WEB_VERSION)/
|
||||
HASH:=4c97a04bbbac092f15ae475a30f61935a739617c50f2c520f54d08826694661e
|
||||
HASH:=aff30e21c90ec3a456ccb29b5bd09bbac8a90f6074b7851a7613f062e74dad45
|
||||
endef
|
||||
|
||||
PKG_BUILD_DEPENDS:=golang/host
|
||||
|
@ -106,7 +106,8 @@ start_service() {
|
||||
|
||||
local music_source
|
||||
config_get music_source "config" "music_source" "default"
|
||||
[ "${music_source}" != "default" ] && append_param -o "${music_source}"
|
||||
[ "$music_source" != "default" ] || music_source="kugou kuwo migu pyncmd"
|
||||
append_param -o "$music_source"
|
||||
|
||||
append_param_arg "config" "cnrelay" "-c"
|
||||
append_param_arg "config" "endpoint_url" "-e" "https://music.163.com"
|
||||
|
@ -99,6 +99,6 @@ case "$1" in
|
||||
rm -rf "$UNM_DIR/core" "$UNM_DIR/core_local_ver" "$LOCK"
|
||||
;;
|
||||
*)
|
||||
echo -e "Usage: $0/update.sh update_core | remove_core"
|
||||
echo -e "Usage: $0 update_core | remove_core"
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user