cloudreve: Update to 3.8.0
authorTianling Shen <cnsztl@immortalwrt.org>
Mon, 12 Jun 2023 19:36:41 +0000 (03:36 +0800)
committerTianling Shen <cnsztl@immortalwrt.org>
Wed, 14 Jun 2023 05:52:11 +0000 (13:52 +0800)
- Fixed packing web frontend assets
- Enabled build for riscv64

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 27e6796a832e76ac4eee30de2347ad47c085c7ed)
[removed unavailable riscv64 from supported arches]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
net/cloudreve/Makefile

index 21a1443b11a463ac477f0eabcde82d64475694e9..f326d121bb0132a26ecfe63fd02ce989d1e9e08e 100644 (file)
@@ -5,13 +5,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=cloudreve
-PKG_VERSION:=3.7.1
+PKG_VERSION:=3.8.0
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/cloudreve/Cloudreve.git
 PKG_SOURCE_VERSION:=$(PKG_VERSION)
-PKG_MIRROR_HASH:=b70601111e727d879a709884bc28237861216b99abac02b6f542f5984ddd8c0d
+PKG_MIRROR_HASH:=4c05afb2193ab83bf144d75963f4757c1445317e68b2690727375a8e01f7ba3d
 
 PKG_LICENSE:=GPL-3.0-only
 PKG_LICENSE_FILES:=LICENSE
@@ -48,6 +48,8 @@ define Build/Compile
                pushd $(PKG_BUILD_DIR)/assets ; \
                yarn install ; \
                yarn run build ; \
+               cd .. ; \
+               zip -r - assets/build > assets.zip ; \
                popd ; \
                $(call GoPackage/Build/Compile) ; \
        )